RFQ
public/execute_quote_debug
Changed onPublic signing-preview helper that returns the taker's EIP-712 encoding artifacts (encoded data and hashes) plus the maker-side encoded legs and legs hash for a quote execution a client is about to sign. It does not verify signatures, persist anything, or execute the trade; use it to construct and check the exact payload before calling private/execute_quote.
post/public/execute_quote_debug
Request
- Base URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Public Execute 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
quote_id, string uuid required
UUID v4 string
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 Execute Debug Result required
action_hash, string required
encoded_data, string required
encoded_data_hashed, string required
encoded_legs, string required
legs_hash, string required
typed_data_hash, string required
Changes
- info
added the media type
application/jsonfor the response with the status
- info