Skip to main content
GET
Returns everything a client needs to build and sign an order for this book: the security’s live registration state, the exact EIP-712 domain and type definitions the custody contract expects, and, when you name a wallet, that wallet’s tradable balances and its settlement asset allowance. Use it before Prepare Order if you want to build the typed data yourself, and to show a trader what they can actually trade.

Path Parameters

string
required
Order book ID.

Query Parameters

string
Wallet to report balances for. Omit for the registration and domain data only.

Response Fields

object

Reading the balances

onChainAvailable is what the contract reports. reserved is what this venue has committed to the wallet’s own resting orders. available is the difference, and is the number an order is checked against. For the settlement asset, the contract’s available figure is already the lesser of balance and allowance, so a wallet with plenty of tokens but no approval reads as zero. Raise it with Approve Settlement Asset.
A balance read that fails answers with zeros rather than an error. Treat an unexpected zero as suspect if the wallet is known to be funded, and check Get Trade Readiness, which does surface a chain failure explicitly.

Error Codes