GET
/api/v1/txline/status
Shows provider mode, TxLINE configuration boundary, proof system, and Solana receipt cluster.
Integrate TxLINE match data with PrivateDAO Blind Settlement proofs and Solana receipt anchoring.
Shows provider mode, TxLINE configuration boundary, proof system, and Solana receipt cluster.
Returns TxLINE matches when TXLINE_API_TOKEN is configured, otherwise clearly labeled simulated World Cup data.
Resolves a final match market and issues a Blind Settlement proof package.
Verifies Groth16 proof material and recomputes the settlement receipt hash.
Stores only settlement hashes in a Solana Memo receipt and returns an Explorer link.
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());