eth_getTransactionReceipt RPC 方法
請注意,待處理的交易無法提供交易收據。
參數
hash
字串
必填
載入中...
退貨
物件
物件
載入中...
類型
字串
載入中...
狀態
字串
載入中...
累計瓦斯用量
字串
載入中...
日誌
陣列
載入中...
地址
字串
載入中...
主題
陣列
載入中...
資料
字串
載入中...
blockHash
字串
載入中...
區塊編號
字串
載入中...
blockTimestamp
字串
載入中...
交易哈希值
字串
載入中...
交易索引
字串
載入中...
logIndex
字串
載入中...
已移除
布林值
載入中...
logsBloom
字串
載入中...
交易哈希值
字串
載入中...
交易索引
字串
載入中...
blockHash
字串
載入中...
區塊編號
字串
載入中...
gasUsed
字串
載入中...
有效汽油價格
字串
載入中...
來自
字串
載入中...
至
字串
載入中...
contractAddress
字串
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x2",6「狀態」: "0x1",7"cumulativeGasUsed": "0x24935",8"logs": [9{10"address": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",11"topics": [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"removed": false24}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": null36}37}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x2",6「狀態」: "0x1",7"cumulativeGasUsed": "0x24935",8"logs": [9{10"address": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",11"topics": [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"removed": false24}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": null36}37}