All incoming / Outgoing transfers for a given address on BSC

Returns 5000 transfers on Ethereum and BNB Chain, where receiver is 0xBeDD…6006 and sender is 0xBeDD…6006: currency symbol, token ID, token type, currency name, decimals, currency address, receiver address and 9 more fields.

By gaurav · saved 13 October 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $network: EthereumNetwork!, $limit: Int!, $offset: Int!, $since: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    in: transfers(
      receiver: {is: $address}
      options: {limit: $limit, offset: $offset}
      date: {since: $since, till: $till}
      external: false
    ) {
      currency(currency: {is: "BNB"}) {
        symbol
        tokenId
        tokenType
        name
        decimals
        address
      }
      receiver {
        address
      }
      sender {
        address
      }
      amount
      block {
        height
        timestamp {
          iso8601
        }
      }
      transaction {
        txFrom {
          address
          annotation
        }
        gas
        hash
      }
      external
    }
    out: transfers(
      sender: {is: $address}
      options: {limit: $limit, offset: $offset}
      date: {since: $since, till: $till}
      external: false
    ) {
      currency(currency: {is: "BNB"}) {
        symbol
        tokenId
        tokenType
        name
        decimals
        address
      }
      receiver {
        address
      }
      sender {
        address
      }
      amount
      block {
        height
        timestamp {
          iso8601
        }
      }
      transaction {
        txFrom {
          address
          annotation
        }
        gas
        hash
      }
      external
    }
  }
}

Variables

{
  "network": "bsc",
  "address": "0xBeDD9084Cec28E7836fF469E8ADF49086A546006",
  "limit": 5000,
  "offset": 0,
  "since": null,
  "till": null,
  "dateFormat": "%Y-%m-%d"
}

Similar queries