RFQ

public/execute_quote_debug

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

Request body

direction'buy' | 'sell' required
max_feestring 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

noncestring required
quote_idstring uuid required

UUID v4 string

rfq_idstring uuid required

UUID v4 string

signaturestring required
signature_expiry_secinteger required
signerstring required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

subaccount_idinteger required

Response

Success

action_hashstring required
encoded_datastring required
encoded_data_hashedstring required
encoded_legsstring required
legs_hashstring required
typed_data_hashstring required

Changes

No recorded changes to this operation across all 1 revision of this API.