Skip to content

Fix: Metamask relies on incorrect eth_ RPC endpoint for gas estimation #5417

Open
@sambacha

Description

@sambacha

const gasPrice = await query(ethQuery, 'gasPrice');

eth_estimateGas RPC should not be used for 1559 estimations, instead eth_feeHistory should be used: https://github.com/ethereum/execution-apis/blob/main/src/eth/fee_market.yaml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions