Create a new client. This just creates an object, without any connections.
Url of a Chronik instance, with schema and without trailing slash. E.g. https://chronik.be.cash/xec.
Fetch the block given hash or height.
Fetch current info of the blockchain, such as tip hash and height.
Fetch block info of a range of blocks. startHeight
and endHeight
are
inclusive ranges.
Broadcasts the rawTx
on the network.
If skipSlpCheck
is false, it will be checked that the tx doesn't burn
any SLP tokens before broadcasting.
Broadcasts the rawTxs
on the network, only if all of them are valid.
If skipSlpCheck
is false, it will be checked that the txs don't burn
any SLP tokens before broadcasting.
Create object that allows fetching script history or UTXOs.
Fetch token info and stats given the tokenId.
Fetch tx details given the txid.
Open a WebSocket connection to listen for updates.
Generated using TypeDoc
Client to access a Chronik instance.Plain object, without any connections.