Transfer_VS_transaction

Returns transactions and transfers on Ethereum, where tx hash is 0xe2d1…318d: sender address, annotation, to address, hash, amount, transaction hash, receiver address and 7 more fields.

By George · saved 3 April 2024 · run 6 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    transactions(
      txHash: {is: "0xe2d1a57618284c3a7ac5372e1ff4697740fbe4d11b04e7fd8070f25f66ab318d"}
    ) {
      sender {
        address
        annotation
      }
      to {
        address
        annotation
      }
      hash
      amount
      amount_usd: amount(in: USD)
    }
    transfers(
      txHash: {is: "0xe2d1a57618284c3a7ac5372e1ff4697740fbe4d11b04e7fd8070f25f66ab318d"}
    ) {
      transaction {
        hash
      }
      receiver {
        address
      }
      sender {
        address
      }
      currency {
        name
        symbol
        decimals
        address
        tokenId
        tokenType
      }
      gasValue
      gasValue_usd: gasValue(in: USD)
      value: amount
      value_usd: amount(in: USD)
    }
  }
}

Similar queries