eth_feeHistory

网络: Arbitrum One · 主网 · Chain ID 42161(0xa4b1)

计为 1 个 Request。 计费规则见 Request Counting。

描述

返回每单位 Gas 基础费与实际优先费的历史。

参数

参数类型必填说明
blockCounthex是区块数量(十六进制)
newestBlockblockTag是最新区块
rewardPercentilesarray否奖励百分位

请求

{ "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x4", "latest", [25, 75]], "id": 1 }

代码示例

curl -X POST https://arbitrum-one-rpc.blockreq.com/v1/rpc/public \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_feeHistory","params":["0x4","latest",[25,75]],"id":1}'

在线试用