Transactions

Returns the latest 10 transactions on Ethereum, where transaction from is 0xcf52…00e1, block date since 2023-07-25 and block date till 2023-07-25: count, chain ID, block time, block number, sum of fee sender fee, transaction hash, to and success.

By Nadia · saved 7 September 2023 · 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) {
    Transactions(
      where: {Block: {Date: {since: $from, till: $till}}, Transaction: {From: {is: $address}}}
      orderBy: {descending: Block_Time}
      limit: {count: $limit}
    ) {
      count
      ChainId
      Block {
        Time
        Number
      }
      gas_cost: sum(of: Fee_SenderFee)
      Transaction {
        Hash
        To
      }
      TransactionStatus {
        Success
      }
    }
  }
}

Variables

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

Similar queries