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 user’s Spice (off-chain) balances: what they have deposited into escrow and can spend on gasless actions. This is the server ledger, not on-chain wallet balances.

Path Parameters

Query Parameters

Response

Success (200)
Each entry is one balance line; amount is a string in the token’s base units.

Example

The SDK exposes this through useSpiceAssets and the exported fetchBalances / useWalletBalances helpers, which honour the configured apiUrl. Prefer those over calling the endpoint directly.