eth_feeHistory RPC Method
Parâmetros
blockCount
string/integer
OBRIGATÓRIO
Carregando...
newestBlock
cadeia de caracteres
OBRIGATÓRIO
Carregando...
rewardPercentiles
número inteiro
OBRIGATÓRIO
Carregando...
Devoluções
oldestBlock
Carregando...
taxaBásicaPorGas
Carregando...
gasUsedRatio
Carregando...
reward
Carregando...
Pedido
Resposta
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x50a1a32",6"reward": [7[8"0x0",9"0x0"10],11[12"0x0",13"0x0"14],15[16"0x0",17"0x0"18],19[20"0x0",21"0x0"22]23],24"baseFeePerGas": [25"0x1312d00",26"0x1312d00",27"0x1312d00",28"0x1312d00",29"0x1312d00"30],31"gasUsedRatio": [320.002714357142857143,330.002714357142857143,340.005427,350.0001117619047619047636]37}38}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"oldestBlock": "0x50a1a32",6"reward": [7[8"0x0",9"0x0"10],11[12"0x0",13"0x0"14],15[16"0x0",17"0x0"18],19[20"0x0",21"0x0"22]23],24"baseFeePerGas": [25"0x1312d00",26"0x1312d00",27"0x1312d00",28"0x1312d00",29"0x1312d00"30],31"gasUsedRatio": [320.002714357142857143,330.002714357142857143,340.005427,350.0001117619047619047636]37}38}
Ainda não tem uma conta?
Crieendpoint seuendpoint Quicknode endpoint segundos e comece a desenvolver
Comece gratuitamente