Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
exc-balance-checker
Advanced tools
One-function solution for checking an address' balance on Eximchain's main or gamma networks.
Code for checking an address' balance on Eximchain's main and test networks.
Install via:
npm install --save exc-balance-checker
Import the checker function:
import excChecker from 'exc-balance-checker';
The balance checker returns a Promise and comes with URLs to our Community Nodes already baked in, so you're ready to go:
const acctBalance = await excChecker(yourAddr, options);
The options object has a few possible keys:
Key Name | Default Value | Usage |
---|---|---|
useTestNet | false | Boolean, set true to query test net instead of main net. |
customEndpoint | undefined | Set if you want to plug in your own node address. Cannot be specified along with useTestNet . |
requireChecksum | false | Web3 typically requires that addresses follow checksum capitalization, but we disable that check. Set to true to re-enable. |
user | null | user argument for web3.HttpProvider . |
timeout | null | timeout argument for web3.HttpProvider . |
password | null | password argument for web3.HttpProvider . |
headers | null | headers argument for web3.HttpProvider . Useful for setting the CORS Access-Control-Allow-Origin header, as Firefox and Safari will block requests which do not have that set. |
FAQs
One-function solution for checking an address' balance on Eximchain's main or gamma networks.
We found that exc-balance-checker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.