Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.


Get Bitcoin Cash & Bitcoin SV Blocks and Transactions

node v10.22.1
version: 2.0.0
const Web3Data = require("web3data-js") const w3d = new Web3Data('YOUR_API_KEY') const latestBsvBlock = await w3d.bsv.block.getBlock('latest') const latestBsvBlockTxns = await w3d.bsv.block.getTransactions(latestBsvBlock.number, {includePrice: true}) const latestBchBlock = await w3d.bch.block.getBlock('latest') const latestBchBlockTxns = await w3d.bch.block.getTransactions(latestBchBlock.number, {includePrice: true})

no comments

    sign in to comment