Skip to main content

Coverage

For a complete list of upcoming basketball fixtures and competitions covered by TxLINE, please refer to the Schedule.

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

NameIDDescriptionCompetition Type
NS1Not startedAll
Q12Quarter 1NBA
Q1B3Quarter 1 breakNBA
Q24Quarter 2NBA
HT5HalftimeAll
Q36Quarter 3NBA
Q3B7Quarter 3 breakNBA
Q48Quarter 4NBA
F9EndedAll
WO10Waiting for OvertimeAll
OT11OvertimeAll
OB12Overtime BreakAll
FO13Ended after OvertimeAll
H119First halfNCAA
H220Second halfNCAA

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):
KeyStatistic
1Participant 1 Total Score
2Participant 2 Total Score
3Participant 1 Total Fouls
4Participant 2 Total Fouls
5Participant 1 Total Personal Fouls
6Participant 2 Total Personal Fouls
7Participant 1 Total Blocks
8Participant 2 Total Blocks
9Participant 1 Total Rebounds
10Participant 2 Total Rebounds
11Participant 1 Total free throws made
12Participant 2 Total free throws made
13Participant 1 Total 2-points made
14Participant 2 Total 2-points made
15Participant 1 Total 3-points made
16Participant 2 Total 3-points made
17Participant 1 Total free throws missed
18Participant 2 Total free throws missed
19Participant 1 Total 2-points missed
20Participant 2 Total 2-points missed
21Participant 1 Total 3-points missed
22Participant 2 Total 3-points missed
23Participant 1 Total free throws attempts
24Participant 2 Total free throws attempts
25Participant 1 Total 2-points attempts
26Participant 2 Total 2-points attempts
27Participant 1 Total 3-points attempts
28Participant 2 Total 3-points attempts
29Participant 1 Total Assists
30Participant 2 Total Assists
31Participant 1 Total Turnovers
32Participant 2 Total Turnovers
33Participant 1 Total Steals
34Participant 2 Total Steals
35Participant 1 Total Used timeouts
36Participant 2 Total Used timeouts
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