Latest Smart Contract Calls

Returns the latest call on Arbitrum, where call from is 0x82af…bab1, currency smart contract is 0x82af…bab1 and block date since 2023-09-19: chain ID, block time, block number, count, sender fee, sender fee in USD, to and 8 more fields.

By Nadia · saved 18 February 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Calls(
      where: {Block: {Date: {since: $from, till: $till}}, Call: {From: {is: $address}}}
      limit: {count: $limit}
      orderBy: {descending: Block_Time}
    ) {
      ChainId
      Block {
        Time
        Number
      }
      count
      Fee {
        SenderFee
        SenderFeeInUSD
      }
      Call {
        To
        Value
        Signature {
          Name
          Signature
          SignatureHash
        }
      }
      Transaction {
        Hash
      }
    }
    token_info: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $address}}, Success: true}}
      limit: {count: 1}
    ) {
      Transfer {
        Currency {
          Symbol
          SmartContract
          Name
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "arbitrum",
  "address": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
  "from": "2023-09-19",
  "till": "2023-09-20"
}

Similar queries