Transactions

Returns 10 transactions on Ethereum, where block number is 21843242, sorted by transaction index: chain ID, from, to, transaction hash, transaction index, transaction value, value in USD and 9 more fields.

By Nadia · saved 14 February 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $height: [String!], $limit: Int) {
  EVM(dataset: combined, network: $network) {
    Transactions(
      where: {Block: {Number: {in: $height}}}
      limit: {count: $limit}
      orderBy: {ascending: Transaction_Index}
    ) {
      ChainId
      Transaction {
        From
        To
        Hash
        Index
        Value
        ValueInUSD
        Cost
        CostInUSD
        GasPrice
        GasPriceInUSD
      }
      Fee {
        SenderFee
        SenderFeeInUSD
        Burnt
        BurntInUSD
      }
      TransactionStatus {
        Success
      }
    }
  }
}

Variables

{
  "offset": 0,
  "height": "21843242",
  "network": "eth",
  "limit": 10
}

Similar queries