RFQ

public/send_quote_debug

Changed on

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

Request body

PublicSendQuoteDebugRequest 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
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

QuoteSendDebugResult required
action_hash, string required
encoded_data, string required
encoded_data_hashed, string required
typed_data_hash, string required

Changes