RFQ
public/send_quote_debug
Changed onPublic signing-preview helper that returns the EIP-712 encoding artifacts (encoded data, its hash, the action hash, and the typed-data hash) for a maker quote a client is about to sign. It does not verify signatures, persist anything, or place a quote; use it to construct and check the exact payload to sign before calling private/send_quote.
post/public/send_quote_debug
Request
- Base URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Public Send Quote Debug Request required
direction, 'buy' | 'sell' required
legs, Priced Leg Params And Response[] required
max_fee, string decimal required
Non-negative decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted
nonce, string required
rfq_id, string uuid required
UUID v4 string
signature, string required
signature_expiry_sec, integer required
signer, string required
20-byte Ethereum address as a 0x-prefixed lowercase hex string.
subaccount_id, integer required
Response
Success
Quote Send Debug Result required
action_hash, string required
encoded_data, string required
encoded_data_hashed, string required
typed_data_hash, string required
Changes
- info
added the media type
application/jsonfor the response with the status
- info