Home

eth_estimateTotalFee

POST
wss://mantle.nownodes.io/wss/{api_key}

Estimates the total Mantle transaction fee, including L2 execution, L1 data and operator fee.

Mantle Mainnet (chain ID 5000 / 0x1388). Gas token: MNT.

Transport: JSON-RPC 2.0 as a WebSocket text frame. The OpenAPI POST operation is a documentation representation only; do not send HTTP POST or curl to a wss:// URL.

WebSocket endpoint:

Copied!
wss://mantle.nownodes.io/wss/{api_key}

Connect using a valid NOWNodes API key in the path, then send:

Copied!
wscat -c 'wss://mantle.nownodes.io/wss/YOUR_API_KEY'
> {"jsonrpc":"2.0","id":1,"method":"eth_estimateTotalFee","params":[{"to":"0x0000000000000000000000000000000000000000","value":"0x0"}]}

Response examples below are illustrative unless a fixed protocol constant is specified (e.g. chain ID). They were not captured from a live NOWNodes Mantle endpoint.

Mantle-specific notes: Mantle-specific API added with Arsia (activated on Mainnet 2026-04-22). Returns total fee in wei of MNT. Endpoint/provider support must be verified. The result is illustrative, not a live quote.

This method is Mantle-specific, not part of the generic Ethereum JSON-RPC standard; confirm provider enablement before relying on it.

Body

application/json

JSON-RPC 2.0 text frame sent over an established WebSocket connection, not an HTTP request.

jsonrpcstringrequired
idintegerrequired
methodstringeth_estimateTotalFeerequired
paramsArray<any>required

Parameters

api_keystringrequiredpath

NOWNodes API key used during the WebSocket handshake.

Response

200OK

Illustrative JSON-RPC message delivered over WebSocket ("200" is an OpenAPI documentation convention, not an HTTP response from a WS frame).