Updated on 2023-12-06 GMT+08:00

eth_maxPriorityFeePerGas

Introduction

This API returns a fee per gas that is an estimate of how much you can pay as a priority fee, or a tip, to get a transaction included in the current block. It consumes 13 CUs.

Parameter Description

This method does not accept any parameters.

Return Value

A hexadecimal value of the priority fee needed to be included in a block.

Request

curl https://your-http-endpoint/v1/<API-KEY> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","id":1}'