eth_feeHistory RPC 方法
參數
blockCount
字串/整數
必填
載入中...
最新區塊
字串
必填
載入中...
獎勵百分位數
陣列
必填
載入中...
退貨
oldestBlock
載入中...
baseFeePerGas
載入中...
gasUsedRatio
載入中...
獎勵
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x731bc51",6「獎勵」: [7[8"0xe65ca8",9"0x21789a8"10],11[12"0xe65ca8",13"0x21789a8"14],15[16"0xe65ca8",17"0x21789a8"18],19[20"0xe65ca8",21"0x21789a8"22]23],24"baseFeePerGas": [25"0x3b9aca00",26"0x3b9aca00",27"0x3b9aca00",28"0x3b9aca00"29],30"gasUsedRatio": [310.99,320.99,330.99,340.9935]36}37}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x731bc51",6「獎勵」: [7[8"0xe65ca8",9"0x21789a8"10],11[12"0xe65ca8",13"0x21789a8"14],15[16"0xe65ca8",17"0x21789a8"18],19[20"0xe65ca8",21"0x21789a8"22]23],24"baseFeePerGas": [25"0x3b9aca00",26"0x3b9aca00",27"0x3b9aca00",28"0x3b9aca00"29],30"gasUsedRatio": [310.99,320.99,330.99,340.9935]36}37}