
Testnet PirateCash Public API
A listing of public API endpoints for retrieving Testnet PirateCash coin data from the network without the need for a local wallet
API Documentation

API Calls
Return data from coind
- getdifficultyReturns the current difficulty.testnet.piratecash.info/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.testnet.piratecash.info/api/getconnectioncount
- getblockcountReturns the current block index.testnet.piratecash.info/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.testnet.piratecash.info/api/getblockhash?index=566452
- getblock [hash]Returns information about the block with the given hash.testnet.piratecash.info/api/getblock?hash=011cea05f55e6d1e6217b1695ad0d7b397c1d3cc30a8430684f44f4bb4dee671
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
- getvotelistReturns the current vote list.testnet.piratecash.info/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.testnet.piratecash.info/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplytestnet.piratecash.info/ext/getmoneysupply
- getdistributionReturns wealth distribution statstestnet.piratecash.info/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addresstestnet.piratecash.info/ext/getaddress/cjcJfTLmDUDEBaqNYm2rqNTWLkCq9muHKh
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]testnet.piratecash.info/ext/getaddresstxs/cjcJfTLmDUDEBaqNYm2rqNTWLkCq9muHKh/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashtestnet.piratecash.info/ext/gettx/b359433af1aaab37559f33f8a23f31f8433fba397769bee9dcd3afa9169fe857
- getbalance (/ext/getbalance/hash)Returns current balance of given addresstestnet.piratecash.info/ext/getbalance/cjcJfTLmDUDEBaqNYm2rqNTWLkCq9muHKh
- 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 hourstestnet.piratecash.info/ext/getnetworkpeers
- getmasternodelistReturns the complete list of masternodes on the network.testnet.piratecash.info/ext/getmasternodelist
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)testnet.piratecash.info/tx/b359433af1aaab37559f33f8a23f31f8433fba397769bee9dcd3afa9169fe857
- block (/block/hash)testnet.piratecash.info/block/011cea05f55e6d1e6217b1695ad0d7b397c1d3cc30a8430684f44f4bb4dee671
- address (/address/hash)testnet.piratecash.info/address/cjcJfTLmDUDEBaqNYm2rqNTWLkCq9muHKh
- qrcode (/qr/hash)testnet.piratecash.info/qr/cjcJfTLmDUDEBaqNYm2rqNTWLkCq9muHKh


