存入 LP
build_deposit_lpBuild an unsigned LP deposit transaction for OURS markets: use USDC on USDC-margined markets or the matching Meme token on coin-margined markets to avoid rejected deposits.
Instructions
生成向某市场存入资产做 LP 的交易,最少得到份额按当前份额价扣 0.5% 计算。USDC 本位市场请传 usdc(启用 MLV 共享池时普通 LP 自动存入 MLV);币本位市场(under=MEME)仅支持存入对应 Meme 代币,请传 tokens(传 usdc 会被直接拒绝,避免上链拒单白烧 Gas)。普通 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_deposit_lp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usdc | No | USDC 本位市场存入多少 USDC(币本位市场不可传 usdc) | |
| market | Yes | 市场:短链接 slug、市场合约地址、代币地址、代币代号,或标的代号如 BTC / ETH / XAU(表示该标的的官方市场) | |
| tokens | No | 仅币本位市场(under=MEME)使用:存入多少枚对应 Meme 代币做 LP | |
| account | Yes | 用户钱包地址(交易的签名人和收款人) |