get_current_price
Fetches the current price for a Solana bonding curve bucket using its public key, helping you check token pricing before swaps or deposits.
Instructions
Get the current price on a bonding curve
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": {
"bondingCurveBucket": "<bondingCurveBucket>"
},
"name": "get_current_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bondingCurveBucket | Yes | The public key of the bonding curve bucket |