Get historical ERC20 token transfers by wallet bsc

Historical data This query already reads history - it uses the archive dataset, which needs the historical data add-on for this chain. Without the add-on it fails with 'access restricted: your plan only allows realtime'. Drop the dataset argument to fall back to the recent window. Datasets: https:/

By Kshitij Mahajan · saved 23 June 2026 · run 6 times · Bitquery API v2

What it returns

Filters

The query

# Historical data
#   This query already reads history - it uses the archive dataset, which
#   needs the historical data add-on for this chain.
#
#   Without the add-on it fails with 'access restricted: your plan only allows
#   realtime'. Drop the dataset argument to fall back to the recent window.
#
# Datasets:  https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#

query MyQuery {
  EVM(network: bsc dataset: archive) {
    Transfers(
      where: {
        Block: {Date: {till_relative: {months_ago: 2} since_relative: {months_ago: 3}}}
        any: [{Transfer: {Sender: {is: "0xe44d996ff1c6d9720c13c45431e665afa9f88888"}}}, {Transfer: {Receiver: {is: "0xe44d996ff1c6d9720c13c45431e665afa9f88888"}}}], 
        Transfer: {Currency: {Native: false, Fungible: true}, Amount: {gt: "0"}}
      }
      orderBy: {descending: Block_Number}
      limit: {count: 100}
    ) {
      Transaction {
        Hash
      }
      Transfer {
        Amount
        Sender
        Receiver
        Currency {
          Symbol
          Name
        }
      }
    }
  }
}

Similar queries