post https://scroll-testnet.unifra.io/v1/
Returns a fee per gas that is an estimate of how much you can pay as a priority fee, or "tip", to get a transaction included in the current block.
Generally you will use the value returned from this method to set the maxFeePerGas in a subsequent transaction that you are submitting. This method was introduced with EIP 1559.
NOTE: This method is not currently supported on Kovan
Parameters
none
Returns
QUANTITY - The estimated priority fee per gas.
Example
Request
curl --location --request POST 'https://scroll-prealpha.unifra.io/v1/your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","params":[],"id":1}'
Result
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x4a1476ae6"
}