Wallet Portfolio Snapshot
A 2-step recipe with Ankr. We can help you get access.
Recipe · 2 steps
Wallet Portfolio Snapshot
with Ankr
Pull a wallet's balances and then its token transfer history.
- Retrieve the native and ERC-20 balances held by the wallet across the supplied chains, including USD valuation.
- Retrieve the ERC-20 transfer history for the same wallet over the supplied block window.
What you'll need to have ready
- walletAddress: The wallet address to inspect (0x-prefixed EVM address).
- blockchain: One or more chain names (e.g. ["eth","polygon"]).
- onlyWhitelisted: Restrict balances to whitelisted tokens only.
- fromBlock: First block of the transfer history window.
- toBlock: Last block of the transfer history window.
- pageSize: Maximum number of transfers to return per page.
For your developer
Arazzo workflow ankr:wallet-portfolio-snapshot, 2 operations: ankrGetAccountBalance → ankrGetTokenTransfers. Specs on APIs.io.