OpenSea · Schema

SwapQuoteResponse

Swap quote with price details and executable transactions

NFTMarketplaceWeb3BlockchainTradingDigital Assets

Properties

Name Type Description
quote object Price and fee details for the swap
transactions array Transactions to execute the swap
View JSON Schema on GitHub

JSON Schema

SwapQuoteResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://opensea.io/schemas/SwapQuoteResponse",
  "title": "SwapQuoteResponse",
  "type": "object",
  "description": "Swap quote with price details and executable transactions",
  "properties": {
    "quote": {
      "$ref": "#/components/schemas/SwapQuoteDetails",
      "description": "Price and fee details for the swap"
    },
    "transactions": {
      "type": "array",
      "description": "Transactions to execute the swap",
      "items": {
        "$ref": "#/components/schemas/SwapTransactionResponse"
      }
    }
  },
  "required": [
    "quote",
    "transactions"
  ]
}