> ## Documentation Index
> Fetch the complete documentation index at: https://v3.docs.derive.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Preview EIP-712 signing data for a quote

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



## OpenAPI

````yaml /openapi.json post /public/send_quote_debug
openapi: 3.1.0
info:
  title: Derive v3 API
  version: 0.2.0
  description: JSON-RPC 2.0 methods, served over WebSocket and HTTP POST.
servers:
  - url: https://api.derive.xyz/v3
    description: Production (HTTP POST base)
  - url: https://testnet.api.derive.xyz/v3
    description: Testnet (HTTP POST base)
security: []
tags:
  - name: Subaccounts
    description: >-
      List, inspect, and label subaccounts, portfolios, positions, and
      collateral.
  - name: Session Keys
    description: Register, edit, and list delegated signing keys.
  - name: Account
    description: Wallet-level account information and settings.
  - name: Orderbook
    description: Place, replace, cancel, and query orders, trigger orders, and algos.
  - name: RFQ
    description: 'Request-for-quote: send RFQs, quote, and execute block trades.'
  - name: Vault Shareholders
    description: >-
      Deposit into and withdraw from vaults, and track shares, requests, and
      performance.
  - name: Vault Curators
    description: >-
      Create and operate curated vaults: settle deposit and withdrawal requests,
      and manage vault metadata.
  - name: History
    description: >-
      Per-account historical records: orders, trades, transfers, and
      settlements.
  - name: Market Maker Protection
    description: Configure, read, and reset market-maker protection.
  - name: Transfers & Withdrawals
    description: Move collateral between subaccounts, to other wallets, and on-chain.
  - name: System
    description: Rate limits and transaction lookups.
  - name: Market Data
    description: Instruments, currencies, tickers, and market-wide feeds.
  - name: Referrals
    description: Referral codes and program performance.
  - name: Other
    description: Uncategorized.
paths:
  /public/send_quote_debug:
    post:
      tags:
        - RFQ
      summary: Preview EIP-712 signing data for a quote
      description: >-
        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.
      operationId: public_send_quote_debug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicSendQuoteDebugRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteSendDebugResult'
        default:
          description: JSON-RPC error (see Error Codes)
components:
  schemas:
    PublicSendQuoteDebugRequest:
      type: object
      required:
        - direction
        - legs
        - max_fee
        - nonce
        - rfq_id
        - signature
        - signature_expiry_sec
        - signer
        - subaccount_id
      properties:
        direction:
          $ref: '#/components/schemas/Direction'
        legs:
          type: array
          items:
            $ref: '#/components/schemas/PricedLegParamsAndResponse'
        max_fee:
          description: >-
            Non-negative decimal string of the human value (e.g. `"1.5"`), up to
            12 fractional digits; a string or JSON number is accepted
          type: string
          format: decimal
        nonce:
          type: integer
          format: int64
        rfq_id:
          description: UUID v4 string
          type: string
          format: uuid
        signature:
          type: string
        signature_expiry_sec:
          type: integer
          format: int64
        signer:
          $ref: '#/components/schemas/Address'
        subaccount_id:
          type: integer
          format: uint64
          minimum: 0
    QuoteSendDebugResult:
      type: object
      required:
        - action_hash
        - encoded_data
        - encoded_data_hashed
        - typed_data_hash
      properties:
        action_hash:
          type: string
        encoded_data:
          type: string
        encoded_data_hashed:
          type: string
        typed_data_hash:
          type: string
    Direction:
      type: string
      enum:
        - buy
        - sell
    PricedLegParamsAndResponse:
      type: object
      required:
        - amount
        - direction
        - instrument_name
        - price
      properties:
        amount:
          description: >-
            Non-negative decimal string of the human value (e.g. `"1.5"`), up to
            12 fractional digits; a string or JSON number is accepted
          type: string
          format: decimal
        direction:
          $ref: '#/components/schemas/Direction'
        instrument_name:
          type: string
        price:
          description: >-
            Non-negative decimal string of the human value (e.g. `"1.5"`), up to
            12 fractional digits; a string or JSON number is accepted
          type: string
          format: decimal
    Address:
      description: 20-byte Ethereum address as a 0x-prefixed lowercase hex string.
      type: string
      maxLength: 42
      minLength: 42
      pattern: ^0x[0-9a-fA-F]{40}$

````

## Related topics

- [Preview EIP-712 signing data for a quote execution](/api-reference/rfq/preview-eip-712-signing-data-for-a-quote-execution.md)
- [Preview an order's EIP-712 signing data](/api-reference/orderbook/preview-an-orders-eip-712-signing-data.md)
- [Preview EIP-712 encoding for a withdrawal](/api-reference/transfers-&-withdrawals/preview-eip-712-encoding-for-a-withdrawal.md)
