diff --git a/test/integration/blockchain.js b/test/integration/blockchain.js index 0b90788..462067a 100644 --- a/test/integration/blockchain.js +++ b/test/integration/blockchain.js @@ -313,6 +313,14 @@ describe('#blockchain', () => { assert.isString(result) }) }) + + describe('#getBlockchainInfo', () => { + it('should get info about the blockchain', async () => { + const result = await bchjs.Blockchain.getBlockchainInfo() + + console.log(`blockchain info: ${JSON.stringify(result, null, 2)}`) + }) + }) }) function sleep (ms) {