CmusicAI Public API
A listing of public API endpoints for retrieving CmusicAI coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.explorer.cmusic.ai/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.cmusic.ai/api/getconnectioncount
- getblockcountReturns the current block index.explorer.cmusic.ai/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.cmusic.ai/api/getblockhash?index=1
- getblock [hash]Returns information about the block with the given hash.explorer.cmusic.ai/api/getblock?hash=0000d55edbc66edbf0b757ea400335e65966a6b84c6b6e250318748405504c3d
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
- getnetworkhashpsReturns the current network hashrate. (hash/s)explorer.cmusic.ai/api/getnetworkhashps
- getmasternodecountReturns the total number of masternodes on the network.explorer.cmusic.ai/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.cmusic.ai/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.cmusic.ai/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.cmusic.ai/ext/getaddress/CfkD1BNteEQeBSaZu7YA8zsFhunUVH4BSQ
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.cmusic.ai/ext/getaddresstxs/CfkD1BNteEQeBSaZu7YA8zsFhunUVH4BSQ/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.cmusic.ai/ext/gettx/b1ed586a25c547fe069c3b66db27ed3d4f0f7f277aaa4b2552579ecce98ba200
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.cmusic.ai/ext/getbalance/CfkD1BNteEQeBSaZu7YA8zsFhunUVH4BSQ
- getlasttxs (/ext/getlasttxs/min/start/length)Returns last [length] transactions greater than [min] coins, starting from offset [start]Note: [length] is limited to returning 100 records per query
- getcurrentpriceReturns last known exchange priceexplorer.cmusic.ai/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.cmusic.ai/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT price, # of masternodesexplorer.cmusic.ai/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, USD price, network connection count, block count, count of online masternodes, count of offline masternodesexplorer.cmusic.ai/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.explorer.cmusic.ai/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorer.cmusic.ai/ext/getmasternoderewards/CfkD1BNteEQeBSaZu7YA8zsFhunUVH4BSQ/1
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]explorer.cmusic.ai/ext/getmasternoderewardstotal/CfkD1BNteEQeBSaZu7YA8zsFhunUVH4BSQ/1
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.cmusic.ai/tx/b1ed586a25c547fe069c3b66db27ed3d4f0f7f277aaa4b2552579ecce98ba200
- block (/block/hash)explorer.cmusic.ai/block/0000d55edbc66edbf0b757ea400335e65966a6b84c6b6e250318748405504c3d
- address (/address/hash)explorer.cmusic.ai/address/CfkD1BNteEQeBSaZu7YA8zsFhunUVH4BSQ
- qrcode (/qr/hash)explorer.cmusic.ai/qr/CfkD1BNteEQeBSaZu7YA8zsFhunUVH4BSQ