Quote Buy
quote_buyBonding-curve BUY quote (constant product, virtual reserves). $0.001 USDC.
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": {
"quote_reserves": "<quote_reserves>",
"token_reserves": "<token_reserves>",
"amount_in": "<amount_in>"
},
"name": "quote_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee_bps | No | Simulated trading fee in basis points; 100 means 1 percent. Curve simulation requires at least 0 and less than 10000. This is not the CurveCall API charge. | |
| payment | No | Optional base64-encoded x402 payment payload returned by an authorized payment client, not a private key or API token. Omit to receive payment requirements. A successful authorized call may settle a USDC charge; repeated paid calls may charge again. | |
| amount_in | Yes | Positive amount of quote asset to spend in the simulation, in the same units as quote_reserves. No trade is executed. | |
| quote_reserves | Yes | Positive virtual reserve amount of the quote asset in consistent human-readable asset units, not USD unless the quote asset is USD-denominated. | |
| token_reserves | Yes | Positive virtual token reserve amount in human-readable token units, consistent with the amount supplied. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||