fairbrix Public API
A listing of public API endpoints for retrieving fairbrix coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.fairbrixscan.com/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.fairbrixscan.com/api/getconnectioncount
- getblockcountReturns the current block index.fairbrixscan.com/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.fairbrixscan.com/api/getblockhash?index=0
- getblock [hash]Returns information about the block with the given hash.fairbrixscan.com/api/getblock?hash=002a91713910bc96eb0edf237fcd2799d7a01186e1e96023e860bc70b3916200
- 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)fairbrixscan.com/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyfairbrixscan.com/ext/getmoneysupply
- getdistributionReturns wealth distribution statsfairbrixscan.com/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressfairbrixscan.com/ext/getaddress/fTaGCrTrogB5ZYn6Lze9MQwPx51JX91ZzD
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]fairbrixscan.com/ext/getaddresstxs/fTaGCrTrogB5ZYn6Lze9MQwPx51JX91ZzD/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashfairbrixscan.com/ext/gettx/40a627262ed716f0f3d5104315fe0b600bf8e32a021929299163f74151fa52b1
- getbalance (/ext/getbalance/hash)Returns current balance of given addressfairbrixscan.com/ext/getbalance/fTaGCrTrogB5ZYn6Lze9MQwPx51JX91ZzD
- 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 pricefairbrixscan.com/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursfairbrixscan.com/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT pricefairbrixscan.com/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, USD price, network connection count, block countfairbrixscan.com/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)fairbrixscan.com/tx/40a627262ed716f0f3d5104315fe0b600bf8e32a021929299163f74151fa52b1
- block (/block/hash)fairbrixscan.com/block/002a91713910bc96eb0edf237fcd2799d7a01186e1e96023e860bc70b3916200
- address (/address/hash)fairbrixscan.com/address/fTaGCrTrogB5ZYn6Lze9MQwPx51JX91ZzD
- qrcode (/qr/hash)fairbrixscan.com/qr/fTaGCrTrogB5ZYn6Lze9MQwPx51JX91ZzD