RFQ

public/execute_quote_debug

Changed on

Public 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 URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

PublicExecuteQuoteDebugRequest required
direction, 'buy' | 'sell' required
legs, PricedLegParamsAndResponse[] 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

QuoteExecuteDebugResult 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