TxLINE provider boundary
Groth16 verification
Solana Memo receipt
Developers
TxLINE Settlement API

Integrate TxLINE match data with PrivateDAO Blind Settlement proofs and Solana receipt anchoring.

Endpoint map
GET
/api/v1/txline/status

Shows provider mode, TxLINE configuration boundary, proof system, and Solana receipt cluster.

GET
/api/v1/txline/matches

Returns TxLINE matches when TXLINE_API_TOKEN is configured, otherwise clearly labeled simulated World Cup data.

POST
/api/v1/txline/resolve

Resolves a final match market and issues a Blind Settlement proof package.

POST
/api/v1/txline/verify

Verifies Groth16 proof material and recomputes the settlement receipt hash.

POST
/api/v1/txline/onchain-receipt

Stores only settlement hashes in a Solana Memo receipt and returns an Explorer link.

Proof package

Fields returned by `/resolve`.

proofIdnoncematchIdmarketIdtxlineSnapshotHashtxlineProofHashsettlementPolicyCommitmentoutcomeCommitmentinputCommitmentcircuitIdcircuitVersionpolicyVersionissuedAtexpiresAtgroth16ProofverificationKeyHashoriginalProofHash
Example
const matches = await fetch("/api/v1/txline/matches").then(r => r.json());
const proof = await fetch("/api/v1/txline/resolve", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    matchId: matches.matches[0].matchId,
    marketId: "worldcup-winner-market"
  })
}).then(r => r.json());

const verification = await fetch("/api/v1/txline/verify", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ publicProofPackage: proof.publicProofPackage })
}).then(r => r.json());