GasValue not reported for ERC-20 txs

Returns 20000 transfers on Ethereum, where sender is 0x4f70…8F77, receiver is 0x4f70…8F77 and date since 2019-01-01: amount, currency name, currency symbol, token type, currency address, transaction hash, gas price and 4 more fields.

By pablo · saved 9 August 2022 · run 9 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    sent: transfers(
      sender: {is: "0x4f702E509D41D388694B96cf3F9a2d2bF3cF8F77"}
      date: {since: "2019-01-01", till: "2022-08-08"}
      options: {limit: 20000}
    ) {
      amount
      amount_in_usd: amount(in: USD)
      currency(currency: {not: "ETH"}) {
        name
        symbol
        tokenType
        address
      }
      transaction {
        hash
        gasPrice
        gas
      }
      block {
        timestamp {
          unixtime
        }
      }
      receiver: receiver {
        address
      }
      gasValue
    }
    received: transfers(
      receiver: {is: "0x4f702E509D41D388694B96cf3F9a2d2bF3cF8F77"}
      date: {since: "2019-01-01", till: "2022-08-08"}
      options: {limit: 20000}
    ) {
      amount
      amount_in_usd: amount(in: USD)
      currency(currency: {not: "ETH"}) {
        name
        symbol
        tokenType
        address
      }
      transaction {
        hash
        gasPrice
        gas
      }
      block {
        timestamp {
          unixtime
        }
      }
      receiver: receiver {
        address
      }
      gasValue
    }
  }
}

Similar queries