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