zeroGas example

Returns one transfer on Ethereum, where sender is 0x4dc9…469a: currency address, currency name and token type.

By Ivan · saved 24 June 2023 · run 11 times · Bitquery API v1

What it returns

Filters

The query

 query GetAllTransfers($address: String!, $limit: Int, $offset: Int) {
        outgoing: ethereum(network: ethereum) {
          transfers(sender: {is: $address}, options: {limit: $limit, offset: $offset}) {
            ...TransactionFields
            currency {
              address
              name
              tokenType
            }
          }
        }
        incoming: ethereum(network: ethereum) {
          transfers(sender: {is: $address}, options: {limit: $limit, offset: $offset}) {
            ...TransactionFields
            currency {
              address
              name
              tokenType
            }
          }
        }
      }
      
      fragment TransactionFields on EthereumTransfers {
        transaction {
          hash
          gas
          gasPrice
        }
        gasValueETH: gasValue(in: ETH)
        gasValueUSD: gasValue(in: USD)
        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

{
  "address": "0x4dc99eb43c986c9abd966c5c6a11f68d0c86469a",
  "limit": 1,
  "offset": 2000
}

Similar queries