Market
A prediction market on the Turbine platform.Unique market identifier (hex string)
Blockchain chain ID (137 = Polygon, 43114 = Avalanche, 84532 = Base Sepolia)
Market contract address (ERC1155 for outcome tokens)
Settlement contract address (holds USDC collateral)
Market question (e.g., “Will BTC be above $97,250 at 3:15 PM?”)
Detailed market description
Market category (e.g., “crypto”, “sports”, “politics”)
Unix timestamp when the market expires
Address of the market creator
Whether the market has been resolved
Winning outcome (0 = YES, 1 = NO) if resolved, otherwise
NoneTotal trading volume (in USDC with 6 decimals)
Creation timestamp
Last update timestamp
Methods
from_dict(data)
Creates a Market instance from an API response dictionary.
Example
QuickMarket
A 15-minute BTC/ETH quick market.Internal database ID
Market identifier (hex string)
Asset symbol (“BTC” or “ETH”)
Market duration in minutes (typically 15)
Strike price scaled by 1e6 (divide by 1e6 to get USD price)
Final settlement price if resolved, otherwise
NoneUnix timestamp when the market started
Unix timestamp when the market expires
Whether the market has been resolved
Winning outcome (0 = YES, 1 = NO) if resolved
Price oracle source (e.g., “Pyth”)
Creation timestamp
Market contract address
Methods
from_dict(data)
Creates a QuickMarket instance from an API response dictionary.
Example
Currently, only BTC quick markets are active. The
get_quick_market() method accepts “BTC” as the asset parameter.Resolution
Market resolution status from the UMA oracle.Market identifier
UMA assertion ID
Winning outcome (0 = YES, 1 = NO)
Whether the resolution is finalized
Resolution timestamp
Methods
from_dict(data)
Creates a Resolution instance from an API response dictionary.
Example
MarketStats
Statistics for a specific market.Market identifier
Market contract address
Last traded price (scaled by 1e6)
Total trading volume (in USDC with 6 decimals)
24-hour trading volume (in USDC with 6 decimals)
Methods
from_dict(data)
Creates a MarketStats instance from an API response dictionary.
Example
ChainStats
Statistics for a single blockchain.Chain ID (137 = Polygon, 43114 = Avalanche)
Total volume on this chain (in USDC with 6 decimals)
Total number of trades on this chain
Last update timestamp
Methods
from_dict(data)
Creates a ChainStats instance from an API response dictionary.
PlatformStats
Platform-wide statistics across all chains.List of per-chain statistics
Total platform volume (in USDC with 6 decimals)
Total number of trades across all chains
Methods
from_dict(data)
Creates a PlatformStats instance from an API response dictionary.