API Documentation

The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.


API Calls

Return data from coind

  • getdifficulty

    Returns the current difficulty.

    [era.cryptonode.online/api/getdifficulty](/api/getdifficulty)

  • getconnectioncount

    Returns the number of connections the block explorer has to other nodes.

    [era.cryptonode.online/api/getconnectioncount](/api/getconnectioncount)

  • getblockcount

    Returns the current block index.

    [era.cryptonode.online/api/getblockcount](/api/getblockcount)

  • getblockhash [index]

    Returns the hash of the block at ; index 0 is the genesis block.

    [era.cryptonode.online/api/getblockhash?index=0](/api/getblockhash?index=0)

  • getblock [hash]

    Returns information about the block with the given hash.

    [era.cryptonode.online/api/getblock?hash=0000aab7dff29b0749519a7886b8a8d3f2806eb5dd861f9a0dbb7441f9a97f6a](/api/getblock?hash=0000aab7dff29b0749519a7886b8a8d3f2806eb5dd861f9a0dbb7441f9a97f6a)

  • getrawtransaction [txid] [decrypt]

    Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).

    [era.cryptonode.online/api/getrawtransaction?txid=22a2e4e28386bf75759112222b20cf3b889cd60f5e55d7184f8dbdec4d8dc6ff&decrypt=0](/api/getrawtransaction?txid=22a2e4e28386bf75759112222b20cf3b889cd60f5e55d7184f8dbdec4d8dc6ff&decrypt=0)

    [era.cryptonode.online/api/getrawtransaction?txid=22a2e4e28386bf75759112222b20cf3b889cd60f5e55d7184f8dbdec4d8dc6ff&decrypt=1](/api/getrawtransaction?txid=22a2e4e28386bf75759112222b20cf3b889cd60f5e55d7184f8dbdec4d8dc6ff&decrypt=1)

  • getnetworkhashps

    Returns the current network hashrate. (hash/s)

    [era.cryptonode.online/api/getnetworkhashps](/api/getnetworkhashps)