Add liquidity to a Uniswap V3 pool
liquidity_addMint a Uniswap V3 liquidity position for any token pair on Robinhood Chain with a custom price range. Returns broadcastable steps for approvals and minting, costing $0.01 USDG.
Instructions
Mints a Uniswap V3 liquidity position for any token pair on Robinhood Chain, with a custom price range. Costs $0.01 USDG. amountA/amountB are maximums — the contract only pulls what the chosen range actually needs. Comes back as steps (approvals, then mint); broadcast them in order. Pass the result to the broadcast tool to actually sign and send it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenA | Yes | "ETH", "USDG", or any ERC20 token address | |
| tokenB | Yes | "ETH", "USDG", or any ERC20 token address | |
| amountA | Yes | Max amount of tokenA to deposit, as a decimal string, e.g. "0.1" | |
| amountB | Yes | Max amount of tokenB to deposit, as a decimal string, e.g. "180" | |
| rangePct | No | Price band width in percent around the current price, default 10 (i.e. +-10%) |