Defcoin Public API
A listing of public API endpoints for retrieving Defcoin coin data from the network without the need for a local wallet
“The Honeypot of Cryptocurrencies”

API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.defcoin.dc903.org/explorer/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.defcoin.dc903.org/explorer/api/getconnectioncount
- getblockcountReturns the current block index.defcoin.dc903.org/explorer/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.defcoin.dc903.org/explorer/api/getblockhash?index=2308937
- getblock [hash]Returns information about the block with the given hash.defcoin.dc903.org/explorer/api/getblock?hash=141dfef0888faa928eadb7534462582925f7b732468befa5e8e4b97ef6cf0be1
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
- getnetworkhashpsReturns the wallet's most recent network hashrate estimate. Dormant chains may leave this stale.defcoin.dc903.org/explorer/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplydefcoin.dc903.org/explorer/ext/getmoneysupply
- getdistributionReturns wealth distribution statsdefcoin.dc903.org/explorer/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressdefcoin.dc903.org/explorer/ext/getaddress/DAiV1FKrxXonjocZywr6YeafqKqsvnQven
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]defcoin.dc903.org/explorer/ext/getaddresstxs/DAiV1FKrxXonjocZywr6YeafqKqsvnQven/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashdefcoin.dc903.org/explorer/ext/gettx/be38e2b0eb43cde72b2c88b4d7850369f2372d8c2adb28d9a7705a4cd43b3ff1
- getbalance (/ext/getbalance/hash)Returns current balance of given addressdefcoin.dc903.org/explorer/ext/getbalance/DAiV1FKrxXonjocZywr6YeafqKqsvnQven
- 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
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursdefcoin.dc903.org/explorer/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, difficulty, and network connection countdefcoin.dc903.org/explorer/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate estimate, network connection count, and block countdefcoin.dc903.org/explorer/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)defcoin.dc903.org/explorer/tx/be38e2b0eb43cde72b2c88b4d7850369f2372d8c2adb28d9a7705a4cd43b3ff1
- block (/block/hash)defcoin.dc903.org/explorer/block/141dfef0888faa928eadb7534462582925f7b732468befa5e8e4b97ef6cf0be1
- address (/address/hash)defcoin.dc903.org/explorer/address/DAiV1FKrxXonjocZywr6YeafqKqsvnQven
- qrcode (/qr/hash)defcoin.dc903.org/explorer/qr/DAiV1FKrxXonjocZywr6YeafqKqsvnQven