Explanations > TxLINE

TxLINE integration

Explain how Quovra uses TxODDS TxLINE and txoracle.

TxLINE integration

Quovra uses TxODDS TxLINE as the signed sports-data proof source.

Flow

mermaid
sequenceDiagram
  participant Keeper
  participant TxLINEAPI as TxLINE API
  participant Quovra
  participant TxOracle as txoracle program
  Keeper->>TxLINEAPI: fetch stat-validation proof
  TxLINEAPI-->>Keeper: fixture summary + Merkle proofs + stat term
  Keeper->>Quovra: settle(args)
  Quovra->>TxOracle: validate_stat(args)
  TxOracle-->>Quovra: bool return data
  Quovra->>Quovra: set yes_won and resolved

API usage

The scripts use:

  • POST /auth/guest/start
  • POST /api/token/activate
  • score update endpoints
  • stat-validation proof endpoints

On-chain usage

Quovra CPIs into txoracle.validate_stat. It passes the daily score root account and proof payload. txoracle validates the Merkle proof and returns a boolean.

Network IDs

Networktxoracle program
devnet6pW64gN1s2uqjHkn1unFeEjAwJkPGHoppGvS715wyP2J
mainnet9ExbZjAapQww1vfcisDmrngPinHTEfpjYRWMunJgcKaA

Related pages

Search keywords

TxLINE, TxODDS, txoracle, stat proof, Merkle proof

Last updated: [YYYY-MM-DD]