Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

bsc-tokenholdings

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bsc-tokenholdings

NPM pakcage to scan token holdings in a Binance Smart Chain (BSC) Wallet Address

latest
Source
npmnpm
Version
1.2.4
Version published
Maintainers
1
Created
Source

bsc-tokenholdings

NPM package to scan token holdings in a Binance Smart Chain (BSC) Wallet Address. Normally you would upgrade your plan on BSCSCAN API, with this package you don't have to.

Support EVM (Ethereum Virtual Machine)

Now you can scan bsc, eth and matic wallet all in one package.

Instalation

npm i bsc-tokenholdings

Or

yarn add bsc-tokenholdings

Usage

const { scan } = require("bsc-tokenholdings");
const address = "0x39Bce682DBFe79a0b940c8E833aaf2ab08098816";

async function test() {
  const result = await scan(address, "bnb");
  console.log(result);
}

test();

Parameter

  • EVM adddress (bep20, erc20, polygon)
  • Type of evm (bnb, eth, matic)

Result Object

// If Error
{
    status: false,
    error_msg: ''
}

// If Success
{
  BNB: { balance_in_usd: '1.87 ', balance: '0.004477912626247038' },
  currency: 'bnb',
  status: true,
  address: '0x39Bce682DBFe79a0b940c8E833aaf2ab08098816',
  '1Gas.org': { balance: '92,280' },
  'AGMC.io': { balance: '800,000' },
  ANTEX: { balance: '160' },
  'ARKR.org': { balance: '800,000' },
  'AZSwap.io': { balance: '18,000' },
  BIG: { balance: '0.4' },
  BTL: { balance: '20' },
  BNBw: { balance: '21,131,181' },
  MELLO: { balance: '17,777' },
  CHILL: { balance: '5' },
  'Def8.io': { balance: '82,445' },
  DBT: { balance: '440' },
  'FF18.io': { balance: '800,000' },
  'KK8.io': { balance: '166,574' },
  'LinkP.io': { balance: '800,000' },
  MRS: { balance: '22.8' },
  'MMdex.io': { balance: '250,000' },
  MGRT: { balance: '1.1198' },
  'PDot.io': { balance: '95,641' },
  'PowNFT.net': { balance: '96,816.55' },
  ABOYS: { balance: '18,000,000' },
  ROCKETDOGE: { balance: '250,000,000' },
  'Zepe.io': { balance: '750,000' }
}

Keywords

bsc

FAQs

Package last updated on 01 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts