
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning 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
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
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.