
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@xchainjs/xchain-arbitrum
Advanced tools
@xchainjs/xchain-arbitrumclient - Custom client for communicating with Arbitrum by using ethersyarn add @xchainjs/xchain-arbitrum
Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-arbitrum.
yarn add @xchainjs/xchain-evm @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util axios ethers
xchain arbitrumHow xchain-arbitrum works
How to use xchain-arbitrum
This package uses the following service providers:
| Function | Service | Notes |
|---|---|---|
| ETH balances | Arbirscan | https://api.arbiscan.io/apis#accounts (module=account, action=balance) |
| Token balances | Arbiscan | https://api.arbiscan.io/apis#tokens (module=account, action=tokenbalance) |
| ETH transaction history | Arbiscan | https://api.arbiscan.io/apis#accounts (module=account, action=txlistinternal) |
| Token transaction history | Arbiscan | https://api.arbiscan.io/apis#accounts (module=account, action=tokentx) |
| Explorer | Arbiscan | https://arbiscan.io/ |
Etherscan API rate limits: https://arbiscan.io/apis
etherjs library, by default it uses several providers. (https://docs.ethers.io/v5/api-keys/)// set in env variables so default config can access.
ARBISCAN_API_KEY={YOUR_ARBISCAN_API_KEY}
//Default config can access. process.env.ARBISCAN_API_KEY
FAQs
Arbitrum EVM client for XChainJS
The npm package @xchainjs/xchain-arbitrum receives a total of 125 weekly downloads. As such, @xchainjs/xchain-arbitrum popularity was classified as not popular.
We found that @xchainjs/xchain-arbitrum demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.