Quick reference
| Value | Raw format | Convert to human-readable |
|---|---|---|
| Odds | Integer, scaled by 10^20 | raw / 10^20 → implied probability (0–1) |
| USDC | Integer, 6 decimals | raw / 1,000,000 → dollar amount |
| Timestamps | Unix seconds | Standard Unix timestamp |
Odds
SX Bet stores odds as implied probability scaled to avoid floating point:percentageOdds = implied × 10^20
Raw ↔ implied probability
Maker → taker odds
On SX Bet, makers post odds at a specific implied probability. The taker automatically receives the complementary side — the two sides always sum to 1 (no house spread):50125000000000000000 (~50.125%). Taker receives 49875000000000000000 (~49.875%).
Implied ↔ American
Implied ↔ Decimal
Token amounts
USDC on SX Network uses 6 decimal places, so all token amounts in the API are integers representing millionths of a dollar. For example,10000000 is 10.00 USDC, and 1500000 is 1.50 USDC.
