Market Data
Get Custody Balance
Read a wallet’s balance inside the commodity custody contract
GET
Returns what one wallet holds of one token inside a custody contract, split into what is free and what is committed to resting orders.
Amounts are on-chain base units in the token’s own decimals, not order book units. Convert before comparing against an order’s
quantity or price.
The contract is read live. If the read fails, the endpoint answers with zeros rather than an error, so a zero balance and an unreachable node look alike. Treat a sudden zero as suspect if the wallet was funded.
Path Parameters
string
required
Custody contract address, resolved from your instance’s network.
string
required
Wallet to read.
string
required
Token to read. Either side of a pair.
Response Fields
object
