Overview
TxLINE provides cryptographically verifiable sports data through a hybrid Solana on-chain and TxODDS off-chain system. Access fixtures, odds, and scores with time-limited API tokens secured by on-chain subscriptions.Getting Started
Want to try for free? Check out our World Cup Free Tier for instant access to World Cup and International Friendlies data with no payment required.
- Free World Cup path: Follow the World Cup Free Tier guide for service levels 1 or 12. No TxL purchase is required.
- Paid subscription path: Continue below to purchase TxL if needed, subscribe on-chain, and activate an API token.
The snippets below show the required integration pieces. To run them in your own app, provide a Solana wallet object, use the matching TxLINE IDL/types for your network, and keep the Solana RPC, program ID, guest JWT host, and API host on the same network.
Free tiers do not require a TxL purchase, but the on-chain
subscribe transaction still needs SOL for Solana transaction fees and any account rent. On devnet, fund your wallet with a devnet SOL airdrop before subscribing.Select Your Network
Pick one network and use it consistently for every step. The Solana RPC, program ID, TxL mint, guest JWT, and activation endpoint must all be on the same network.The
wallet variable is your signing wallet. In a browser app, use your wallet adapter’s public key, signTransaction, and signMessage methods. In a local Anchor script, use ANCHOR_WALLET and ANCHOR_PROVIDER_URL to load the payer wallet.For a runnable devnet version of the activation and stream flow, use the scripts in Runnable Devnet Examples. They include free-tier activation, odds and scores streams, fixture validation, and
validateStatV2 examples.Purchase TxL (Optional)
Note: Purchasing TxL tokens is optional. We offer free tiers for World Cup and International Friendlies data with no payment required. View all subscription tiers to see free and premium options.
Step 1: Request Purchase Quote
Step 2: Verify and Sign Transaction
TxODDS may refuse purchase requests and ask for KYC (Know Your Customer) verification in accordance with compliance requirements.
Subscribe On-Chain
Subscribe to TxLINE on-chain after choosing a service level. Paid tiers require TxL; the free World Cup tiers do not require a TxL purchase. Choose between a standard subscription or a custom league selection. Derive the shared accounts once before using either subscription tab:- Standard Subscription
- Custom Leagues
Activate Your API Token
After subscribing on-chain, activate your API access by signing the transaction and calling the activation endpoint.SELECTED_LEAGUES = [], so the message has two colons between txSig and jwt:
subscribe transaction, and the jwt must come from the same network host used for activation.
You’re now ready to use the API. Send both activated credentials with data API requests:
Credential Lifecycle
If a data request returns
401, renew the guest JWT from the same network host and retry with the same activated API token. If activation returns 403, check the signed message, wallet, signature encoding, transaction network, and activation host.
Next Steps
- View the complete API Reference to explore all available endpoints
- Check out Subscription Tiers for pricing and plan options
- Try the World Cup Free Tier for instant free access
- Run the Runnable Devnet Examples for end-to-end devnet activation, streaming, and validation
- Use Troubleshooting to diagnose activation, streaming, and validation errors