Commodity price
commodity_pricePrice of ONE Citizens City commodity in APEX from its on-chain AMM pool: price, token and APEX reserves (depth), fee and burn in basis points, whether it is tradeable or paused, and the minimum buy. Pass the name, e.g. "Tomato", "Truffle", "Voidbloom"; an unknown name returns the list of names. For every market at once use commodity_markets; to trade, commodity_swap_build.
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": {
"commodity": "<commodity>"
},
"name": "commodity_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commodity | Yes |