diff --git a/services/get-started/endpoints.md b/services/get-started/endpoints.md index 2e0666c012a..a06562affd4 100644 --- a/services/get-started/endpoints.md +++ b/services/get-started/endpoints.md @@ -195,7 +195,7 @@ ZKsync Era WebSockets are supported on Mainnet only. ## Gas API -The Gas REST API supports multiple networks. +The [Gas REST API](../reference/gas-api/index.md) supports multiple networks. Specify the chain ID in your request to interact with the relevant network. diff --git a/services/reference/gas-api/api-reference/basefeehistory.md b/services/reference/gas-api/api-reference/basefeehistory.md index 2d20da6451c..69912a43acd 100644 --- a/services/reference/gas-api/api-reference/basefeehistory.md +++ b/services/reference/gas-api/api-reference/basefeehistory.md @@ -21,7 +21,8 @@ data for a specific blockchain network. **Path**: -- `chainId`: `string` - ID of the chain to query +- `chainId`: `string` - ID of the chain to query. + See the [list of supported chain IDs](../../../get-started/endpoints.md#gas-api). ## Returns diff --git a/services/reference/gas-api/api-reference/basefeepercentile.md b/services/reference/gas-api/api-reference/basefeepercentile.md index def7454f2c6..cc0e09d5d61 100644 --- a/services/reference/gas-api/api-reference/basefeepercentile.md +++ b/services/reference/gas-api/api-reference/basefeepercentile.md @@ -23,6 +23,7 @@ based on historical data. **Path**: - `chainId`: `string` - ID of the chain to query. + See the [list of supported chain IDs](../../../get-started/endpoints.md#gas-api). ## Returns diff --git a/services/reference/gas-api/api-reference/busythreshold.md b/services/reference/gas-api/api-reference/busythreshold.md index aeb7d8c78e5..fa29daed76a 100644 --- a/services/reference/gas-api/api-reference/busythreshold.md +++ b/services/reference/gas-api/api-reference/busythreshold.md @@ -22,6 +22,7 @@ likely due to a high volume of transactions. **Path**: - `chainId`: `string` - ID of the chain to query. + See the [list of supported chain IDs](../../../get-started/endpoints.md#gas-api). ## Returns diff --git a/services/reference/gas-api/api-reference/gasprices-type2.md b/services/reference/gas-api/api-reference/gasprices-type2.md index 2005868eb0c..6a52330e7ac 100644 --- a/services/reference/gas-api/api-reference/gasprices-type2.md +++ b/services/reference/gas-api/api-reference/gasprices-type2.md @@ -18,6 +18,7 @@ blockchain network. **Path**: - `chainId`: `string` - ID of the chain to query. + See the [list of supported chain IDs](../../../get-started/endpoints.md#gas-api). ## Returns diff --git a/services/reference/gas-api/api-reference/index.md b/services/reference/gas-api/api-reference/index.md index 35a4ba76750..93e9338a283 100644 --- a/services/reference/gas-api/api-reference/index.md +++ b/services/reference/gas-api/api-reference/index.md @@ -8,7 +8,7 @@ import TabItem from "@theme/TabItem"; # Gas API reference -This section provides reference information for the various Gas REST APIs. +This section provides reference information for the Gas REST APIs. Use the APIs to: - [Get EIP-1559 gas prices.](./gasprices-type2.md) @@ -16,6 +16,10 @@ Use the APIs to: - [Get the base fee percentile (in Gwei).](./basefeepercentile.md) - [Get the busy threshold for a network.](./busythreshold.md) +:::info +See the [list of supported Gas API networks](../../../get-started/endpoints.md#gas-api). +::: + ## Supported API request formats You can call the Gas APIs in two ways: diff --git a/services/reference/gas-api/index.md b/services/reference/gas-api/index.md index fb5dab6bcb8..c301332bc7e 100644 --- a/services/reference/gas-api/index.md +++ b/services/reference/gas-api/index.md @@ -8,6 +8,10 @@ import CardList from '@site/src/components/CardList' The Gas API is a tool that delivers real-time [gas prices](../../concepts/gas.md) for supported networks, enabling users to identify the best times to execute transactions based on current rates and intricacies introduced by [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559). +:::info +See the [list of supported Gas API networks](../../get-started/endpoints.md#gas-api). +::: +