Skip to main content

Endpoint

Deposits are not recorded through a manual endpoint. A user funds their Spice account through the deposit flow (the SpiceDeposit component, or the escrow-deposit path of a POST /actions intent), and the balance below reflects the result. There is no POST /spicedeposit.

GET /wallets/:address/balance

Returns the account’s receipt-token balances from Spicenet settlements. These are distinct from the owner’s EVM wallet token balances. This endpoint alone is not the SDK’s combined available Cash view.

Path Parameters

Query Parameters

Response

Success (200)
Each entry identifies a receipt token, its mapped chainTokens, decimals, reservation-adjusted balanceAvailable and associated withdrawal requests. Preserve the receipt’s own raw units and identity; do not infer its decimals or dollar value from a wallet-token symbol. The sample uses empty arrays to omit mapping and withdrawal details.

Example

Use useSpiceInventory for canonical wallet and receipt positions and the SDK action controllers for spendable funding. fetchBalances / useWalletBalances read EVM wallet inventory and are not aliases for this account-receipt endpoint. All reads and execution must use matching provider configuration.