Skip to main content
POST
Records a price signature that a key outside this instance produced, so it joins the market’s attested price history. It is the counterpart to Sign Price for a price signer that keeps its key in its own environment: sign the returned payload there, then post the result here. The oracle is asked to accept the signature before anything is written, so the history never holds a signature nobody verified. Recording writes nothing on-chain and moves no price. A recorded attestation has two uses. It appears in the signed list on Get Oracle History, with pushedTxHash stamped once the price lands. A later Sync Oracle Price of exactly that price can also submit it, so any wallet may broadcast the push. That works only while the attestation is unexpired, unpushed, dated after the oracle’s current price and at most 15 minutes old.
The oracle’s acceptance covers the signature, the signer, expiry and age. It does not cover the deviation limit, so a recorded attestation can still revert when submitted.

Path Parameters

string
required
Market ID.

Body Parameters

string
required
Price in base units as an integer string, exactly as signed. Must be greater than zero.
integer
required
The signed timestamp in unix seconds. Must be a positive integer.
integer
required
The signed expiry in unix seconds. Must be a positive integer later than timestamp.
string
required
The 65-byte EIP-712 signature, as 0x followed by 130 hex characters.

Response Fields

object

Error Codes