Get Bitcoin Blocks and Transactions

node v10.23.0
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