eth-get-txs-info-by-hashes

Returns transactions and transfers on Ethereum: sender address, annotation, to address, hash, amount, transaction hash, receiver address and 4 more fields.

By gaurav · saved 7 April 2025 · run 1 time · Bitquery API v1

What it returns

The query

query get_txs_info_by_hashes($hashes: [String!]) {
  ethereum(network: ethereum) {
    transactions(txHash: {in: $hashes}) {
      sender {
        address
        annotation
      }
      to {
        address
        annotation
      }
      hash
      amount
      amount_usd: amount(in: USD)
    }
    transfers(txHash: {in: $hashes}) {
      transaction {
        hash
      }
      receiver {
        address
      }
      sender {
        address
      }
      currency {
        name
        symbol
        decimals
      }
      gasValue
      gasValue_usd: gasValue(in: USD)
      value: amount
      value_usd: amount(in: USD)
    }
  }
}

Similar queries