The host to access the API on. Can be an IP, or a URL, for example, 1.1.1.1, or seedpro2.zent.cash
The port to access the API on. Normally 21698 for a Zent Cash daemon, 80 for a HTTP api, or 443 for a HTTPS api.
You can optionally specify whether this API is a blockchain cache API to save a couple of requests. If you're not sure, do not specify this parameter - we will work it out automatically.
You can optionally specify whether this API supports ssl/tls/https to save a couple of requests. If you're not sure, do not specify this parameter - we will work it out automatically.
Returns a mapping of transaction hashes to global indexes
Get global indexes for the transactions in the range [startHeight, endHeight]
Get the amount of blocks the daemon we're connected to has
Get the amount of blocks the network has
Gets random outputs for the given amounts. requestedOuts per. Usually mixin+1.
Returns an array of amounts to global indexes and keys. There should be requestedOuts indexes if the daemon fully fulfilled our request.
Hashes of the last known blocks. Later blocks (higher block height) should be ordered at the front of the array.
Height to start taking blocks from
Block timestamp to start taking blocks from
Gets blocks from the daemon. Blocks are returned starting from the last known block hash (if higher than the startHeight/startTimestamp)
Initialize the daemon and the fee info
Get the node fee and address
Update the daemon info
Generated using TypeDoc