Avalanche_

Returns 25 transfers on Ethereum and Avalanche, where receiver is 0x8fd2…6976 and sender is 0x8fd2…6976, sorted by transaction hash: transaction hash, tx from address, gas, gas price, gas value, success, receiver address and 2 more fields.

By Omkar_BQ · saved 31 January 2024 · run 12 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $orderby: [String!], $address: String!, $startblockheight: Int!, $endblockheight: Int!, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    intransfers: transfers(
      options: {asc: $orderby, limit: $limit, offset: $offset}
      receiver: {is: $address}
      height: {gteq: $startblockheight, lteq: $endblockheight}
    ) {
      transaction {
        hash
        txFrom {
          address
        }
        gas
        gasPrice
        gasValue
      }
      success
      receiver {
        address
        annotation
      }
      block {
        height
      }
    }
    outtransfers: transfers(
      options: {asc: $orderby, limit: $limit, offset: $offset}
      sender: {is: $address}
      height: {gteq: $startblockheight, lteq: $endblockheight}
    ) {
      transaction {
        hash
        txFrom {
          address
        }
        gas
        gasPrice
        gasValue
      }
      success
      receiver {
        address
        annotation
      }
      block {
        height
      }
    }
  }
}

Variables

{ "network": "avalanche", "address": "0x8fd24071d382e49a651bb55daaa9abed55316976", "startblockheight": 41000229, "endblockheight": 41000857, "limit": 25, "offset": 0, "orderby": "transaction.hash" }

Similar queries