
RatCoin 3.2 Public API
A listing of public API endpoints for retrieving RatCoin 3.2 coin data from the network without the need for a local wallet
API Documentation

API Calls
Return data from coind
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.ratcoin.net/api/getconnectioncount
- getblockcountReturns the current block index.explorer.ratcoin.net/api/getblockcount
- getblock [hash]Returns information about the block with the given hash.explorer.ratcoin.net/api/getblock?hash=cec1bc0814c71b47f1acac997eb32ec4838bd320b5b4bc5a77e6aa30225e046c
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.ratcoin.net/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.ratcoin.net/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.ratcoin.net/ext/getaddress/RhKJzbU2RbzTewfRMsXx5HQafgRyLvE8Bu
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.ratcoin.net/ext/getaddresstxs/RhKJzbU2RbzTewfRMsXx5HQafgRyLvE8Bu/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.ratcoin.net/ext/gettx/89b74ab72b0ea503c2f21e9512e972656bc2de68c1fc8b11ccd3b8f2e4604791
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.ratcoin.net/ext/getbalance/RhKJzbU2RbzTewfRMsXx5HQafgRyLvE8Bu
- 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.ratcoin.net/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.ratcoin.net/ext/getnetworkpeers
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, USD price, network connection count, block countexplorer.ratcoin.net/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.ratcoin.net/tx/89b74ab72b0ea503c2f21e9512e972656bc2de68c1fc8b11ccd3b8f2e4604791
- block (/block/hash)explorer.ratcoin.net/block/cec1bc0814c71b47f1acac997eb32ec4838bd320b5b4bc5a77e6aa30225e046c
- address (/address/hash)explorer.ratcoin.net/address/RhKJzbU2RbzTewfRMsXx5HQafgRyLvE8Bu
- qrcode (/qr/hash)explorer.ratcoin.net/qr/RhKJzbU2RbzTewfRMsXx5HQafgRyLvE8Bu

