跳至主要內容

eth_getTransactionByHash RPC Method

載入中...

更新於
Apr 29, 2026

eth_getTransactionByHash RPC Method

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

參數

雜湊
字串
必填
載入中...

退貨

物件
字串
載入中...
blockHash
字串
載入中...
區塊編號
字串
載入中...
出自
字串
載入中...
氣體
字串
載入中...
gasPrice
字串
載入中...
maxFeePerGas
字串
載入中...
輸入
字串
載入中...
非重複數
字串
載入中...
字串
載入中...
交易索引
字串
載入中...
字串
載入中...
類型
字串
載入中...
accessList
字串
載入中...
chainId
字串
載入中...
v
字串
載入中...
r
字串
載入中...
s
字串
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x863eb4e1084f11c3662c76786cef2bfd120b7d3f27302ebda967eec4b14ccff8",
6
"blockNumber": "0x3a09c",
7
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
8
"gas": "0xf4240",
9
"gasPrice": "0x0",
10
"hash": "0x71ec1b60298dbb295aaf2c18561f41686e88fd1edfe9bf9a0059170d327d25e7",
11
"input": "0x440a5e20000007d0000dbba0000000000000000b00000000672cc02300000000014282c2000000000000000000000000000000000000000000000000000000032b5a2481000000000000000000000000000000000000000000000000000000000007dcc27f63f53bba0ae499651943bdda527a116df9f2529fd15b88be3b9bc46094d9ad0000000000000000000000002f60a5184c63ca94f82a27100643dbabe4f3f7fd",
12
"nonce": "0x3a09b",
13
"to": "0x4200000000000000000000000000000000000015",
14
"transactionIndex": "0x0",
15
"value": "0x0",
16
"type": "0x2",
17
"v": "0x0",
18
"r": "0x0",
19
"s": "0x0"
20
}
21
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x863eb4e1084f11c3662c76786cef2bfd120b7d3f27302ebda967eec4b14ccff8",
6
"blockNumber": "0x3a09c",
7
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
8
"gas": "0xf4240",
9
"gasPrice": "0x0",
10
"hash": "0x71ec1b60298dbb295aaf2c18561f41686e88fd1edfe9bf9a0059170d327d25e7",
11
"input": "0x440a5e20000007d0000dbba0000000000000000b00000000672cc02300000000014282c2000000000000000000000000000000000000000000000000000000032b5a2481000000000000000000000000000000000000000000000000000000000007dcc27f63f53bba0ae499651943bdda527a116df9f2529fd15b88be3b9bc46094d9ad0000000000000000000000002f60a5184c63ca94f82a27100643dbabe4f3f7fd",
12
"nonce": "0x3a09b",
13
"to": "0x4200000000000000000000000000000000000015",
14
"transactionIndex": "0x0",
15
"value": "0x0",
16
"type": "0x2",
17
"v": "0x0",
18
"r": "0x0",
19
"s": "0x0"
20
}
21
}
還沒有帳號嗎?
endpoint 幾秒鐘endpoint 建立您的Quicknode endpoint ,並開始建置
立即免費開始使用