MetaMask suggestedGasFees API supports new chainID

https://gas-api.metaswap.codefi.network/networks/169/suggestedGasFees

How to make this API support the new ChainID? I read a lot of MetaMask-related documents and found no relevant documents.

Chain’s configuration can be seen here: https://chainlist.org/chain/169

We are the same as Op MainNet.

https://gas-api.metaswap.codefi.network/networks/10/suggestedGasFees

The configuration can be the same as this.

Thanks

RPC endpoint: https://pacific-rpc.manta.network/http

Hi @daniel.z have you seen these maybe : Ethereum provider API | MetaMask developer documentation & Add network with existing chain ID via API - #3 by PPrieditis let me know. I see it’s metaswap, where are you referencing suggestedGasFees API could you point me at the doc thanks

image

The gas displayed on MetaMask is obtained through this interface

This is the api requested by MetaMask background

@0xroo Can you please help and ask your dev to take a look at this issue?

You can open a ticket https://support.metamask.io/hc/en-us/requests/new?ticket_form_id=15901411323931 looks like a MetaMask swap question I’m not familiar with their API

1 Like