Get ERC20 token transfers by wallet

Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(network: eth, dataset: combined) archive full history combined archive + realtime in one result Ar

By Kshitij Mahajan · saved 24 June 2026 · run 40 times · Bitquery API v2

What it returns

The query

# Historical data
#   This query uses the realtime dataset (the default), which holds only a
#   recent window - hours to days depending on the cube.
#
#   For older data add a dataset to the top-level element:
#
#     EVM(network: eth, dataset: combined)
#
#     archive   full history
#     combined  archive + realtime in one result
#
#   Archive and combined need the historical data add-on:
#   https://bitquery.io/pricing
#
# Datasets:  https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
# For more info on the endpoint visit -
# https://docs.bitquery.io/docs/blockchain/Ethereum/transfers/erc20-token-
# transfer-api/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/

{
  EVM(network: eth) {
    Transfers(
      orderBy: { descending: Block_Time }
      limit: { count: 50 }
      where: {
        
        Transfer: { Success: true }
      }
    ) {
      Block {
        Time
        Number
        Hash
      }
      Transaction {
        Hash
        From
        To
        Value
        Type
        GasPrice
        Gas
        Cost
        Index
      }
      TransactionStatus {
        Success
      }
      Transfer {
        Amount
        AmountInUSD
        Sender
        Receiver
        Currency {
          Name
          Symbol
          SmartContract
          Decimals
          Fungible
          Native
          ProtocolName
        }
        Data
        Id
        Index
        Success
        Type
        URI
      }
      Call {
        From
        To
        Value
        Index
        Signature {
          Name
          Signature
        }
      }
      Log {
        SmartContract
        Index
        LogAfterCallIndex
        Signature {
          Name
          Signature
        }
      }
    }
  }
}

Similar queries