GET/api/v1/get-tokens

Get a vault's token balances

Returns the token balances held in one vault, each with the token's decimals, supply figures, and whether this vault owns the token contract.

AccessRequires a permission in the workspaceVIEW_BALANCES

Each entry is a TokenBalance, documented under Shared objects. balance, total_supply, and max_supply are raw units, already scaled by the token's decimals, and owned is true when this vault owns the token contract, which is what allows it to mint and burn.

Note the capitalised key: the array comes back as Tokens, not tokens. For the same figures across every vault in the workspace, with per-token totals, use GET /api/v1/get-workspace-balances. For the token records behind these holdings, use GET /api/v1/contracts.

Query parameters
vault_idstringrequired
The vault whose token balances to show.
workspace_idnumberrequired
The workspace the vault belongs to. You must hold VIEW_BALANCES in it.