eth_getTransactionByBlockNumberAndIndex RPC 方法
請注意,對於此 RPC 方法,若區塊編號設定為「待處理」,Polygon zkEVM 會將其視為最新區塊。
參數
區塊編號
字串
必填
載入中...
目錄
字串
必填
載入中...
退貨
物件
物件
載入中...
blockHash
字串
載入中...
區塊編號
字串
載入中...
來自
字串
載入中...
氣體
字串
載入中...
gasPrice
字串
載入中...
hash
字串
載入中...
輸入
字串
載入中...
非重複數
字串
載入中...
至
字串
載入中...
交易索引
字串
載入中...
值
字串
載入中...
類型
字串
載入中...
chainId
字串
載入中...
v
字串
載入中...
r
字串
載入中...
s
字串
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x6a370a193c5ccb811abf53e162a870a8f96c6cbc5b61eb8e6add51b983e407f1",6"blockNumber": "0x22b19b3",7"from": "0xaef7197e050a8eac5f94ea335d97847dd0a77fd4",8"gas": "0x989680",9"gasPrice": "0x5f5e100",10"hash": "0xad8b5a9c405d28b4ba5153abfeb7ddf0800e01d9a09ca2914297ff3d9760a334",11"input": "0x",12"nonce": "0x504293",13"to": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",14"transactionIndex": "0x0",15「價值」: "0x0",16"類型": "0x0",17"chainId": "0xc4",18"v": "0x1ac",19"r": "0x3ae2cb6b7f8bbb703ceb7dfe8b5255e675f2f31d01b1b44371c824308bc3b264",20"s": "0x6eb22ef873412d808396b4835149c0890a417215f7ff10266b42b2e8df66c226"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x6a370a193c5ccb811abf53e162a870a8f96c6cbc5b61eb8e6add51b983e407f1",6"blockNumber": "0x22b19b3",7"from": "0xaef7197e050a8eac5f94ea335d97847dd0a77fd4",8"gas": "0x989680",9"gasPrice": "0x5f5e100",10"hash": "0xad8b5a9c405d28b4ba5153abfeb7ddf0800e01d9a09ca2914297ff3d9760a334",11"input": "0x",12"nonce": "0x504293",13"to": "0x243e55d3233a2af3a8d92b1762296a5ad2c207a7",14"transactionIndex": "0x0",15「價值」: "0x0",16"類型": "0x0",17"chainId": "0xc4",18"v": "0x1ac",19"r": "0x3ae2cb6b7f8bbb703ceb7dfe8b5255e675f2f31d01b1b44371c824308bc3b264",20"s": "0x6eb22ef873412d808396b4835149c0890a417215f7ff10266b42b2e8df66c226"21}22}