Stellar Ledgers & Transactions

node v10.22.1
version: 1.0.0
endpointsharetweet
const Web3Data = require("web3data-js@0.6.1") const w3d = new Web3Data('YOUR_API_KEY') const latestLedger = await w3d.xlm.block.getBlock('latest') const latestLedgerTxns = await w3d.xlm.block.getTransactions(latestLedger.number, {includePrice: true})
Loading…

no comments

    sign in to comment