Uniswap · JSON Structure

Uniswap Order Request Structure

JSON Structure for OrderRequest from Uniswap Trading API

Type: Properties: 0
BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps

Uniswap Order Request Structure is a JSON Structure definition published by Uniswap. It conforms to the https://json-schema.org/draft/2020-12/schema meta-schema.

Meta-schema: https://json-schema.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OrderRequest Structure",
  "description": "JSON Structure for OrderRequest from Uniswap Trading API",
  "structure": {
    "type": "object",
    "properties": {
      "signature": {
        "type": "string",
        "description": "The signed permit."
      },
      "quote": {
        "type": "object"
      },
      "routing": {
        "type": "string",
        "description": "The routing for the proposed transaction.",
        "enum": [
          "CLASSIC",
          "DUTCH_LIMIT",
          "DUTCH_V2",
          "DUTCH_V3",
          "BRIDGE",
          "LIMIT_ORDER",
          "PRIORITY",
          "WRAP",
          "UNWRAP",
          "CHAINED"
        ]
      }
    },
    "required": [
      "signature",
      "quote"
    ]
  }
}