跳转至主要内容

eth_getTransactionReceipt RPC 方法

正在加载...

更新于
2026年3月27日

eth_getTransactionReceipt RPC 方法

请注意,待处理交易无法生成交易收据。

参数

哈希
字符串
必填
正在加载...

退货

对象
对象
正在加载...
类型
字符串
正在加载...
状态
字符串
正在加载...
累计燃气消耗量
字符串
正在加载...
日志
数组
正在加载...
地址
字符串
正在加载...
主题
数组
正在加载...
数据
字符串
正在加载...
blockHash
字符串
正在加载...
blockNumber
字符串
正在加载...
blockTimestamp
字符串
正在加载...
交易哈希
字符串
正在加载...
transactionIndex
字符串
正在加载...
logIndex
字符串
正在加载...
已删除
布尔型
正在加载...
logsBloom
字符串
正在加载...
交易哈希
字符串
正在加载...
transactionIndex
字符串
正在加载...
blockHash
字符串
正在加载...
blockNumber
字符串
正在加载...
gasUsed
字符串
正在加载...
有效汽油价格
字符串
正在加载...
来自
字符串
正在加载...
字符串
正在加载...
contractAddress
字符串
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
"result": {
5
"类型": "0x2",
6
“状态”: "0x1",
7
"cumulativeGasUsed": "0x24935",
8
“日志”: [
9
{
10
"address": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
11
“主题”: [
12
"0xcbdf6214089cba887ecbf35a0b6a734589959c9763342c756bb2a80ca2bc9f6e",
13
"0x000000000000000000000000000000000000000000000000000000000000001c",
14
"0x0000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f"
15
],
16
"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064",
17
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
18
"blockNumber": "0x247e80",
19
"blockTimestamp": "0x69de1215",
20
"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
21
"transactionIndex": "0x0",
22
“logIndex”: "0x0",
23
“已删除”: false
24
}
25
],
26
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000200800000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000200080000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000400000000000000000000000000000000000000000000000000000020000000000000000400000",
27
"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
28
"transactionIndex": "0x0",
29
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
30
"blockNumber": "0x247e80",
31
"gasUsed": "0x24935",
32
"effectiveGasPrice": "0xf4247",
33
"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",
34
"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
35
"contractAddress": null
36
}
37
}
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
"result": {
5
"类型": "0x2",
6
“状态”: "0x1",
7
"cumulativeGasUsed": "0x24935",
8
“日志”: [
9
{
10
"address": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
11
“主题”: [
12
"0xcbdf6214089cba887ecbf35a0b6a734589959c9763342c756bb2a80ca2bc9f6e",
13
"0x000000000000000000000000000000000000000000000000000000000000001c",
14
"0x0000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f"
15
],
16
"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064",
17
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
18
"blockNumber": "0x247e80",
19
"blockTimestamp": "0x69de1215",
20
"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
21
"transactionIndex": "0x0",
22
“logIndex”: "0x0",
23
“已删除”: false
24
}
25
],
26
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000200800000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000200080000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000400000000000000000000000000000000000000000000000000000020000000000000000400000",
27
"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
28
"transactionIndex": "0x0",
29
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
30
"blockNumber": "0x247e80",
31
"gasUsed": "0x24935",
32
"effectiveGasPrice": "0xf4247",
33
"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",
34
"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
35
"contractAddress": null
36
}
37
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用