eth_feeHistory RPC 方法
參數
blockCount
字串
必填
載入中...
最新區塊
字串
必填
載入中...
獎勵百分位數
陣列
必填
載入中...
退貨
oldestBlock
字串
載入中...
baseFeePerGas
陣列
載入中...
gasUsedRatio
陣列
載入中...
獎勵
陣列
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x1554ec2",6「獎勵」: [7[8"0x4b571c0",9"0x2f23c46c"10],11[12"0x396c1b9",13"0x4d579d50"14],15[16"0x77359400",17"0x77359400"18],19[20"0x2faf080",21"0x3b9aca00"22]23],24"baseFeePerGas": [25"0x3af6c9f1",26"0x3b19496d",27"0x36647614",28"0x302c838b",29"0x359f85b3"30],31"gasUsedRatio": [320.5091416944444445,330.18145872222222223,340.04269041059401201,350.952465203785614836],37"baseFeePerBlobGas": [38"0x320b8540d",39"0x384cf5f4e",40"0x3f5694c1f",41"0x44831ac79",42"0x3f5694c1f"43],44"blobGasUsedRatio": [451,461,470.8333333333333334,480.1666666666666666649]50}51}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x1554ec2",6「獎勵」: [7[8"0x4b571c0",9"0x2f23c46c"10],11[12"0x396c1b9",13"0x4d579d50"14],15[16"0x77359400",17"0x77359400"18],19[20"0x2faf080",21"0x3b9aca00"22]23],24"baseFeePerGas": [25"0x3af6c9f1",26"0x3b19496d",27"0x36647614",28"0x302c838b",29"0x359f85b3"30],31"gasUsedRatio": [320.5091416944444445,330.18145872222222223,340.04269041059401201,350.952465203785614836],37"baseFeePerBlobGas": [38"0x320b8540d",39"0x384cf5f4e",40"0x3f5694c1f",41"0x44831ac79",42"0x3f5694c1f"43],44"blobGasUsedRatio": [451,461,470.8333333333333334,480.1666666666666666649]50}51}