{
  "opencollection": "1.0.0",
  "info": {
    "name": "Token Trading Approval API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Approval",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Check if token approval is required",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://trade-api.gateway.uniswap.org/v1/check_approval",
            "headers": [
              {
                "name": "x-permit2-disabled",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Allows the requestor to check if the `walletAddress` has the required approval to transact the `token` up to the `amount` specified. If the `walletAddress` does not have the required approval, the response will include a transaction to approve the token spend. If the `walletAddress` has the required approval, the response will return the approval with a `null` value. If the parameter `includeGasInfo` is set to `true` and an approval is needed, then the response will include both the transaction "
        }
      ]
    }
  ],
  "bundled": true
}