---
title: "Get list of all available gas prices"
method: GET
path: "/v1/gas-prices/"
tags: ["gas"]
---

# Get list of all available gas prices

`GET /v1/gas-prices/`

This endpoint provides real-time information on the current gas prices across all supported blockchain networks. Gas prices play a crucial role in the speed and cost of executing transactions on a blockchain, and fluctuate frequently based on network demand and usage. By using this endpoint, developers can stay up-to-date with the latest gas prices and adjust their application's transaction parameters accordingly to ensure optimal speed and cost efficiency.

## Query parameters

- `filter[chain_ids]` string[]
- `filter[gas_types]` Type2[]

## Response `200`

List of gas prices

- Response15
  - `data` Container15[]
    - `type` string — Gas price resource type.
    - `id` string — Gas price unique identifier.
    - `attributes` Attributes13
      - `updated_at` string — Date and time when the price was updated in ISO format.
      - `gas_type` 'classic' | 'eip1559' | 'optimistic' — Format of the gas.
      - `info` union
        - object — Object that stores gas prices in classic format.
          - `slow` integer — The gas price for a slow transaction.
          - `standard` integer — The gas price for a standard transaction.
          - `fast` integer — The gas price for a fast transaction.
          - `rapid` integer, nullable — The gas price for a rapid transaction.
        - object — Object that stores gas prices under the EIP-1559 proposal: https://eips.ethereum.org/EIPS/eip-1559
          - `base_fee` integer — The base fee is an algorithmically determined amount of gas that is required for a transaction to be included in a block. It is dynamically adjusted based on network demand and burned whenever a transaction is included in a block.
          - `fast` object — Object that stores information about the gas price for a slow transaction.
            - `priority_fee` integer — The suggested gas price (in wei) that you are willing to pay in order to ensure acceptance of your transaction.
            - `max_fee` integer — The suggested upper limit for the gas price (in wei) that you are willing to pay in order to ensure acceptance of your transaction.
            - `estimation_seconds` integer — An estimation of the time, measured in seconds, required for a transaction to be confirmed on the blockchain.
          - `slow` object — Object that stores information about the gas price for a slow transaction.
            - `priority_fee` integer — The suggested gas price (in wei) that you are willing to pay in order to ensure acceptance of your transaction.
            - `max_fee` integer — The suggested upper limit for the gas price (in wei) that you are willing to pay in order to ensure acceptance of your transaction.
            - `estimation_seconds` integer — An estimation of the time, measured in seconds, required for a transaction to be confirmed on the blockchain.
          - `rapid` object — Object that stores information about the gas price for a rapid transaction.
            - `priority_fee` integer — The suggested gas price (in wei) that you are willing to pay in order to ensure acceptance of your transaction.
            - `max_fee` integer — The suggested upper limit for the gas price (in wei) that you are willing to pay in order to ensure acceptance of your transaction.
            - `estimation_seconds` integer — An estimation of the time, measured in seconds, required for a transaction to be confirmed on the blockchain.
          - `standard` object — Object that stores information about the gas price for a standard transaction.
            - `priority_fee` integer — The suggested gas price (in wei) that you are willing to pay in order to ensure acceptance of your transaction.
            - `max_fee` integer — The suggested upper limit for the gas price (in wei) that you are willing to pay in order to ensure acceptance of your transaction.
            - `estimation_seconds` integer — An estimation of the time, measured in seconds, required for a transaction to be confirmed on the blockchain.
        - object — Object that stores information related to gas prices on the Optimism blockchain.
          - `l1` integer — The total cost of submitting a transaction to Ethereum. This cost is incurred in addition to the L2 execution fee and is typically the primary cost component of a transaction on Optimism.
          - `l2` integer — The cost of computation and storage used in executing a transaction on Layer 2. This is equivalent to the gas used multiplied by the gas price attached to the transaction.
          - `fixed_overhead` integer — A fixed overhead cost denominated in gas that is included in the L1 data fee calculation. This value is currently set to 2100 and does not vary based on the size or complexity of the transaction.
          - `dynamic_overhead` integer — A dynamic overhead cost that scales the L1 fee paid by a fixed number. This value is currently set to 1.0 and is included in the L1 data fee calculation. The L1 gas price used to charge the data fee is automatically updated when new data is received from Ethereum, which may result in users paying a higher or lower than estimated L1 data fee by up to 25%.
    - `relationships` Relationships8 — Gas price related resources.
      - `chain` Relationship
        - `links` RelationshipLinks, required
          - `related` string, url, required — URL to the current chain.
        - `data` ContainerShort, required
          - `type` string, required — Chain resource type.
          - `id` string, required — Chain unique identifier.
  - `links` Links
    - `self` string, url, required

## Other responses

- `400` — Parameters are malformed
- `401` — Unathenticated request
- `429` — Too many requests error

---

[API](https://skmtc.dev/zerion/apis/rest-api.md) · [All operations](https://skmtc.dev/zerion/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zerion/rest-api/revisions/2ef116ef914f/schema)
