shaniu_prepare_buy
Prepare an unsigned buy transaction that fills one or more sell orders. Computes exact BNB cost. Single order uses the market contract; multiple orders use the cart contract (buyMany) in one tx.
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": {
"fills": "<fills>"
},
"name": "shaniu_prepare_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fills | Yes |