gasValue- internal transfers in Tx

Returns 10 transfers on Ethereum, where tx hash is 0xa4e7…dc31 and amount is above 0: sender address, annotation, receiver address, amount, currency symbol, currency address, external and success.

By Divyasshree N · saved 27 June 2023 · run 4 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}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      amount_usd: amount(in: USD)
      currency {
        symbol
        address
      }
      external
      success
      ...TransactionFields
    }
  }
}

fragment TransactionFields on EthereumTransfers {
  transaction {
    hash
    gas
    gasPrice
  }
  block {
    timestamp {
      iso8601
    }
    height
  }
  gasValueETH: gasValue(in: ETH)
  gasValueUSD: gasValue(in: USD)
  amountUSD: amount(in: USD)
  amountETH: amount(in: ETH)
  receiver {
    address
  }
  sender {
    address
  }
}

Variables

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

Similar queries