Token API

List ERC-20 token transfers involving one or more wallets

Returns ERC-20 transfer events in which the specified wallet(s) appear as sender or recipient. Each entry includes contract address, token symbol, decimals, raw + normalized values, block height, and timestamp.

Pass an address array (single or multiple wallets). Scope by blockchain, block range (fromBlock / toBlock), or wall-clock range (fromTimestamp / toTimestamp). Paginate with pageSize (default 100, max 10000) and pageToken.

Part of the Token API product (700 compute units per call, $0.00007 at base rate).

post/?ankr_getTokenTransfers

Request

Request body

idinteger required

Client-supplied request ID echoed in the response.

jsonrpc'2.0' required
method'ankr_getTokenTransfers' required

Example request

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "ankr_getTokenTransfers",
  "params": {
    "address": [
      "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
    ],
    "blockchain": [
      "eth",
      "bsc"
    ],
    "fromTimestamp": 1655197483,
    "toTimestamp": 1671974699
  }
}

Response

Success. JSON-RPC result envelope contains the transfers array and pagination cursor. JSON-RPC errors are returned with HTTP 200; check the response body for an error key.

idinteger required
jsonrpc'2.0' required

Changes

No recorded changes to this operation across all 1 revision of this API.