untitled notebook

node v10.23.0
version: 1.0.0
endpointsharetweet
const Web3Data = require("web3data-js") const w3d = new Web3Data('YOUR_API_KEY') // Initialize the connection w3d.connect() // Subscribes to address transaction events w3d.on({eventName: 'address:transactions', filters: {address: "3HqH1qGAqNWPpbrvyGjnRxNEjcUKD4e6ea"}}, transaction => { // Log the transaction data console.log(transaction) // Terminate the socket connection w3d.disconnect() })
Loading…

no comments

    sign in to comment