Get transaction by hash

Returns transactions, where transaction hash is 0x81d4…7cd2: block time, block number, nonce, block hash, call count, cost, cost in USD and 14 more fields.

By gaurav · saved 11 June 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM {
    Transactions(
      where: {Transaction: {Hash: {is: "0x81d4dec79eeb9af6de8eca3d80f02612e3f18ffa8c6eb1ee66c7907d63f77cd2"}}}
    ) {
      Block {
        Time
        Number
        Nonce
        Hash
      }
      Transaction {
        CallCount
        Cost
        CostInUSD
        Data
        From
        Gas
        GasFeeCap
        GasPrice
        GasPriceInUSD
        GasTipCap
        Hash
        Index
        Nonce
        Protected
        To
        Type
        Value
        ValueInUSD
      }
    }
  }
}

Similar queries