Skip to main content
POST
Writes a new price to the market’s oracle through the registered wallet. This is how external securities markets are priced: the issuer publishes a net asset value and pushes it here. There is no automatic price feed for these markets. price is required on every call. If you omit it or send a non-positive value the request is rejected.
This submits a blockchain transaction. The registered wallet must be an authorized signer on the oracle, which the oracle owner grants. Check signerAuthorized on Get Oracle Status first.

Path Parameters

string
required
Market ID.

Body Parameters

number
required
Net asset value per collateral token, denominated in the market’s borrow asset. Must be greater than zero.
string
Hash of the transaction you broadcast for this operation. Send it to confirm the transaction and record the result. Omit it to receive the calldata.

Response Fields

object

Circuit Breaker

The oracle rejects a price that deviates from the current price by more than maxDeviationBps, defaulting to 5000 basis points, which is 50 percent. This guards against a fat-fingered NAV wiping out healthy loans in one transaction. The check is skipped when the oracle has never been priced, so the first push after deployment can be any positive value. When the breaker trips, the error carries currentPrice, newPrice, and maxDeviationPercent so you can present the comparison. A genuine repricing beyond the limit requires the oracle owner to widen maxDeviationBps, or a sequence of smaller steps.
Successful pushes are recorded on the market as an ORACLE_SYNC transaction, visible through List Transactions, and update lastOracleUpdate on the market record.

Errors