Settlement
Prepare Settlement
Compute the VWAP resolution price for an expired option series and return a signed EIP-712 settlement attestation.
POST
Compute the resolution price for an expired option series and return a signed settlement attestation. The relay fetches YES token trades from Polymarket, computes the 30-minute VWAP, and signs an EIP-712
SettlementAttestation with the resolution signer’s key.
The returned attestation can be relayed on-chain by calling settleWithAttestation() on ConvallaxCore.
The option series ID to settle. Accepts hex (
0x...) or decimal string format.Whether the attestation was successfully generated.
The series ID that was settled.
Resolution price in basis points (0–100). Example:
59 = $0.59.Attestation expiry (Unix timestamp). Valid for 15 minutes after creation.
EIP-712 signature from the resolution signer.
