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