getMultichainBalances
function.
This function fetches cryptocurrency and token balances for wallet addresses across different chains, networks and addresses specified in the request.
Parameter | Type | Description |
---|---|---|
balanceRequest | MultichainAccountBalancesRequest | The balance request configuration |
Parameter | Type | Required | Description |
---|---|---|---|
filterSpamTokens | Boolean | No | Filter out spam tokens (default: true) |
balanceRequests | Array | Yes | Array of balance request objects |
Parameter | Type | Required | Description |
---|---|---|---|
address | String | Yes | The wallet address |
chain | ChainEnum | Yes | Chain type (EVM, SOL, BTC, etc.) |
networkIds | Array<Number> | Yes | Array of network IDs to query |
whitelistedContracts | Array<String> | No | Contract addresses to not filter out |
chainBalances
- an array of chain balance objects organized by chain and network.