Copy of Daily Smart Contract Calls

Returns the latest call on BNB Chain, where call to is 0x1c92…5d8b and currency smart contract is 0x1c92…5d8b: chain ID, block date, count, unique of transaction hash, unique of call from, unique of call to, sum of call value and 3 more fields.

By Alexsio nau · saved 31 May 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  EVM(dataset: combined, network: $network) {
    Calls(where: {Call: {To: {is: $address}}}, orderBy: {descending: Block_Date}) {
      ChainId
      Block {
        Date
      }
      internal_count: count(if: {Call: {Depth: {gt: 0}}})
      external_count: count(if: {Call: {Depth: {eq: 0}}})
      tx_count: uniq(of: Transaction_Hash)
      uniq_senders: uniq(of: Call_From)
      uniq_receiver: uniq(of: Call_To)
      call_value: sum(of: Call_Value)
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{"network":"bsc","address":"0x1c929029aa8e69f3f7053bfc2460be4bd8055d8b","mempool":false}

Similar queries