FUCHA Public API
A listing of public API endpoints for retrieving FUCHA coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.178.128.44.32:3001/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.178.128.44.32:3001/api/getconnectioncount
- getblockcountReturns the current block index.178.128.44.32:3001/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.178.128.44.32:3001/api/getblockhash?index=64152
- getblock [hash]Returns information about the block with the given hash.178.128.44.32:3001/api/getblock?hash=775d67da29dd6553268061f86368d06654944dd5d5c61db4c97e4c7960c11a74
- 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)178.128.44.32:3001/api/getnetworkhashps
- getvotelistReturns the current vote list.178.128.44.32:3001/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.178.128.44.32:3001/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supply178.128.44.32:3001/ext/getmoneysupply
- getdistributionReturns wealth distribution stats178.128.44.32:3001/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given address178.128.44.32:3001/ext/getaddress/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]178.128.44.32:3001/ext/getaddresstxs/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hash178.128.44.32:3001/ext/gettx/6cb3babd256de253f926f10bc8574dadf0a3e2fc8380107b81eb07c67d1e73ed
- getbalance (/ext/getbalance/hash)Returns current balance of given address178.128.44.32:3001/ext/getbalance/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW
- 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 price178.128.44.32:3001/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hours178.128.44.32:3001/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodes178.128.44.32:3001/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 masternodes178.128.44.32:3001/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.178.128.44.32:3001/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]178.128.44.32:3001/ext/getmasternoderewards/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW/64152
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]178.128.44.32:3001/ext/getmasternoderewardstotal/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW/64152
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)178.128.44.32:3001/tx/6cb3babd256de253f926f10bc8574dadf0a3e2fc8380107b81eb07c67d1e73ed
- block (/block/hash)178.128.44.32:3001/block/775d67da29dd6553268061f86368d06654944dd5d5c61db4c97e4c7960c11a74
- address (/address/hash)178.128.44.32:3001/address/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW
- qrcode (/qr/hash)178.128.44.32:3001/qr/ELvb8AZRgHmdsDnD1HYFwbSY4UkPhoECCW