> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_gasPrice | Ronin

> The eth_gasPrice method returns the current gas price on the Ronin network, expressed in wei. eth_gasPrice on Ronin via Chainstack.

The `eth_gasPrice` method returns the current gas price on the Ronin network, expressed in wei. This value is determined by the recent costs of transactions and is used to calculate the transaction fee (gas used \* gas price).

## Parameters

* None

## Response

* `result`: The current gas price in wei, returned as a hexadecimal number.

## Use case

Understanding the current gas price is essential for users and applications to set appropriate gas limits for transactions, ensuring they are executed efficiently while optimizing for cost. This method provides a quick way to fetch the current market rate for transaction processing on the Ronin network.


## OpenAPI

````yaml openapi/ronin_node_api/eth_gasPrice.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: eth_gasPrice
  version: 1.0.0
  description: Returns the current price per gas in wei.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - blockchain
      summary: Get current gas price
      operationId: getGasPrice
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_gasPrice
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: Current gas price in wei
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````