Skip to main content

eth_getBlockByNumber RPC Method

Loading...

Updated on
Jun 26, 2025

eth_getBlockByNumber RPC Method

To use the eth_getBlockByNumber method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

Parameters

blockNumber/tag
string
REQUIRED
Loading...
transaction detail flag
boolean
REQUIRED
Loading...

Returns

object
object
Loading...
baseFeePerGas
string
Loading...
difficulty
string
Loading...
extraData
string
Loading...
gasLimit
string
Loading...
gasUsed
string
Loading...
hash
string
Loading...
logsBloom
string
Loading...
miner
string
Loading...
mixHash
string
Loading...
nonce
string
Loading...
number
string
Loading...
parentHash
string
Loading...
receiptsRoot
string
Loading...
sha3Uncles
string
Loading...
size
string
Loading...
stateRoot
string
Loading...
timestamp
string
Loading...
totalDifficulty
string
Loading...
transactions
array
Loading...
transactionsRoot
string
Loading...
uncles
array
Loading...
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free