Uniswap · Schema

CreateSwapResponse

CreateSwapResponse schema from Uniswap Trading API

BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps

Properties

Name Type Description
requestId object
swap object
gasFee object
View JSON Schema on GitHub

JSON Schema

uniswap-create-swap-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/uniswap/refs/heads/main/json-schema/uniswap-create-swap-response-schema.json",
  "title": "CreateSwapResponse",
  "description": "CreateSwapResponse schema from Uniswap Trading API",
  "type": "object",
  "properties": {
    "requestId": {
      "$ref": "#/components/schemas/RequestId"
    },
    "swap": {
      "$ref": "#/components/schemas/TransactionRequest"
    },
    "gasFee": {
      "$ref": "#/components/schemas/gasFee"
    }
  },
  "required": [
    "requestId",
    "swap"
  ]
}