Get token balances for a wallet
problee_get_balanceRetrieve collateral balances for a wallet on a specified chain. Returns PM balance by default; use include='all' to get all active supported collateral balances.
Instructions
Get collateral balances for a wallet (PM by default; include="all" returns every active supported collateral on the chain). Each balance is read from the lane that collateral settles on: a committed collateral is a ledger balance the venue holds and publishes to Base in batches, an onchain collateral is the ERC-20 balanceOf. Balances are raw integer strings in each collateral's native decimals — divide by 10^decimals for the human-readable amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | No | Active chain to query. Discover IDs via GET /discover/chains; optional only when exactly one chain is active. | |
| include | No | default returns the PM balance only. all returns every active supported collateral on the chain. | |
| walletAddress | Yes | Wallet to check (0x + 40 hex). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |