Uniswap · Example Payload

Uniswap Create Gasless Order Example

BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps

Uniswap Create Gasless Order Example is an example object payload from Uniswap, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://trade-api.gateway.uniswap.org/v1/order",
    "headers": {
      "Content-Type": "application/json",
      "x-api-key": "YOUR_API_KEY"
    },
    "body": {
      "encodedOrder": "0x...",
      "orderType": "Dutch_V2",
      "signature": "0x...",
      "chainId": 1,
      "quoteId": "f3c5e2d1-b4a6-4c8f-9e0d-1a2b3c4d5e6f"
    }
  },
  "response": {
    "status": 201,
    "body": {
      "hash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
    }
  }
}