跳转至主要内容

bb_getBlock RPC Method - Blockbook

正在加载...

更新于
2026年5月1日

bb_getBlock RPC Method - Blockbook

Please note that this RPC method requires the Polygon Blockbook JSON-RPC add-on enabled on your Quicknode endpoint.

参数

字符串
必填
正在加载...
对象
对象
正在加载...
页面
整数
正在加载...

退货

结果
对象
正在加载...
页面
整数
正在加载...
totalPages
整数
正在加载...
itemsOnPage
整数
正在加载...
哈希
字符串
正在加载...
previousBlockHash
字符串
正在加载...
nextBlockHash
字符串
正在加载...
高度
整数
正在加载...
confirmations
整数
正在加载...
大小
整数
正在加载...
时间
整数
正在加载...
版本
整数
正在加载...
merkleRoot
字符串
正在加载...
非重复值
字符串
正在加载...
bits
字符串
正在加载...
难度
字符串
正在加载...
txCount
整数
正在加载...
txs
数组
正在加载...
txid
字符串
正在加载...
vin
数组
正在加载...
n
整数
正在加载...
地址
数组
正在加载...
isAddress
布尔型
正在加载...
字符串
正在加载...
vout
数组
正在加载...
字符串
正在加载...
n
整数
正在加载...
地址
数组
正在加载...
isAddress
布尔型
正在加载...
blockHash
字符串
正在加载...
blockHeight
整数
正在加载...
confirmations
整数
正在加载...
blockTime
整数
正在加载...
字符串
正在加载...
fees
字符串
正在加载...
tokenTransfers
数组
正在加载...
类型
字符串
正在加载...
来自
字符串
正在加载...
字符串
正在加载...
合同
字符串
正在加载...
名称
字符串
正在加载...
符号
字符串
正在加载...
小数
整数
正在加载...
字符串
正在加载...
ethereumSpecific
对象
正在加载...
状态
整数
正在加载...
非重复值
整数
正在加载...
gasLimit
整数
正在加载...
gasUsed
整数
正在加载...
gasPrice
字符串
正在加载...
数据
字符串
正在加载...
parsedData
对象
正在加载...
methodId
字符串
正在加载...
名称
字符串
正在加载...
函数
字符串
正在加载...
params
数组
正在加载...
类型
字符串
正在加载...
数组
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
"result": {
5
"page": 1,
6
"totalPages": 1,
7
"itemsOnPage": 1000,
8
"hash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",
9
"previousBlockHash": "0xbecdfa8f8a9e9c24c3a0fb2eb3cd4f5a4a41f2d017e1b8e25b5cb5c8b47ec3b8",
10
"nextBlockHash": "0x0b6a4c06fe0a7cee6b4a8ad39e7a75c21e9bcb61f91d80b9ac97ec4fd1c8a01a",
11
"height": 50000000,
12
"confirmations": 1287453,
13
"size": 54213,
14
"time": 1696420000,
15
"version": 0,
16
"merkleRoot": "",
17
“nonce”: "0x0000000000000000",
18
"bits": "",
19
"difficulty": "16",
20
"txCount": 2,
21
"txs": [
22
{
23
"txid": "0xd5ab71b461328b84ade881cdb8fb923ba9254abf5e290f8f7b3299082fb5218f",
24
"vin": [
25
{
26
"n": 0,
27
"addresses": [
28
"0x02F70172F7f490653665C9bFAc0666147c8aF1F5"
29
],
30
"isAddress": true,
31
"value": "0"
32
}
33
],
34
"vout": [
35
{
36
"value": "0",
37
"n": 0,
38
"addresses": [
39
"0x6B175474E89094C44Da98b954EedeAC495271d0F"
40
],
41
"isAddress": true
42
}
43
],
44
"blockHash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",
45
"blockHeight": 50000000,
46
"confirmations": 1287453,
47
"blockTime": 1696420000,
48
"value": "0",
49
"fees": "1020000000000000",
50
"tokenTransfers": [
51
{
52
"type": "ERC20",
53
"from": "0x02F70172F7f490653665C9bFAc0666147c8aF1F5",
54
"to": "0xbC0E63965946815d105E7591407704e6E1964E59",
55
"contract": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
56
"name": "Dai Stablecoin",
57
"symbol": "DAI",
58
"decimals": 18,
59
"value": "100000000"
60
}
61
],
62
"ethereumSpecific": {
63
"status": 1,
64
"nonce": 42,
65
"gasLimit": 100000,
66
"gasUsed": 51000,
67
"gasPrice": "30000000000",
68
"data": "0xa9059cbb000000000000000000000000bc0e63965946815d105e7591407704e6e1964e590000000000000000000000000000000000000000000000000000000005f5e100",
69
"parsedData": {
70
"methodId": "0xa9059cbb",
71
"name": "Transfer",
72
"function": "transfer(address to, uint256 value)",
73
"params": [
74
{
75
"type": "address",
76
"value": [
77
"0xbC0E63965946815d105E7591407704e6E1964E59"
78
]
79
},
80
{
81
"type": "uint256",
82
"value": [
83
"100000000"
84
]
85
}
86
]
87
}
88
}
89
},
90
{
91
"txid": "0x4f82c2a78e1d2e5d92a6e90e6cc3b7f7e1f2b8a9d7e7f94f8e84c1c70f12ed3b",
92
"vin": [
93
{
94
"n": 0,
95
"addresses": [
96
"0xA17B3aDDE9d8A7a1E3f6f22F2a81BB8bC8dA9D59"
97
],
98
"isAddress": true,
99
"value": "0"
100
}
101
],
102
"vout": [
103
{
104
"value": "0",
105
"n": 0,
106
"addresses": [
107
"0xA5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff"
108
],
109
"isAddress": true
110
}
111
],
112
"blockHash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",
113
"blockHeight": 50000000,
114
"confirmations": 1287453,
115
"blockTime": 1696420000,
116
"value": "250000000000000000",
117
"fees": "630000000000000",
118
"tokenTransfers": [],
119
"ethereumSpecific": {
120
"status": 1,
121
"nonce": 17,
122
"gasLimit": 21000,
123
"gasUsed": 21000,
124
"gasPrice": "30000000000",
125
"data": "0x",
126
"parsedData": {
127
"methodId": "0x",
128
"name": ""
129
}
130
}
131
}
132
]
133
}
134
}
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
"result": {
5
"page": 1,
6
"totalPages": 1,
7
"itemsOnPage": 1000,
8
"hash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",
9
"previousBlockHash": "0xbecdfa8f8a9e9c24c3a0fb2eb3cd4f5a4a41f2d017e1b8e25b5cb5c8b47ec3b8",
10
"nextBlockHash": "0x0b6a4c06fe0a7cee6b4a8ad39e7a75c21e9bcb61f91d80b9ac97ec4fd1c8a01a",
11
"height": 50000000,
12
"confirmations": 1287453,
13
"size": 54213,
14
"time": 1696420000,
15
"version": 0,
16
"merkleRoot": "",
17
“nonce”: "0x0000000000000000",
18
"bits": "",
19
"difficulty": "16",
20
"txCount": 2,
21
"txs": [
22
{
23
"txid": "0xd5ab71b461328b84ade881cdb8fb923ba9254abf5e290f8f7b3299082fb5218f",
24
"vin": [
25
{
26
"n": 0,
27
"addresses": [
28
"0x02F70172F7f490653665C9bFAc0666147c8aF1F5"
29
],
30
"isAddress": true,
31
"value": "0"
32
}
33
],
34
"vout": [
35
{
36
"value": "0",
37
"n": 0,
38
"addresses": [
39
"0x6B175474E89094C44Da98b954EedeAC495271d0F"
40
],
41
"isAddress": true
42
}
43
],
44
"blockHash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",
45
"blockHeight": 50000000,
46
"confirmations": 1287453,
47
"blockTime": 1696420000,
48
"value": "0",
49
"fees": "1020000000000000",
50
"tokenTransfers": [
51
{
52
"type": "ERC20",
53
"from": "0x02F70172F7f490653665C9bFAc0666147c8aF1F5",
54
"to": "0xbC0E63965946815d105E7591407704e6E1964E59",
55
"contract": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
56
"name": "Dai Stablecoin",
57
"symbol": "DAI",
58
"decimals": 18,
59
"value": "100000000"
60
}
61
],
62
"ethereumSpecific": {
63
"status": 1,
64
"nonce": 42,
65
"gasLimit": 100000,
66
"gasUsed": 51000,
67
"gasPrice": "30000000000",
68
"data": "0xa9059cbb000000000000000000000000bc0e63965946815d105e7591407704e6e1964e590000000000000000000000000000000000000000000000000000000005f5e100",
69
"parsedData": {
70
"methodId": "0xa9059cbb",
71
"name": "Transfer",
72
"function": "transfer(address to, uint256 value)",
73
"params": [
74
{
75
"type": "address",
76
"value": [
77
"0xbC0E63965946815d105E7591407704e6E1964E59"
78
]
79
},
80
{
81
"type": "uint256",
82
"value": [
83
"100000000"
84
]
85
}
86
]
87
}
88
}
89
},
90
{
91
"txid": "0x4f82c2a78e1d2e5d92a6e90e6cc3b7f7e1f2b8a9d7e7f94f8e84c1c70f12ed3b",
92
"vin": [
93
{
94
"n": 0,
95
"addresses": [
96
"0xA17B3aDDE9d8A7a1E3f6f22F2a81BB8bC8dA9D59"
97
],
98
"isAddress": true,
99
"value": "0"
100
}
101
],
102
"vout": [
103
{
104
"value": "0",
105
"n": 0,
106
"addresses": [
107
"0xA5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff"
108
],
109
"isAddress": true
110
}
111
],
112
"blockHash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",
113
"blockHeight": 50000000,
114
"confirmations": 1287453,
115
"blockTime": 1696420000,
116
"value": "250000000000000000",
117
"fees": "630000000000000",
118
"tokenTransfers": [],
119
"ethereumSpecific": {
120
"status": 1,
121
"nonce": 17,
122
"gasLimit": 21000,
123
"gasUsed": 21000,
124
"gasPrice": "30000000000",
125
"data": "0x",
126
"parsedData": {
127
"methodId": "0x",
128
"name": ""
129
}
130
}
131
}
132
]
133
}
134
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用