eth_feeHistory RPC 方法
參數
blockCount
字串/整數
必填
載入中...
最新區塊
字串
必填
載入中...
獎勵百分位數
整數
必填
載入中...
退貨
oldestBlock
字串
載入中...
baseFeePerGas
陣列
載入中...
gasUsedRatio
陣列
載入中...
獎勵
陣列
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x83cfca",6「獎勵」: [7[8"0x189640200",9"0x1c4fecc00"10],11[12"0x16b969d00",13"0x1e2cc3100"14],15[16"0x16b969d00",17"0x1e8c21200"18],19[20"0x15faadb00",21"0x1b31d2900"22]23],24"baseFeePerGas": [25"0x3b9aca00",26"0x3b9aca00",27"0x3b9aca00",28"0x3b9aca00",29"0x3b9aca00"30],31"gasUsedRatio": [320.011448066666666666,330.013492833333333334,340.011396266666666667,350.006280136]37}38}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x83cfca",6「獎勵」: [7[8"0x189640200",9"0x1c4fecc00"10],11[12"0x16b969d00",13"0x1e2cc3100"14],15[16"0x16b969d00",17"0x1e8c21200"18],19[20"0x15faadb00",21"0x1b31d2900"22]23],24"baseFeePerGas": [25"0x3b9aca00",26"0x3b9aca00",27"0x3b9aca00",28"0x3b9aca00",29"0x3b9aca00"30],31"gasUsedRatio": [320.011448066666666666,330.013492833333333334,340.011396266666666667,350.006280136]37}38}