Arbitrum Blockchain Data Indexing API
Arbitrum Quick Facts
Arbitrum is an L2 scaling solution for Ethereum. It is a suite of Ethereum scaling solutions that enables high-throughput, low cost smart contracts while remaining trustlessly secure. Arbitrum has security rooted in Ethereum, with any one party able to ensure correct Layer 2 results. Arbitrum is also able to run unmodified EVM contracts and unmodified Ethereum transactions. Moving contract computation and storage off of the main Ethereum chain allows for much higher throughput. Designed and engineered to minimize the L1 gas footprint of the system, Arbitrum minimizes per-transaction cost.
Note about how we calculate transaction fees on Arbitrum:
Generally, the fees_paid
in our transaction response is simply the product of gas_price
and gas_spent
.
However for Arbitrum, the fees_paid
in our transaction response is the sum of multiple L1 and L2 fees associated with the function call, transaction execution and storage.
To calculate the same fees_paid
provided in our transaction response from Arbiscan , take the product of their Gas Price Bid and Gas Usage.
- Mainnet
- Arbitrum Testnet
Chain name | arbitrum-mainnet |
Chain ID | 42161 |
Block explorer | https://arbiscan.io/ |
Blocktime | 1 seconds |
Historical balances | ❌ |
NFT assets and metadata | ✅ |
Query via SQL on Increment | ✅ |
Arbitrum Block Explorer
Analyze transactions, addresses, and smart contracts on the Arbitrum blockchain explorer.
Network Status
- | - | - | |||
---|---|---|---|---|---|
Monthly Active Wallets Unique wallets who transact on a monthly basis. | - | - | - | ||
Transactions Unique transactions on a monthly basis. | - | - | - | ||
Active Tokens Unique tokens active on a monthly basis. | - | - | - | ||
Powered by Increment. |
Code Samples
- Token Balances
- Transactions
- Portfolio
- Get a block
Get token balances for address
/v1/{chainName}/address/{walletAddress}/balances_v2/
Commonly used to fetch the native, fungible (ERC20), and non-fungible (ERC721 & ERC1155) tokens held by an address. Response includes spot prices and other metadata.
Each API Call Currently Costs: 1.00 Credits.
- TypeScript
- python
- ruby
- shell
npm install @covalenthq/client-sdk
import { Client } from "@covalenthq/client-sdk"; const ApiServices = async () => { const client = new Client("YOUR_API_KEY"); const resp = await client.BalanceService.getTokenBalancesForWalletAddress(, {}); console.log(resp.data); }