Skip to main content
POST
/
lp
/
claim_rewards
Claim LP rewards calldata
curl --request POST \
  --url https://trade-api.gateway.uniswap.org/v1/lp/claim_rewards \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "walletAddress": "<string>",
  "chainId": 1,
  "tokens": [
    "<string>"
  ],
  "distributor": "MERKL",
  "simulateTransaction": true
}'
{
  "requestId": "<string>",
  "claim": {
    "to": "<string>",
    "from": "<string>",
    "data": "<string>",
    "value": "<string>",
    "gasLimit": "<string>",
    "chainId": 1,
    "maxFeePerGas": "<string>",
    "maxPriorityFeePerGas": "<string>",
    "gasPrice": "<string>"
  },
  "gasFee": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
walletAddress
string
chainId
enum<number>
Available options:
1,
10,
56,
130,
137,
324,
480,
1868,
8453,
10143,
42161,
42220,
43114,
81457,
7777777,
1301,
84532,
11155111,
143
tokens
string[]
distributor
enum<string>
Available options:
MERKL
simulateTransaction
boolean

Response

requestId
string
claim
object
gasFee
string