Oracle
Sign Price
Produce an EIP-712 signed price for atomic use in a transaction
POST
Returns an EIP-712 payload for a NAV, ready to sign. You sign it with the wallet authorized on the market’s oracle, then pass the price and your signature as
The signature is bound to one oracle through
signedPrice on Open Loan, Borrow More, Withdraw Collateral, or Liquidate Loan. The contract applies the price and the action in one transaction.
This is the alternative to Sync Oracle Price. Signing costs no gas and writes nothing on-chain, so it suits per-transaction pricing where a borrower needs a fresh valuation without waiting for an oracle write. Pushing suits a scheduled NAV publication that every loan in the market should see.
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.
integer
default:"300"
Signature lifetime in seconds. Values below 60 are raised to 60 and values above 3600 are lowered to 3600.
Response Fields
object
No signature is returned. You produce it by signing
typedData. The contract then reads price, timestamp, validUntil, and your signature. Pass the first three through unchanged.Signature Structure
verifyingContract and expires at validUntil. It carries no nonce, so a signature can be replayed by anyone who holds it until it expires. Keep validitySeconds tight, and treat a signed price as a bearer credential over its lifetime.
Verify a signature without spending gas using Verify Signed Price.
Every failure returns code
SIGNING_FAILED. The specific cause, whether no registered wallet or a missing oracle authorization, is in message.