{
  "openapi": "3.1.0",
  "info": {
    "title": "7.exchange public swap API",
    "version": "1.0.0",
    "description": "Existing public REST surface. Additional response fields and provider/status/error values may appear. Amounts remain strings. No automatic sensitive-operation replay."
  },
  "servers": [
    {
      "url": "https://api.7.exchange/api/v1"
    }
  ],
  "paths": {
    "/swap/chains": {
      "get": {
        "operationId": "getChains",
        "description": "",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChainsEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "perPage",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          }
        ]
      }
    },
    "/swap/assets": {
      "get": {
        "operationId": "getAssets",
        "description": "",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetsEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "perPage",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "chain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          }
        ]
      }
    },
    "/swap/sources": {
      "get": {
        "operationId": "getSources",
        "description": "",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourcesEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "perPage",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          }
        ]
      }
    },
    "/quote": {
      "post": {
        "operationId": "getQuotes",
        "description": "Preview only; an empty data array is a successful no-route result. No exec payload is exposed.",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuotesEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuoteRequest"
              }
            }
          }
        }
      }
    },
    "/quote/lock": {
      "post": {
        "operationId": "lockQuote",
        "description": "Allocates a short-lived single-use lock and may allocate provider resources. Do not automatically retry. No exec payload is exposed.",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LockEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LockQuoteRequest"
              }
            }
          }
        }
      }
    },
    "/quote/execute": {
      "post": {
        "operationId": "executeQuote",
        "description": "Consumes a lock once. QUOTE_EXPIRED covers expired and already-used locks. A lost response has an unknown outcome. Do not retry. Wallet/deposit actions may remain; a response is not settlement.",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExecuteEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecuteQuoteRequest"
              }
            }
          }
        }
      }
    },
    "/quote/submit-signature": {
      "post": {
        "operationId": "submitSignature",
        "description": "Submits a wallet signature. STARGATE: providerQuoteId and signatures. UNISWAPX: transactionId and trackingToken from /quote/execute plus the swapper's EIP-712 order signature. Never retry automatically; for submissionState unknown, repeat the same request to reconcile.",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignatureEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitSignatureRequest"
              }
            }
          }
        }
      }
    },
    "/transaction/track": {
      "post": {
        "operationId": "trackTransaction",
        "description": "Report the source/deposit hash only. Provider references and other tracking metadata remain server owned. No automatic retry. An unauthenticated hash submission requires trackingToken; a bearer-authenticated owner may submit without it. An existing hash cannot be replaced.",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackTransactionRequest"
              }
            }
          }
        },
        "security": [
          {},
          {
            "walletBearer": []
          }
        ]
      }
    },
    "/transaction/status": {
      "get": {
        "operationId": "getTransactionStatus",
        "description": "Supply transactionId or hash. final determines whether to stop polling; retain unknown future status strings.",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "transactionId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "hash",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          }
        ]
      }
    },
    "/transaction/history": {
      "get": {
        "operationId": "getTransactionHistory",
        "description": "",
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoryEnvelope"
                }
              }
            }
          },
          "default": {
            "description": "Structured API error. Unknown future error codes are permitted.",
            "headers": {
              "X-Request-Id": {
                "schema": {
                  "type": "string"
                },
                "description": "Correlation ID"
              },
              "X-API-Version": {
                "schema": {
                  "type": "string"
                },
                "description": "API version"
              },
              "Retry-After": {
                "schema": {
                  "type": "string"
                },
                "description": "Delay seconds or HTTP date"
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "description": "Request limit"
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "description": "Remaining requests"
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "string"
                },
                "description": "Unix reset time in seconds"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "perPage",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "referralCode",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "transactionId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "addresses",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "statuses",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "finalizedOnly",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 0
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 0
            },
            "style": "form",
            "explode": true
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Pagination": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer"
          },
          "perPage": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          },
          "hasMore": {
            "type": "boolean"
          }
        },
        "required": [
          "page",
          "perPage",
          "total",
          "hasMore"
        ],
        "additionalProperties": true
      },
      "Chain": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "shortname": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "chainId": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "new": {
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "name",
          "type",
          "active"
        ],
        "additionalProperties": true
      },
      "Asset": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "chain": {
            "type": "string"
          },
          "isNative": {
            "type": "boolean"
          },
          "new": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "symbol",
          "address",
          "chain",
          "isNative"
        ],
        "additionalProperties": true
      },
      "Source": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "name",
          "type",
          "active"
        ],
        "additionalProperties": true
      },
      "TokenIdentity": {
        "type": "object",
        "properties": {
          "chainId": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "decimals": {
            "type": "integer"
          }
        },
        "required": [
          "chainId",
          "address",
          "symbol",
          "decimals"
        ],
        "additionalProperties": true
      },
      "FeeItem": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "token": {
            "$ref": "#/components/schemas/TokenIdentity"
          },
          "amountUsd": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "providerLabel": {
            "type": "string"
          },
          "chain": {
            "type": "object",
            "properties": {
              "chainId": {
                "type": "number"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "chainId"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "type",
          "amount",
          "token"
        ],
        "additionalProperties": true
      },
      "Fees": {
        "type": "object",
        "properties": {
          "total": {
            "type": "object",
            "properties": {
              "usd": {
                "type": "string"
              },
              "formatted": {
                "type": "string"
              }
            },
            "required": [
              "usd",
              "formatted"
            ],
            "additionalProperties": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeeItem"
            }
          }
        },
        "required": [],
        "additionalProperties": true
      },
      "AmountDetails": {
        "type": "object",
        "properties": {
          "base": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "formatted": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "usd": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "details": {}
        },
        "required": [],
        "additionalProperties": true
      },
      "QuoteRequest": {
        "type": "object",
        "properties": {
          "srcAddress": {
            "type": "string",
            "minLength": 1
          },
          "srcChain": {
            "type": "string",
            "minLength": 1
          },
          "dstAddress": {
            "type": "string",
            "minLength": 1
          },
          "dstChain": {
            "type": "string",
            "minLength": 1
          },
          "amount": {
            "type": "string",
            "description": "Positive human-readable token amount; never convert through floating point."
          },
          "slippage": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000,
            "description": "Basis points; 100 is 1%."
          },
          "confidentiality": {
            "type": "string",
            "enum": [
              "public",
              "basic"
            ]
          },
          "depositor": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "exclude": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "referrer": {
            "type": "string"
          },
          "decimals": {
            "type": "integer"
          },
          "executionCapabilities": {
            "type": "array",
            "maxItems": 8,
            "items": {
              "type": "string",
              "pattern": "^[a-z0-9-]{1,64}$"
            },
            "description": "Opt in to execution protocols the client implements. uniswapx-order-v1 enables UniswapX gasless order routes: sign the returned order, then submit it with /quote/submit-signature."
          }
        },
        "required": [
          "srcAddress",
          "srcChain",
          "dstAddress",
          "dstChain",
          "amount"
        ],
        "additionalProperties": true
      },
      "LockQuoteRequest": {
        "type": "object",
        "properties": {
          "srcAddress": {
            "type": "string",
            "minLength": 1
          },
          "srcChain": {
            "type": "string",
            "minLength": 1
          },
          "dstAddress": {
            "type": "string",
            "minLength": 1
          },
          "dstChain": {
            "type": "string",
            "minLength": 1
          },
          "amount": {
            "type": "string",
            "description": "Positive human-readable token amount; never convert through floating point."
          },
          "slippage": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000,
            "description": "Basis points; 100 is 1%."
          },
          "confidentiality": {
            "type": "string",
            "enum": [
              "public",
              "basic"
            ]
          },
          "depositor": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "exclude": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "referrer": {
            "type": "string"
          },
          "decimals": {
            "type": "integer"
          },
          "provider": {
            "type": "string"
          },
          "routeId": {
            "type": "string"
          },
          "referralCode": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "executionCapabilities": {
            "type": "array",
            "maxItems": 8,
            "items": {
              "type": "string",
              "pattern": "^[a-z0-9-]{1,64}$"
            },
            "description": "Opt in to execution protocols the client implements. uniswapx-order-v1 enables UniswapX gasless order routes: sign the returned order, then submit it with /quote/submit-signature."
          }
        },
        "required": [
          "srcAddress",
          "srcChain",
          "dstAddress",
          "dstChain",
          "amount",
          "provider",
          "depositor",
          "recipient"
        ],
        "additionalProperties": true
      },
      "ExecuteQuoteRequest": {
        "type": "object",
        "properties": {
          "lockId": {
            "type": "string",
            "minLength": 1
          },
          "referralCode": {
            "type": "string"
          }
        },
        "required": [
          "lockId"
        ],
        "additionalProperties": true
      },
      "SubmitSignatureRequest": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/StargateSignatureRequest"
          },
          {
            "$ref": "#/components/schemas/UniswapXSignatureRequest"
          }
        ]
      },
      "TrackTransactionRequest": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string"
          },
          "txHash": {
            "type": "string"
          },
          "trackingToken": {
            "type": "string",
            "description": "Execute-issued capability required for unauthenticated hash submission."
          }
        },
        "required": [
          "transactionId"
        ],
        "additionalProperties": true
      },
      "Route": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "routeId": {
            "type": "string"
          },
          "fees": {
            "$ref": "#/components/schemas/Fees"
          },
          "src": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AmountDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "dst": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AmountDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "steps": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "image": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [],
                  "additionalProperties": true
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "expiresAt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "srcAmount": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dstAmount": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "srcAmountUSD": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dstAmountUSD": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "minDstAmount": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalFee": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalFeeUSD": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "fillTime": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "estimatedTime": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "priceImpact": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "ttlSeconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "fees"
        ],
        "additionalProperties": true
      },
      "LockedQuote": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "routeId": {
            "type": "string"
          },
          "fees": {
            "$ref": "#/components/schemas/Fees"
          },
          "src": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AmountDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "dst": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AmountDetails"
              },
              {
                "type": "null"
              }
            ]
          },
          "steps": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "image": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [],
                  "additionalProperties": true
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "expiresAt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "srcAmount": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dstAmount": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "srcAmountUSD": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dstAmountUSD": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "minDstAmount": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalFee": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalFeeUSD": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "fillTime": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "estimatedTime": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "priceImpact": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "ttlSeconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "lockId": {
            "type": "string"
          },
          "ttlMs": {
            "type": "number"
          }
        },
        "required": [
          "provider",
          "fees",
          "lockId"
        ],
        "additionalProperties": true
      },
      "Exec": {
        "type": "object",
        "properties": {
          "chainId": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "user": {
            "type": "string"
          },
          "srcToken": {
            "type": "string"
          },
          "srcAmount": {
            "type": "string"
          },
          "providerTarget": {
            "type": "string"
          },
          "providerCalldata": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "expiresAt": {
            "type": "number"
          },
          "approvalTarget": {
            "type": "string"
          },
          "approvalToken": {
            "type": "string"
          },
          "approvalAmount": {
            "type": "string"
          },
          "allSteps": {
            "type": "array",
            "items": {}
          },
          "meta": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          }
        },
        "required": [],
        "additionalProperties": true
      },
      "Transaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "hash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "inboundHash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "outboundHash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "type": "string"
          },
          "providerName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "providerImage": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "srcToken": {
            "type": "integer"
          },
          "dstToken": {
            "type": "integer"
          },
          "srcAmount": {
            "type": "string"
          },
          "dstAmount": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "walletAddress": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "recipientWalletAddress": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "amountUsd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "srcAsset": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "symbol": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "contract": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "chain": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [],
            "additionalProperties": true
          },
          "dstAsset": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "symbol": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "contract": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "image": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "chain": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [],
            "additionalProperties": true
          },
          "exchangeSteps": {
            "type": "array",
            "items": {}
          },
          "fee": {
            "type": "object",
            "properties": {
              "amount": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "amountUsd": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "details": {}
            },
            "required": [],
            "additionalProperties": true
          },
          "srcTokenSymbol": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "srcTokenContract": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "srcTokenImage": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "srcTokenChain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dstTokenSymbol": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dstTokenContract": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dstTokenImage": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dstTokenChain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "status"
        ],
        "additionalProperties": true
      },
      "ExecuteQuoteResponse": {
        "type": "object",
        "properties": {
          "lockId": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "quote": {
            "type": "object",
            "properties": {
              "fees": {
                "$ref": "#/components/schemas/Fees"
              }
            },
            "required": [],
            "additionalProperties": true
          },
          "exec": {
            "$ref": "#/components/schemas/Exec"
          },
          "providerResult": {
            "description": "Provider-specific execution data. Matches UniswapXOrderExecution when exec.meta.executionMode is uniswapx-order."
          },
          "transaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Transaction"
              },
              {
                "type": "null"
              }
            ]
          },
          "trackingToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "transactionError": {
            "type": "string"
          },
          "transactionMeta": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "instructions": {}
        },
        "required": [
          "lockId",
          "quote",
          "exec",
          "transaction"
        ],
        "additionalProperties": true
      },
      "StatusResponse": {
        "type": "object",
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/Transaction"
          },
          "final": {
            "type": "boolean"
          }
        },
        "required": [
          "transaction",
          "final"
        ],
        "additionalProperties": true
      },
      "TrackResponse": {
        "type": "object",
        "properties": {
          "transaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Transaction"
              },
              {
                "type": "null"
              }
            ]
          },
          "final": {
            "type": "boolean"
          },
          "tracking": {
            "type": "boolean"
          }
        },
        "required": [
          "transaction",
          "final",
          "tracking"
        ],
        "additionalProperties": true
      },
      "SubmitSignatureResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/StargateSignatureResponse"
          },
          {
            "$ref": "#/components/schemas/UniswapXSignatureResponse"
          }
        ]
      },
      "ErrorEnvelope": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "field": {
                "type": "string"
              },
              "requestId": {
                "type": "string"
              },
              "details": {
                "type": "object",
                "properties": {},
                "required": [],
                "additionalProperties": true
              }
            },
            "required": [
              "code",
              "message",
              "requestId",
              "details"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": true
      },
      "ChainsEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Chain"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Pagination"
          },
          "meta": {}
        },
        "required": [
          "data",
          "pagination"
        ],
        "additionalProperties": true
      },
      "AssetsEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Asset"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Pagination"
          },
          "meta": {}
        },
        "required": [
          "data",
          "pagination"
        ],
        "additionalProperties": true
      },
      "SourcesEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Source"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Pagination"
          },
          "meta": {}
        },
        "required": [
          "data",
          "pagination"
        ],
        "additionalProperties": true
      },
      "HistoryEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Transaction"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/Pagination"
          },
          "meta": {}
        },
        "required": [
          "data",
          "pagination"
        ],
        "additionalProperties": true
      },
      "QuotesEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Route"
            }
          },
          "meta": {}
        },
        "required": [
          "data"
        ],
        "additionalProperties": true
      },
      "LockEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LockedQuote"
          },
          "meta": {}
        },
        "required": [
          "data"
        ],
        "additionalProperties": true
      },
      "ExecuteEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ExecuteQuoteResponse"
          },
          "meta": {}
        },
        "required": [
          "data"
        ],
        "additionalProperties": true
      },
      "SignatureEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SubmitSignatureResponse"
          },
          "meta": {}
        },
        "required": [
          "data"
        ],
        "additionalProperties": true
      },
      "TrackEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TrackResponse"
          },
          "meta": {}
        },
        "required": [
          "data"
        ],
        "additionalProperties": true
      },
      "StatusEnvelope": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StatusResponse"
          },
          "meta": {}
        },
        "required": [
          "data"
        ],
        "additionalProperties": true
      },
      "StargateSignatureRequest": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "description": "Optional; defaults to STARGATE."
          },
          "providerQuoteId": {
            "type": "string"
          },
          "signatures": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]+$"
            },
            "minItems": 1
          }
        },
        "required": [
          "providerQuoteId",
          "signatures"
        ],
        "additionalProperties": true
      },
      "UniswapXSignatureRequest": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "const": "UNISWAPX"
          },
          "transactionId": {
            "type": "string",
            "minLength": 1,
            "description": "Public transaction ID returned by /quote/execute."
          },
          "trackingToken": {
            "type": "string",
            "minLength": 1,
            "description": "Private capability returned by /quote/execute. Never share or log it."
          },
          "signature": {
            "type": "string",
            "pattern": "^0x(?:[0-9a-fA-F]{128}|[0-9a-fA-F]{130})$",
            "description": "EIP-712 signature of providerResult.signTypedData by the swapper."
          }
        },
        "required": [
          "provider",
          "transactionId",
          "trackingToken",
          "signature"
        ],
        "additionalProperties": true
      },
      "StargateSignatureResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "providerQuoteId": {
            "type": "string"
          },
          "result": {}
        },
        "required": [
          "provider",
          "providerQuoteId",
          "result"
        ],
        "additionalProperties": true
      },
      "UniswapXSignatureResponse": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "const": "UNISWAPX"
          },
          "orderId": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{64}$"
          },
          "submissionState": {
            "type": "string",
            "enum": [
              "submitted",
              "unknown"
            ],
            "description": "unknown: the order service did not confirm acceptance. Repeat the same request to reconcile; the server checks the order service before resubmitting."
          },
          "orderStatus": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "UniswapX order status, for example open or filled. Unknown values may appear."
          },
          "transaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Transaction"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "provider",
          "orderId",
          "submissionState",
          "orderStatus"
        ],
        "additionalProperties": true
      },
      "UniswapXOrderExecution": {
        "type": "object",
        "description": "providerResult profile when exec.meta.executionMode is uniswapx-order. Ensure the Permit2 allowance, sign signTypedData with the swapper wallet, then submit the signature. The order is gasless: a filler pays the swap gas.",
        "properties": {
          "provider": {
            "type": "string",
            "const": "UNISWAPX"
          },
          "executionMode": {
            "type": "string",
            "const": "uniswapx-order"
          },
          "chainId": {
            "type": "integer"
          },
          "orderId": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{64}$"
          },
          "routing": {
            "type": "string",
            "enum": [
              "DUTCH_V2",
              "DUTCH_V3"
            ]
          },
          "deadline": {
            "type": "integer",
            "description": "Unix seconds. Submit the signature before this time."
          },
          "approvalTarget": {
            "type": "string",
            "description": "Canonical Permit2 contract."
          },
          "approvalToken": {
            "type": "string"
          },
          "approvalAmount": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Minimum ERC-20 allowance to Permit2, in base units."
          },
          "signTypedData": {
            "type": "object",
            "properties": {
              "domain": {
                "type": "object",
                "additionalProperties": true
              },
              "types": {
                "type": "object",
                "additionalProperties": true
              },
              "primaryType": {
                "type": "string",
                "const": "PermitWitnessTransferFrom"
              },
              "message": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "required": [
              "domain",
              "types",
              "primaryType",
              "message"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "provider",
          "executionMode",
          "chainId",
          "orderId",
          "routing",
          "deadline",
          "approvalTarget",
          "approvalToken",
          "approvalAmount",
          "signTypedData"
        ],
        "additionalProperties": true
      }
    },
    "securitySchemes": {
      "walletBearer": {
        "type": "http",
        "scheme": "bearer",
        "description": "Existing authenticated wallet session, optional on tracking."
      }
    }
  }
}
