Get a Merkle multiproof for fixture statistics
This endpoint provides a deep cryptographic proof for statistics within a single scores update. The TxODDS Oracle data is structured in a three-level Merkle hierarchy:
- A main batch contains summaries for multiple fixtures.
- Each fixture summary is the root of a sub-tree of all score update events for that fixture.
- Each score update event is the root of a sub-tree of all the individual statistics it contains.
This endpoint returns the full set of proofs needed to connect the stats all the way to the main batch root published on-chain.
Request Format
The endpoint requires a comma-separated list of up to 5 keys in the statKeys parameter and returns a ScoresStatValidationV3 payload supporting compressed multiproof validation.
On-Chain Execution
With the returned data, the user can execute an on-chain transaction to validate that a supplied strategy holds against the extracted stats. For example, validating that a team’s score exceeded a threshold, or that the difference between two scores meets a specific binary condition.
Authorizations
User's session JWT.
The user's long-lived API token, obtained from the activation endpoint.
Headers
Bearer token for the user's session JWT.
The user's long-lived API token.
Query Parameters
The ID of the fixture for the scores event.
The sequence number of the specific scores event within the fixture's history.
Comma-separated list of 1 to 5 stat keys for multiproof validation.