Latest Transactions

Returns the latest call on Ethereum, where call to is 0xdac1…1ec7, currency smart contract is 0xdac1…1ec7 and block date since 2023-08-07: chain ID, block time, block number, transaction hash, sum of fee sender fee, from, call value and 6 more fields.

By Nadia · saved 17 January 2024 · run 17 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: {Call: {To: {is: $address}}, Block: {Date: {since: $from, till: $till}}}
      limit: {count: $limit}
      orderBy: {descending: Block_Time}
    ) {
      ChainId
      Block {
        Time
        Number
      }
      Transaction {
        Hash
      }
      sum(of: Fee_SenderFee)
      Call {
        From
        Value
        Signature {
          Name
          Signature
          SignatureHash
        }
      }
    }
    Transfers(
      limit: {count: 1}
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "eth",
  "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "from": "2023-08-07",
  "till": "2023-08-07"
}

Similar queries