Skip to main content
Odds are 1e20-scaled integers and amounts are base unit integers.

Quick reference

Use your library’s BigInt or equivalent library to process these values

Odds

Odds are an implied probability scaled by 10^20. There is no separate decimal or American field anywhere in the API. Those are display formats you compute yourself.

Maker frame and taker frame

Example: A maker resting at 40% offers the taker a 60% price.

Token amounts

Amounts are integers in the token’s smallest unit, as strings. Read the scale from GET /metadata/obv3:

Payouts

The payout relationship is the same on every grain: return = stake ÷ your own implied odds.

Display formats

The API never sends decimal or American odds. Compute them yourselves:
Last modified on August 11, 2026