Explorer
Movement
Network
Top 100
API
Claim Address
Orphaned Blocks
Search
42-coin Public API
A listing of public API endpoints for retrieving 42-coin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
getdifficulty
Returns the current difficulty.
explorer.42-coin.org/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
explorer.42-coin.org/api/getconnectioncount
getblockcount
Returns the current block index.
explorer.42-coin.org/api/getblockcount
getblockhash [index]
Returns the hash of the block at [index]; index 0 is the genesis block.
explorer.42-coin.org/api/getblockhash?index=64152
getblock [hash]
Returns information about the block with the given hash.
explorer.42-coin.org/api/getblock?hash=000000000bea31816fc2f21bb242168b2363edf6652f3721ee67439e363acc3e
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
explorer.42-coin.org/api/getrawtransaction?txid=aabd145d179f0c34d79c85a9d1ab4120646909478c46356c20b762aee0a43edc&decrypt=0
explorer.42-coin.org/api/getrawtransaction?txid=aabd145d179f0c34d79c85a9d1ab4120646909478c46356c20b762aee0a43edc&decrypt=1
Extended API
Return data from local indexes
getdistribution
Returns wealth distribution stats
explorer.42-coin.org/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
explorer.42-coin.org/ext/getaddress/4Ym5Exwpu74K6enEAmdUe9NL6thLPqadVZ
getaddresstxs (/ext/getaddresstxs/hash/start/length)
Returns last [length] transactions for address [hash], starting from offset [start]
explorer.42-coin.org/ext/getaddresstxs/4Ym5Exwpu74K6enEAmdUe9NL6thLPqadVZ/0/50
gettx (/ext/gettx/hash)
Returns information for given tx hash
explorer.42-coin.org/ext/gettx/aabd145d179f0c34d79c85a9d1ab4120646909478c46356c20b762aee0a43edc
getbalance (/ext/getbalance/hash)
Returns current balance of given address
explorer.42-coin.org/ext/getbalance/4Ym5Exwpu74K6enEAmdUe9NL6thLPqadVZ
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
explorer.42-coin.org/ext/getlasttxs/100/0/100
getbasicstats
Returns basic statistics about the coin including: block count, circulating supply, USD price, BTC price
explorer.42-coin.org/ext/getbasicstats
Linking (GET)
Linking to the block explorer
transaction (/tx/txid)
explorer.42-coin.org/tx/aabd145d179f0c34d79c85a9d1ab4120646909478c46356c20b762aee0a43edc
block (/block/hash)
explorer.42-coin.org/block/000000000bea31816fc2f21bb242168b2363edf6652f3721ee67439e363acc3e
address (/address/hash)
explorer.42-coin.org/address/4Ym5Exwpu74K6enEAmdUe9NL6thLPqadVZ
qrcode (/qr/hash)
explorer.42-coin.org/qr/4Ym5Exwpu74K6enEAmdUe9NL6thLPqadVZ