Transaction Data USDM

Returns the latest call on Arbitrum, where call to is 0x59D9…508C, currency smart contract is 0x59D9…508C and block date since 2024-07-10: chain ID, block time, block number, transaction hash, sum of fee sender fee, from, call value and 6 more fields.

By Abhishek Tripathi · saved 17 July 2024 · 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: 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":"arbitrum","address":"0x59D9356E565Ab3A36dD77763Fc0d87fEaf85508C","from":"2024-07-10","till":"2024-07-17","dateFormat":"%Y-%m-%d","date_middle":"2024-07-13"}

Similar queries