Would you like to clone this notebook?

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

Cancel

Get Bitcoin Blocks and Transactions

node v10.24.1
version: 1.0.0
endpointsharetweet
const Web3Data = require("web3data-js") const w3d = new Web3Data('YOUR_API_KEY', { blockchainId: "408fa195a34b533de9ad9889f076045e" }) const latestBlock = await w3d.block.getBlocks() const latestBlockTxns = await w3d.block.getTransactions(597875, {includePrice: true})
Loading…

no comments

    sign in to comment