Docs
Supported ChainsCronosJSON-RPC APITransaction Methods

eth_gasPrice - Cronos RPC Method

Get current gas price on Cronos. Essential for transaction cost estimation for DeFi protocols, NFT marketplaces, and Crypto.com ecosystem integrations.

Returns the current gas price on Cronos in wei.

Why Cronos? Build on the EVM-compatible Crypto.com blockchain with fast finality and deep Crypto.com ecosystem integration.

Use Cases

The eth_gasPrice method is essential for:

  • Transaction pricing - Set appropriate gas prices
  • Cost estimation - Calculate transaction costs before sending
  • Gas monitoring - Track network congestion
  • DeFi operations - Optimize costs for DeFi protocols, NFT marketplaces, and Crypto.com ecosystem integrations

Request Parameters

Request

This method accepts no parameters.

Response Body

Response
resultQUANTITY

Current gas price in wei (hexadecimal)

Code Examples

Bash
curl -X POST https://api-cronos-mainnet-archive.n.dwellir.com/YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_gasPrice",
    "params": [],
    "id": 1
  }'

Error Handling

Error CodeMessageDescription
-32603Internal errorNode error