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

# suggestedGasFees

> Learn how to use the suggestedGasFees JSON-RPC method.

## Contextualizing `suggestedGasFees`

* `suggestedGasFees` returns an object containing tiered gas fee suggestions under EIP-1559 regulations for a chain derived from a given `chainId`.

It provides gas fee options for low, medium, and fast transaction speeds, complete with estimated wait times and the current base fee. It takes no parameters, although, as usual with Particle's enhanced RPC, it still requires basic authentication.

***

## Query example

```javascript JavaScript theme={null}
const axios = require('axios');

(async () => {
    const response = await axios.post('https://rpc.particle.network/evm-chain', {
        chainId: 42,
        jsonrpc: '2.0',
        id: 1,
        method: 'particle_suggestedGasFees',
        params: [],
    }, {
        auth: {
            username: 'Your Project Id',
            password: 'Your Project Server Key',
        }
    });

    console.log(response.data);
})();
```


## OpenAPI

````yaml openapi-evm POST /#particle_suggestedGasFees
openapi: 3.0.0
info:
  title: Particle Network Enhanced RPC
  version: 1.0.0
servers:
  - url: https://rpc.particle.network/evm-chain
security: []
paths:
  /#particle_suggestedGasFees:
    post:
      summary: suggestedGasFees
      operationId: suggestedGasFees
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuggestedGasFeesRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuggestedGasFeesResponse'
      security:
        - basicAuth: []
components:
  schemas:
    SuggestedGasFeesRequest:
      allOf:
        - $ref: '#/components/schemas/RPCRequest'
        - type: object
          required:
            - method
          properties:
            method:
              type: string
              default: particle_suggestedGasFees
              enum:
                - particle_suggestedGasFees
            params:
              type: array
              enum:
                - []
    SuggestedGasFeesResponse:
      allOf:
        - $ref: '#/components/schemas/RPCResponse'
        - type: object
          properties:
            result:
              type: object
              properties:
                low:
                  type: object
                  description: Low gas fee estimate.
                medium:
                  type: object
                  description: Medium gas fee estimate.
                high:
                  type: object
                  description: High gas fee estimate.
                baseFee:
                  type: string
                  description: Base gas fee.
    RPCRequest:
      type: object
      required:
        - jsonrpc
        - id
        - method
        - params
        - chainId
      properties:
        jsonrpc:
          type: string
          default: 2
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        method:
          type: string
          description: API method being called.
        chainId:
          type: integer
          example: 1
          description: The chain ID.
        params:
          type: array
          description: Parameters for the API method call.
    RPCResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          description: The request identifier.
          example: 1
        result:
          anyOf:
            - $ref: '#/components/schemas/AnyValue'
    AnyValue:
      anyOf:
        - type: string
        - type: number
        - type: integer
        - type: boolean
        - type: object
        - type: array
          items: {}
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````