Uniswap · JSON Structure

Uniswap Create Send Request Structure

JSON Structure for CreateSendRequest from Uniswap Trading API

Type: Properties: 0
BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps

Uniswap Create Send 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": "CreateSendRequest Structure",
  "description": "JSON Structure for CreateSendRequest from Uniswap Trading API",
  "structure": {
    "type": "object",
    "properties": {
      "sender": {
        "type": "string",
        "description": "The wallet address which will be used to send the token."
      },
      "recipient": {
        "type": "string",
        "description": "The wallet address which will receive the token."
      },
      "token": {
        "type": "string",
        "description": "The token which will be sent, specified by its token address. For a list of supported tokens, see the [FAQ](https://api-docs.uniswap.org/guides/faqs)."
      },
      "amount": {
        "type": "string",
        "description": "The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0."
      },
      "chainId": {
        "type": "number",
        "description": "The unique ID of the blockchain. For a list of supported chains see the [FAQ](https://api-docs.uniswap.org/guides/faqs)."
      },
      "urgency": {
        "type": "string",
        "description": "The urgency impacts the estimated gas price of the transaction. The higher the urgency, the higher the gas price, and the faster the transaction is likely to be selected from the mempool. The default value is `urgent`.",
        "enum": [
          "normal",
          "fast",
          "urgent"
        ]
      }
    },
    "required": [
      "sender",
      "recipient",
      "token",
      "amount",
      "chainId"
    ]
  }
}