Latest Smart Contract Calls

Returns the latest call on Ethereum, where call from is 0xf61f…d6dc, currency smart contract is 0xf61f…d6dc and block date since 2025-04-17: chain ID, block time, block number, count, sender fee, sender fee in USD, to and 8 more fields.

By Nadia · saved 24 April 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String!, $from: String, $till: String) {
  EVM(dataset: realtime, 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,
  "offset": 0,
  "network": "eth",
  "address": "0xf61f24c2d93bf2de187546b14425bf631f28d6dc",
  "from": "2025-04-17",
  "till": "2025-04-24",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2025-04-20"
}

Similar queries