Copy of New Query

Returns address details and address stats on Ethereum, Algorand, Bitcoin, Cardano and conflux_hydra, where address is 0xc02a…6cc2, address is Usd and argindex is Usd: annotation, address, contract type, currency symbol, currency name, decimals, token type and 31 more fields.

By Noel Portillo · saved 7 November 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!) {
  ethereum(network: $network) {
    address(address: {is: $address, in: ""}) {
      annotation
      address
      smartContract {
        contractType
        currency {
          symbol
          name
          decimals
          tokenType
        }
        protocolType
      }
      balance(in: USD)
    }
    addressStats(address: {in: "Usd"}) {
      address {
        balance
        callTxCount
        daysWithSent
        calledTxCount
        daysWithReceived
        daysWithTransactions
        daysWithTransfers
        feeAmount
        otherTxCount
        receiveFromCount
        receiveAmount
        receiveFromCurrencies
        receiveTxCount
        sendAmount
        sendToCount
        sendToCurrencies
        sendTxCount
      }
    }
    arguments(external: true, signatureType: Function) {
      date {
        date
      }
      maximum(of: date, signatureType: Function)
      smartContractSignature(signatureType: Function)
      success(success: true)
    }
    blocks(options: {})
  }
  algorand(network: algorand) {
    arguments(argindex: {in: "Usd"}, argument: {in: "Usd"}) {
      block {
        height
      }
    }
    blocks(blockHash: {in: "Usd"})
  }
  binance {
    blocks(blockId: {in: "Usd"})
  }
  bitcoin(network: bitcoin) {
    blocks(
      transactionCount: {between: 10, gt: 10, gteq: 10, is: 10, lt: 10, in: 10, lteq: 10, not: 10, notIn: 10}
      time: {after: "", before: "", between: "", in: "", is: "", not: "", notIn: ""}
    )
  }
  cardano(network: cardano) {
    blocks(
      any: {blockHash: {in: "", is: "", not: "", notIn: ""}, blockSize: {between: 10, gt: 10, gteq: 10, in: 10, is: 10, lt: 10, lteq: 10}, blockVersion: {between: 10, gt: 10, gteq: 10, in: 10, lt: 10, is: 10, lteq: 10, not: 10, notIn: 10}, date: {after: "", before: "", between: "", in: "", is: "", not: "", notIn: "", since: "", till: ""}}
    )
  }
  conflux(network: conflux_hydra) {
    activeAddresses {
      count(uniq: address, currency: {in: "", is: ""}, external: true)
      countBigInt(uniq: address, external: true, success: true)
    }
    address {
      address
      balance
      annotation
      balances(currency: {in: "Usa"})
      smartContract {
        contractType
        protocolType
      }
    }
    arguments(external: true) {
      any(of: signature, signatureType: Function)
      block {
        timestamp {
          year
        }
        height
      }
      callDepth
      count(signatureType: Function, uniq: signatures)
      countBigInt
      expression(get: "")
      external(external: true)
      maximum(of: date, get: date, external: true)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
}

Similar queries