Network & Supply
Node information, network status, and coin supply data.
Returns comprehensive node information including server version, network ID, sync status, and account store availability.
{
"id": 1,
"method": "getInfo",
"params": [{}]
}
// Response
{
"serverVersion": "1.1.0",
"networkId": "sahyadri-mainnet",
"hasAccountStore": true,
"isSynced": true,
"mempoolSize": 23,
"p2pId": "abc123...",
"hasNotifyCommand": true,
"hasMessageId": true
}Returns the current circulating supply and maximum supply. This is the primary endpoint for CoinGecko and CoinMarketCap to poll live supply data for listing.
{
"id": 2,
"method": "getCoinSupply",
"params": [{}]
}
// Response
{
"circulatingKana": "0",
"maxKana": "2100000000000000"
}
// Convert to CSM:
// circulatingCSM = circulatingKana / 100000000
// maxCSM = maxKana / 100000000 = 21,000,000 CSMReturns comprehensive DAG statistics: block count, blue score, DAA score, difficulty, and block rate.
{
"id": 3,
"method": "getSahyadriDagInfo",
"params": [{}]
}
// Response
{
"blockCount": 27,
"headerCount": 27,
"daaScore": 1312887,
"blueScore": 27,
"difficulty": 1.0,
"pastMedianTime": 1787043351432,
"tipHashes": [...],
"virtualParentHashes": [...]
}Get the current network name (mainnet/testnet).
{
"id": 4,
"method": "getCurrentNetwork",
"params": [{}]
}
// Response
{
"currentNetwork": "sahyadri-mainnet"
}Get the list of known peer addresses in the network.
{
"id": 5,
"method": "getPeerAddresses",
"params": [{}]
}
// Response
{
"addresses": [...],
"bannedAddresses": [...]
}Get detailed information about connected peers.
{
"id": 6,
"method": "getConnectedPeerInfo",
"params": [{}]
}
// Response
{
"infos": [
{
"id": "peer_id...",
"address": "ip:port",
"userAgent": "sahyadrid/1.1.0",
"isOutbound": true
}
]
}Network Summary
For CoinMarketCap / CoinGecko Listing:
Use getCoinSupply for supply data and getSahyadriDagInfo for network statistics. Both endpoints are public and require no authentication.