---
title: "public/send_quote_debug"
method: POST
path: "/public/send_quote_debug"
tags: ["RFQ"]
---

# public/send_quote_debug

`POST /public/send_quote_debug`

## Request

- Base URL: `https://api.derive.xyz/v3`
- URL: `https://api.derive.xyz/v3/public/send_quote_debug`
- Auth: none declared

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.

## Request body

- PublicSendQuoteDebugRequest
  - `direction` 'buy' | 'sell', required
  - `legs` PricedLegParamsAndResponse[], required
    - `amount` 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
    - `direction` 'buy' | 'sell', required
    - `instrument_name` string, required
    - `price` 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
  - `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 `200`

Success

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

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-10-20** `0c500202be49`: 1 info
  - added the media type `application/json` for the response with the status `default`

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/public/send_quote_debug/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
