Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 343 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 343 Bytes

How to use

import { WalletBalanceChecker } from 'wallet-balance-checker';

const wbc = new WalletBalanceChecker();

const balance = await wbc.getWalletBalance(
  'ethereum', // ethereum | binance | polygon
  '0xd8da6bf26964af9d7eed9e03e53415d37aa96045', // wallet address
  true, // usd price flag
);

console.log(balance);