var api = require('etherscan-api').init('YourApiKey'); var balance = api.account.balance('0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae'); balance.then(function(balanceData){ console.log(balanceData); });
var api = require('etherscan-api').init('YourApiKey'); var balance = api.account.balance('0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae'); balance.then(function(balanceData){ console.log(balanceData); });