eth_feeHistory RPC 方法
參數
blockCount
字串/整數
必填
載入中...
最新區塊
字串
必填
載入中...
獎勵百分位數
整數
必填
載入中...
退貨
oldestBlock
字串
載入中...
baseFeePerGas
陣列
載入中...
baseFeePerBlobGas
陣列
載入中...
gasUsedRatio
陣列
載入中...
blobGasUsedRatio
陣列
載入中...
獎勵
陣列
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x27221ab",6「獎勵」: [7[8"0x2553",9"0xf4240"10],11[12"0x32",13"0xf4240"14],15[16"0x2553",17"0xf42a4"18],19[20"0x1",21"0x10c8e0"22]23],24"baseFeePerGas": [25"0x20abbe",26"0x20b16c",27"0x20d2de",28"0x20af94",29"0x209b5a"30],31"gasUsedRatio": [320.17232705333333334,330.19997097066666666,340.131668232,350.14651945636],37"baseFeePerBlobGas": [38"0x1",39"0x1",40"0x1",41"0x1",42"0x1"43],44"blobGasUsedRatio": [450,460,470,48049]50}51}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x27221ab",6「獎勵」: [7[8"0x2553",9"0xf4240"10],11[12"0x32",13"0xf4240"14],15[16"0x2553",17"0xf42a4"18],19[20"0x1",21"0x10c8e0"22]23],24"baseFeePerGas": [25"0x20abbe",26"0x20b16c",27"0x20d2de",28"0x20af94",29"0x209b5a"30],31"gasUsedRatio": [320.17232705333333334,330.19997097066666666,340.131668232,350.14651945636],37"baseFeePerBlobGas": [38"0x1",39"0x1",40"0x1",41"0x1",42"0x1"43],44"blobGasUsedRatio": [450,460,470,48049]50}51}