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