Skip to main content
POST
Validates a signed price against the market’s oracle contract and returns the recovered signer. Nothing is submitted and no gas is spent. Use it to confirm a signature before handing it to a borrower, or to diagnose a transaction that reverted on a price signature.

Path Parameters

string
required
Market ID.

Body Parameters

string
required
Price in base units as an integer string, exactly as returned by Sign Price. Decimal points are rejected.
integer
required
Signing timestamp in unix seconds. Must be a positive integer.
integer
required
Expiry in unix seconds. Must be a positive integer.
string
required
0x-prefixed hex signature.

Response Fields

object
valid: false with error: null means the oracle evaluated the signature and rejected it. valid: false with a populated error means the check itself could not run, usually an RPC failure. These are different conditions and should be surfaced differently.
A signature the oracle considers valid can still be rejected at execution time if it has expired between verification and submission. Verification is a point-in-time check against validUntil.