Read Functions
This section covers the read functions available in the Exponent SDK. These functions allow you to query the orderbook state without submitting transactions.Available Functions
Get Quote
Simulate a trade against current orderbook liquidity and return expected output, fees, and execution details without sending a transaction.
Get Open Orders
Fetch the active orders currently posted by a user, including offer indexes, order types, prices, and amounts.
Get Withdrawable Funds
Check which PT, YT, and SY balances are available to withdraw from a user’s orderbook escrow state.
Get User Balances
Read a user’s escrow balances, including PT, YT, SY, staged interest, and other tracked orderbook balances.