OpenSea · Schema

SwapExecuteResponse

Response containing quote details and executable swap transactions

NFTMarketplaceWeb3BlockchainTradingDigital Assets

Properties

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

JSON Schema

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