跳至主要內容

eth_getTransactionByBlockHashAndIndex RPC 方法

載入中...

更新於
May 01, 2026

eth_getTransactionByBlockHashAndIndex RPC 方法

參數

blockHash
字串
必填
載入中...
目錄
字串
必填
載入中...

退貨

物件
物件
載入中...
blockHash
載入中...
區塊編號
載入中...
來自
載入中...
氣體
載入中...
gasPrice
載入中...
maxFeePerGas
載入中...
maxPriorityFeePerGas
載入中...
hash
載入中...
輸入
載入中...
非重複數
載入中...
載入中...
交易索引
載入中...
載入中...
類型
載入中...
accessList
載入中...
chainId
載入中...
v
載入中...
r
載入中...
s
載入中...
yParity
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x227f9589529bb9b7b60069884339edaa75b5747d15f73cbbfa1ca9ea44322bbb",
6
"blockNumber": "0x331bcb5",
7
"from": "0xf88e7b50abc0a0f2461d61b86b1a71fe4f934f0c",
8
"gas": "0x7b27b",
9
"gasPrice": "0xceae48995f",
10
"maxFeePerGas": "0xddb25e69ce",
11
"maxPriorityFeePerGas": "0xb6e76644a4",
12
"hash": "0x64c102a3b91ab1c8bce373db1e5fb3540fa2ed0a4fd9b7ad1da3184a1379380d",
13
"input": "0xb1c76d29000000000000000000000000c2132d05d31c914a87c6611c10748aeb04b58e8f00000000000000000000000000000000000000000000000000000000030a0bb000000000000000000000000000000000000000000000000000000000030627ca0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000f88e7b50abc0a0f2461d61b86b1a71fe4f934f0c00000000000000000000000000000000000000000000000000000000030a0bb000000000000000000000000000000000000000000000000000000000030627ca000000000000000000000000000000000000000000000000000000000000006600000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000b4214b04d6d8f830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f88e7b50abc0a0f2461d61b86b1a71fe4f934f0c00000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000022000100000000000000000000000000000000000000000000000000000000000298100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
14
"nonce": "0xd1",
15
"to": "0xab43a615526e3e15b63e5812f74a0a1b86e9965e",
16
"transactionIndex": "0x0",
17
"value": "0xb4214b04d6d8f83",
18
"type": "0x2",
19
"accessList": [],
20
"chainId": "0x89",
21
"v": "0x0",
22
"r": "0x574ab64d6d45f5dc2b11e4616a605a2714f0c0dfa74ed0e5da2572ff4bf39aed",
23
"s": "0x3e6a4df0ece1409989c6eacb666e7be67c2fb03cc17fb2af4fb263463ad44263",
24
"yParity": "0x0"
25
}
26
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x227f9589529bb9b7b60069884339edaa75b5747d15f73cbbfa1ca9ea44322bbb",
6
"blockNumber": "0x331bcb5",
7
"from": "0xf88e7b50abc0a0f2461d61b86b1a71fe4f934f0c",
8
"gas": "0x7b27b",
9
"gasPrice": "0xceae48995f",
10
"maxFeePerGas": "0xddb25e69ce",
11
"maxPriorityFeePerGas": "0xb6e76644a4",
12
"hash": "0x64c102a3b91ab1c8bce373db1e5fb3540fa2ed0a4fd9b7ad1da3184a1379380d",
13
"input": "0xb1c76d29000000000000000000000000c2132d05d31c914a87c6611c10748aeb04b58e8f00000000000000000000000000000000000000000000000000000000030a0bb000000000000000000000000000000000000000000000000000000000030627ca0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000f88e7b50abc0a0f2461d61b86b1a71fe4f934f0c00000000000000000000000000000000000000000000000000000000030a0bb000000000000000000000000000000000000000000000000000000000030627ca000000000000000000000000000000000000000000000000000000000000006600000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000b4214b04d6d8f830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f88e7b50abc0a0f2461d61b86b1a71fe4f934f0c00000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000022000100000000000000000000000000000000000000000000000000000000000298100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
14
"nonce": "0xd1",
15
"to": "0xab43a615526e3e15b63e5812f74a0a1b86e9965e",
16
"transactionIndex": "0x0",
17
"value": "0xb4214b04d6d8f83",
18
"type": "0x2",
19
"accessList": [],
20
"chainId": "0x89",
21
"v": "0x0",
22
"r": "0x574ab64d6d45f5dc2b11e4616a605a2714f0c0dfa74ed0e5da2572ff4bf39aed",
23
"s": "0x3e6a4df0ece1409989c6eacb666e7be67c2fb03cc17fb2af4fb263463ad44263",
24
"yParity": "0x0"
25
}
26
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用