
Undercroft Public API
A listing of public API endpoints for retrieving Undercroft 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.undercroftucft.xyz/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.undercroftucft.xyz/api/getconnectioncount
- getblockcountReturns the current block index.explorer.undercroftucft.xyz/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.undercroftucft.xyz/api/getblockhash?index=0
- getblock [hash]Returns information about the block with the given hash.explorer.undercroftucft.xyz/api/getblock?hash=0000039719e99fa74185e050f6f3722293027b5a3af630fa179fdad33b42bb48
- 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.undercroftucft.xyz/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer.undercroftucft.xyz/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorer.undercroftucft.xyz/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.undercroftucft.xyz/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.undercroftucft.xyz/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.undercroftucft.xyz/ext/getaddress/tcg1q4pdac99dx6zjhsje2yjnm8jxzma324ujc8fumc
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.undercroftucft.xyz/ext/getaddresstxs/tcg1q4pdac99dx6zjhsje2yjnm8jxzma324ujc8fumc/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.undercroftucft.xyz/ext/gettx/d14f53469b76d7391bfe67f4829cda65127cb00c41e43f20794d60f2b76e7bb3
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.undercroftucft.xyz/ext/getbalance/tcg1q4pdac99dx6zjhsje2yjnm8jxzma324ujc8fumc
- 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.undercroftucft.xyz/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.undercroftucft.xyz/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesexplorer.undercroftucft.xyz/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block count, count of online masternodes, count of offline masternodesexplorer.undercroftucft.xyz/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.explorer.undercroftucft.xyz/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorer.undercroftucft.xyz/ext/getmasternoderewards/tcg1q4pdac99dx6zjhsje2yjnm8jxzma324ujc8fumc/0
- 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.undercroftucft.xyz/ext/getmasternoderewardstotal/tcg1q4pdac99dx6zjhsje2yjnm8jxzma324ujc8fumc/0
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.undercroftucft.xyz/tx/d14f53469b76d7391bfe67f4829cda65127cb00c41e43f20794d60f2b76e7bb3
- block (/block/hash)explorer.undercroftucft.xyz/block/0000039719e99fa74185e050f6f3722293027b5a3af630fa179fdad33b42bb48
- address (/address/hash)explorer.undercroftucft.xyz/address/tcg1q4pdac99dx6zjhsje2yjnm8jxzma324ujc8fumc
- qrcode (/qr/hash)explorer.undercroftucft.xyz/qr/tcg1q4pdac99dx6zjhsje2yjnm8jxzma324ujc8fumc

