Skip to main content

get_supplies

Returns CF Benchmarks asset supply data using the same shapes as the REST supplies API.

Parameters

FieldTypeRequiredDescription
modestringYeshistory returns full supply history for one asset, latest returns only the latest supply values for one asset, and all_latest returns the latest supply values for all supported assets. One of: history, latest, all_latest.
assetstringNoAsset symbol such as BTC or ETH. Required for history and latest modes.

Example request

{
"method": "tools/call",
"params": {
"name": "get_supplies",
"arguments": {
"mode": "history"
}
}
}