Skip to main content

Coverage

Basketball score encodings and feed semantics are documented below. Use the shared Schedule and fixtures snapshot API for current basketball fixture availability.

On-Chain Specifications

These specifications define how basketball game phases and statistics are encoded for on-chain operations, including cryptographic validation and trading settlement.

Game Phase Encoding

Stat Period Encoding

Stats are encoded with a formula: (half * 1000 OR quarter * 10000) + base_key These encodings are used for on-chain validation proofs and trading settlement. Full Game Stats (Keys 1-36): Period-Specific Stats - Add period multiplier to base keys:
  • First Half (H1): Add 1000
  • Second Half (H2): Add 2000
  • Quarter 1: Add 10000
  • Quarter 2: Add 20000
  • Quarter 3: Add 30000
  • Quarter 4: Add 40000
Usage: These encodings are required when validating score data against on-chain Merkle roots, creating trading offers, or settling trades with cryptographic proofs.

Documentation

Download

Complete documentation for the TxODDS US Basketball data feed