fetch transfers sum via txn hash

Returns 10 transfers on Ethereum and Polygon, where tx hash is 0x70ed…b32b and amount is above 0: amount, currency symbol and currency address.

By Arun · saved 3 January 2023 · run 6 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $hash: String!, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    transfers(
      options: {limit: $limit, offset: $offset}
      amount: {gt: 0}
      txHash: {is: $hash}
    ) {
      amount(calculate: sum)
      currency {
        symbol
        address
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "matic",
  "hash": "0x70ed032172b0cef3374fa51a087b5a55d42178127e7f5ecc5caf0c47d98fb32b"
}

Similar queries