hookr_prepare_add_liquidity
Build ONE unsigned call that adds liquidity to a Hookr pool over a price range (or full range). The quote leg is capped for now. Your wallet signs and pays; nothing is sent here. Liquidity can lose value; not advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"poolId": "<poolId>",
"wallet": "<wallet>"
},
"name": "hookr_prepare_add_liquidity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lower | No | ||
| upper | No | ||
| poolId | Yes | ||
| wallet | Yes | 0x wallet address | |
| fullRange | No | ||
| quoteAmount | No | ||
| tokenAmount | No |