GET
/
swaps
curl --request GET \
  --url https://trade-api.gateway.uniswap.org/v1/swaps \
  --header 'x-api-key: <api-key>'
{
  "requestId": "<string>",
  "swaps": [
    {
      "swapType": "DUTCH_LIMIT",
      "status": "PENDING",
      "txHash": "<string>",
      "swapId": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Query Parameters

txHashes
string[]
required

The transaction hashes.

The unique hash of the transaction.

chainId
enum<number>

The unique ID of the blockchain. For a list of supported chains see the FAQ.

Available options:
1,
10,
56,
130,
137,
324,
480,
1868,
8453,
10143,
42161,
42220,
43114,
81457,
7777777,
1301,
84532,
11155111

Response

200
application/json

Get swap successful.

The response is of type object.