
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
crypto-balance
Advanced tools
Query various crypto tokens for their address balances.
Warning: this is a very early version--use at your own risk. Pull requests are very much welcome as well as support for other tokens, blockchains, and services.
.. and maybe more by now, in case we forget to update this section again, check the code src/services.
~ » npm install crypto-balance
~ » npm install -g crypto-balance # for global installation of _balance_
~ » balance DDogepartyxxxxxxxxxxxxxxxxxxw1dfzr ~
1,009,968,741.03499746 DOGE
~ » balance 1LARSvRshS9Nm3D3aWLELQjNYtaBrWGzg2 ~
0.00010860 BTC
42.00000000 XCP/LARS
var balance = require('crypto-balance');
balance("DCt8sxHX634ghqdDhWFtCPQUyZ3TEfLBCo", function(error, assets) {
console.log(assets);
});
// [ { address: 'DCt8sxHX634ghqdDhWFtCPQUyZ3TEfLBCo',
// quantity: 100000000,
// asset: 'XDP/DOGEPARTY' },
// { address: 'DCt8sxHX634ghqdDhWFtCPQUyZ3TEfLBCo',
// quantity: 500000000000,
// asset: 'XDP/DOLLARS' },
// ...
// ]
var balance = require("crypto-balance");
balance("DDogepartyxxxxxxxxxxxxxxxxxxw1dfzr").then(function(balances) {
console.log(balances);
});
// [ { address: 'DDogepartyxxxxxxxxxxxxxxxxxxw1dfzr',
// quantity: '1399253366.95050883',
// asset: 'DOGE' } ]
npm test
FAQs
Query various crypto tokens for their address balances
We found that crypto-balance demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.