跳转至主要内容

eth_getBlockByNumber RPC 方法

正在加载...

更新于
Apr 29, 2026

eth_getBlockByNumber RPC 方法

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

参数

blockNumber/tag简体中文(大陆)
字符串
必填
正在加载...
交易详情标记
布尔型
必填
正在加载...

退货

结果
对象
正在加载...
baseFeePerGas
字符串
正在加载...
blockExtraData
字符串
正在加载...
blockGasCost
字符串
正在加载...
难度
字符串
正在加载...
extDataGasUsed
字符串
正在加载...
extDataHash
字符串
正在加载...
extraData
字符串
正在加载...
gasLimit
字符串
正在加载...
gasUsed
字符串
正在加载...
哈希
字符串
正在加载...
logsBloom
字符串
正在加载...
矿工
字符串
正在加载...
mixHash
字符串
正在加载...
非重复值
字符串
正在加载...
数字
字符串
正在加载...
parentHash
字符串
正在加载...
receiptsRoot
字符串
正在加载...
sha3Uncles
字符串
正在加载...
大小
字符串
正在加载...
stateRoot
字符串
正在加载...
时间戳
字符串
正在加载...
totalDifficulty
字符串
正在加载...
交易
数组
正在加载...
交易哈希
字符串
正在加载...
transactionsRoot
字符串
正在加载...
叔叔们
数组
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
"result": {
5
"baseFeePerGas": "0xfc",
6
"blobGasUsed": "0x0",
7
“难度”: "0x0",
8
"excessBlobGas": "0x0",
9
"extraData": "0x",
10
"gasLimit": "0x1c9c380",
11
"gasUsed": "0xab96",
12
"hash": "0x863eb4e1084f11c3662c76786cef2bfd120b7d3f27302ebda967eec4b14ccff8",
13
“logsBloom”: "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
14
"miner": "0x4200000000000000000000000000000000000011",
15
"mixHash": "0x935e9afc9ec0f0e4dad50145c30d7d4a57b92599d0d703764af21f48b7b161e8",
16
“nonce”: "0x0000000000000000",
17
"number": "0x3a09c",
18
"parentBeaconBlockRoot": "0x63bf9122d763ac8bc0c52c9bb7bb97cf5ff3689063bb2ee6c8aa53d0aaee49f3",
19
"parentHash": "0x3c4e760287d57a74697d881efe4d7d34646b293694420195ef565bb8a5da2149",
20
"receiptsRoot": "0x5de950352754eae88061e7f163405c593fce1b04f4ce18586026675834c1fd10",
21
“sha3Uncles”: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
22
"size": "0x347",
23
"stateRoot": "0x6f42db13d31b15549fce7237533c40d21f617b6729aec448e353ed2f8a1b99e0",
24
"timestamp": "0x672cc063",
25
“交易”: [
26
"0x71ec1b60298dbb295aaf2c18561f41686e88fd1edfe9bf9a0059170d327d25e7"
27
],
28
"transactionsRoot": "0xde772bd48683a174619a578785ba432ffdb80e8063738225dcf1032bb1331591",
29
“叔叔们”: []
30
}
31
}
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
"result": {
5
"baseFeePerGas": "0xfc",
6
"blobGasUsed": "0x0",
7
“难度”: "0x0",
8
"excessBlobGas": "0x0",
9
"extraData": "0x",
10
"gasLimit": "0x1c9c380",
11
"gasUsed": "0xab96",
12
"hash": "0x863eb4e1084f11c3662c76786cef2bfd120b7d3f27302ebda967eec4b14ccff8",
13
“logsBloom”: "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
14
"miner": "0x4200000000000000000000000000000000000011",
15
"mixHash": "0x935e9afc9ec0f0e4dad50145c30d7d4a57b92599d0d703764af21f48b7b161e8",
16
“nonce”: "0x0000000000000000",
17
"number": "0x3a09c",
18
"parentBeaconBlockRoot": "0x63bf9122d763ac8bc0c52c9bb7bb97cf5ff3689063bb2ee6c8aa53d0aaee49f3",
19
"parentHash": "0x3c4e760287d57a74697d881efe4d7d34646b293694420195ef565bb8a5da2149",
20
"receiptsRoot": "0x5de950352754eae88061e7f163405c593fce1b04f4ce18586026675834c1fd10",
21
“sha3Uncles”: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
22
"size": "0x347",
23
"stateRoot": "0x6f42db13d31b15549fce7237533c40d21f617b6729aec448e353ed2f8a1b99e0",
24
"timestamp": "0x672cc063",
25
“交易”: [
26
"0x71ec1b60298dbb295aaf2c18561f41686e88fd1edfe9bf9a0059170d327d25e7"
27
],
28
"transactionsRoot": "0xde772bd48683a174619a578785ba432ffdb80e8063738225dcf1032bb1331591",
29
“叔叔们”: []
30
}
31
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用