取出 LP
build_withdraw_lpBuilds an unsigned transaction to withdraw LP shares and redeem underlying assets (USDC or meme tokens); omit shares to withdraw all. Market creators must request a 7-day unlock before redemption.
Instructions
生成取出 LP 份额换回底层资产(USDC 本位市场退回 USDC,币本位市场退回对应 Meme 代币)的交易;不填 shares 为全部取出。普通 LP 无锁仓限制即时赎回;市场创建者(dev)固定需先申请解锁满 7 天后再调用本工具领取赎回。
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": {
"account": "<account>",
"market": "<market>"
},
"name": "build_withdraw_lp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | 市场:短链接 slug、市场合约地址、代币地址、代币代号,或标的代号如 BTC / ETH / XAU(表示该标的的官方市场) | |
| shares | No | 取出多少份额;不填为全部 | |
| account | Yes | 用户钱包地址(交易的签名人和收款人) |