Jump to Content
uniswap-docs
API Reference
v1.0

Log Inuniswap-docs
API Reference
Log In
v1.0API Reference

WELCOme

  • Getting Started
  • Token Trading Workflow
  • Liquidity Staking Workflow
  • Code Examples
  • FAQs

Token Trading

  • Approval
    • Check if token approval is requiredpost
  • Quote
    • Get a quotepost
    • Get a limit order quotepost
  • Order
    • Create a gasless orderpost
    • Get gasless ordersget
  • Swap
    • Create swap calldatapost
    • Get swaps statusget
    • Create swap EIP 5792 calldatapost
    • Create swap EIP 7702 calldatapost
  • IndicativeQuote
    • Get an indicative quotepost
  • Send
    • Create send calldatapost
  • SwappableTokens
    • Get bridgable tokensget
  • LimitOrderQuote
  • WalletEncode7702
    • Encode wallet transactionspost
  • WalletCheckDelegation
    • Get wallet delegation infopost

Liquidity Staking

  • Liquidity
    • Check if tokens and permits need to be approved to add liquiditypost
    • Create pool and position calldatapost
    • Increase LP position calldatapost
    • Decrease LP position calldatapost
    • Claim LP fees calldatapost
    • Migrate LP position calldatapost
    • Claim LP rewards calldatapost
Powered by 

Claim LP rewards calldata

post
https://trade-api.gateway.uniswap.org/v1/lp/claim_rewards

The response will have the transaction to claim the rewards. If the parameter simulateTransaction is set to true, then the response will include the gas fees for the claim transaction.

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!