Query mining tx

Returns 10 transfers on Ethereum, where tx hash is 0x470d…3b21 and amount is above 0: block height, timestamp time, sender address, annotation, receiver address, amount, currency symbol and 3 more fields.

By Aleksey · saved 26 September 2023 · 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}
    ) {
      block {
        height
        timestamp {
          time
        }
      }
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      amount_usd: amount(in: USD)
      currency {
        symbol
        address
      }
      external
      success
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "hash": "0x470d37b38d4eb8cb073e4d9ba5386bce09d8fceb408e4372abd046fbc3663b21"
}

Similar queries