Alchemy Documentation
Website
Roadmap
Dashboard
Search…
👋
Welcome to Alchemy
🚀
Introduction
Why Use Alchemy?
Getting Started
Core Products
Contributing to these Docs
Referral Program
Web3 University
✨
Enhanced APIs
NFT API
Transfers API (Tx History)
Transaction Receipts API
Token API
Parity API
Notify API
Debug API
Trace API
Subscription API (Websockets)
Unstoppable Domains APIs
⛓
Chain APIs
Ethereum API
Polygon API
Arbitrum API
eth_blockNumber - Arbitrum
eth_getBlockByHash - Arbitrum
eth_getBlockByNumber - Arbitrum
eth_getTransactionByHash - Arbitrum
eth_getTransactionCount - Arbitrum
eth_getTransactionReceipt - Arbitrum
eth_getBlockTransactionCountByHash - Arbitrum
eth_getBlockTransactionCountByNumber - Arbitrum
eth_getTransactionByBlockHashAndIndex - Arbitrum
eth_getTransactionByBlockNumberAndIndex - Arbitrum
eth_sendRawTransaction - Arbitrum
eth_getBalance - Arbitrum
eth_getCode - Arbitrum
eth_getStorageAt - Arbitrum
eth_accounts - Arbitrum
eth_call - Arbitrum
eth_getLogs - Arbitrum
eth_gasPrice - Arbitrum
eth_estimateGas - Arbitrum
net_version - Arbitrum
eth_chainId - Arbitrum
eth_getFilterChanges - Arbitrum
eth_getFilterLogs - Arbitrum
eth_newBlockFilter - Arbitrum
eth_newFilter - Arbitrum
eth_uninstallFilter - Arbitrum
web3_clientVersion - Arbitrum
web3_sha3 - Arbitrum
eth_subscribe - Arbitrum
eth_unsubscribe - Arbitrum
Optimism API
Flow Docs
Crypto.org Docs
Feature Support By Chain
📖
Documentation
Changelog
Alchemy Web3.js
Error Reference
Compute Units (CUs)
Throughput (Rate Limits)
Gas Limits for eth_call and eth_estimateGas
🎓
Road to Web3
🎉
Welcome
‼
Important Info
🛠
Weekly Hackathons
🧠
Weekly Learning Challenges
💻
Tutorials
Hello World Smart Contract
How to Code and Deploy a Polygon Smart Contract
How to Create an NFT Tutorial
NFT Minter Tutorial: How to Create a Full Stack DApp
How to Deploy Your Own ERC-20 Token
Integrating Historical Transaction Data into your dApp
Adding notifications for Pending Transactions and Mined Transactions to your dApp
Building a dApp with Real-Time Transaction Notifications
📜
Guides
EIP-1559 Resource and Tutorial Hub
Using WebSockets
Dashboard Walkthrough
Deep Dive into eth_getLogs
How to Speed Up MetaMask Transactions
Alchemy Set-up for Macs
Choosing a Web3 Network
Running an Eth2.0 Staking Node or Validator with Alchemy
Internal Playbook: Upgrading Ethereum Nodes
Debugging CORS problems for end-users
📚
Resources
FAQ
Support
Blockchain 101
Web3 Glossary
Powered By
GitBook
eth_getBlockTransactionCountByNumber - Arbitrum
Arbitrum API - Returns the number of transactions in a block matching the given block number.
Parameters
QUANTITY|TAG
- integer of a block number, or the string "earliest", "latest" or "pending", as in the
default block parameter
.
1
params
:
[
2
'latest'
,
3
]
Copied!
Returns
QUANTITY
- integer of the number of transactions in this block.
Example
Alchemy Composer
The Alchemy Composer allows you to make a no-code example request via your browser. Try it out above!
Request
Curl
Postman
1
curl
https://arb-mainnet.g.alchemy.com/v2/your-api-key
\
2
-X POST
\
3
-H
"Content-Type: application/json"
\
4
-d
'{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["latest"],"id":0}'
Copied!
1
URL
:
https://arb-mainnet.g.alchemy.com/v2/your-api-key
2
RequestType
:
POST
3
Body
:
4
{
5
"jsonrpc":"2.0",
6
"method":"eth_getBlockTransactionCountByNumber",
7
"params":["latest"],
8
"id":0
9
}
Copied!
Result
1
{
2
"jsonrpc"
:
"2.0"
,
3
"id"
:
0
,
4
"result"
:
"0xee"
5
}
Copied!
Arbitrum API
Alchemy Documentation
Previous
eth_getBlockTransactionCountByHash - Arbitrum
Next
eth_getTransactionByBlockHashAndIndex - Arbitrum
Last modified
11d ago
Copy link
Contents
Parameters
Returns
Example
Alchemy Composer
Request
Result