买 meme 代币
build_buy_tokenBuilds a transaction to buy a market's meme token with USDC, applying slippage to the minimum received and routing via the internal book before graduation or PancakeSwap V2 after.
Instructions
生成用报价资产(通常是 USDC)买某市场 meme 代币的交易,最少得到数量按报价扣滑点。毕业前在内盘成交,毕业后自动走 PancakeSwap V2 路由。
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>",
"usdc": "<usdc>",
"slippagePct": "<slippagePct>"
},
"name": "build_buy_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usdc | Yes | 花多少报价资产(USDC 市场即 USDC) | |
| market | Yes | 市场:短链接 slug、市场合约地址、代币地址、代币代号,或标的代号如 BTC / ETH / XAU(表示该标的的官方市场) | |
| account | Yes | 用户钱包地址(交易的签名人和收款人) | |
| slippagePct | Yes |