v1

latestOpenAPI 3.0.02026-07-142115792.8 KB
Liquidity

Claim LP fees calldata

The response will also have the transaction to claim the fees for an LP position for the corresponding pool. If the parameter simulateTransaction is set to true, then the response will include the gas fees for the claim transaction.

post/lp/claim

Request body

protocol'V2' | 'V3' | 'V4' | 'UNISWAPX' | 'UNISWAPX_V2' | 'UNISWAPX_V3'

The protocol to use for the swap/order.

tokenIdnumber
walletAddressstring
chainId1 | 10 | 56 | 130 | 137 | 324 | 480 | 1868 | 8453 | 10143 | 42161 | 42220 | 43114 | 81457 | 7777777 | 1301 | 84532 | 11155111 | 143 | 196

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

expectedTokenOwed0RawAmountstring
expectedTokenOwed1RawAmountstring
collectAsWETHboolean
simulateTransactionboolean

Response

Claim LP Fees successful.

requestIdstring

A unique ID for the request.

gasFeestring

The total estimated gas cost of this transaction (eg. gasLimit multiplied by maxFeePerGas) in the base unit of the chain.