Transaction Attributes

Returns transactions and transfers on Ethereum, where transaction hash is 0x42c8…a7ae: chain ID, block number, block time, gas used, sender fee, transaction hash, from and 6 more fields.

By Nadia · saved 31 July 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $hash: String) {
  EVM(dataset: combined, network: $network) {
    Transactions(where: {Transaction: {Hash: {is: $hash}}}) {
      ChainId
      Block {
        Number
        Time
        GasUsed
      }
      Fee {
        SenderFee
      }
      Transaction {
        Hash
        From
        To
        Value
      }
    }
    Transfers(where: {Transaction: {Hash: {is: $hash}}}) {
      Transfer {
        Amount
        Currency {
          SmartContract
          Symbol
        }
      }
      TransactionStatus {
        Success
      }
    }
  }
}

Variables

{
  "network": "eth",
  "hash": "0x42c84ae92884bfec73f9c04a75daee32c76ac9d72b98ee48f5b9b59b61afa7ae"
}

Similar queries