Blockchain
Access the blockchain using Chronik
blockchainInfo()
Fetch current info of the blockchain, such as tip hash and height.
See blockchainInfo API docs.
Live Editor
function DemoBlockchainInfo() { return ( <Json fn={async () => { const chronik = new ChronikClient([ 'https://chronik.e.cash', ]); return await chronik.blockchainInfo(); }} /> ); }
Result
Loading...
chronikInfo()
Fetch info about the current running chronik server.
See chronikInfo API docs.
Live Editor
function DemoChronikInfo() { return ( <Json fn={async () => { const chronik = new ChronikClient([ 'https://chronik.e.cash', ]); return await chronik.chronikInfo(); }} /> ); }
Result
Loading...