Transaction + Pricing

node v10.23.3
version: 2.0.0
endpointsharetweet
const Web3Data = require("web3data-js@0.6.1") // Create the Web3Data instances passing in your API Key (Get one! -> amberdata.io/onboarding) const w3d = new Web3Data(process.env.API_KEY) const ADDRESS = '0x06012c8cf97bead5deae237070f9587f8e7a266d' // Get the transactions of the address and include the value of the transaction in usd const transactions = await w3d.address.getTransactions(ADDRESS, {includePrice: true, currency: 'usd'}) console.log({transactions})
Loading…

no comments

    sign in to comment