From cfcd61c6ba9899091b000b6f056c36ff08df3683 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Fri, 10 Apr 2026 16:37:02 +0300 Subject: [PATCH] Add API_ETH_RPC_EXTENDED_PROXY_METHODS_ENABLED env variable --- setup/env-variables/backend-env-variables.mdx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/setup/env-variables/backend-env-variables.mdx b/setup/env-variables/backend-env-variables.mdx index 64b493a..993f853 100644 --- a/setup/env-variables/backend-env-variables.mdx +++ b/setup/env-variables/backend-env-variables.mdx @@ -111,18 +111,19 @@ Can be set in format `1d` for 1 day, `1h` for 1 hour, `1m` for 1 minute, `1s` or | `HEART_COMMAND` | Production environment variable to restart the application in the event of a crash. | Version: All
Default: (empty)
Applications: API, Indexer | | `ELIXIR_VERSION` | Elixir version to install on the node before Blockscout deploy. It is used in bash script in Terraform / Ansible deployment script | Version: All
Default: (empty)
Applications: API, Indexer | | `DISABLE_WEBAPP` | If `true` endpoints to webapp are hidden. Also, enabling it makes notifications go through `db_notify` | Needs Recompile: ☑️ Version: v2.0.3\+
Default: `false`
Applications: API, Indexer | -| `DISABLE_BLOCK_BROADCAST_ENRICHMENT` | If `true`, disables ENS and metadata enrichment for `new_block` WebSocket broadcasts. Implemented in [#12074](https://github.com/blockscout/blockscout/pull/12074). | Version: v11.0.0\+
Default: (empty)
Applications: API | +| `DISABLE_BLOCK_BROADCAST_ENRICHMENT` | If `true`, disables ENS and metadata enrichment for `new_block` WebSocket broadcasts. Implemented in [#12074](https://github.com/blockscout/blockscout/pull/12074). | Version: v11.0.0\+
Default: (empty)
Applications: API | | `API_V1_READ_METHODS_DISABLED` | If `true`, read-only endpoints to API v1 are hidden. | Needs Recompile: ☑️ Version: v5.1.5\+
Default: `false`
Applications: API | | `API_V1_WRITE_METHODS_DISABLED` | If `true`, write endpoints to API v1 are hidden. | Needs Recompile: ☑️ Version: v5.1.5\+
Default: `false`
Applications: API | | `DISABLE_API` | If `true`, endpoint is not started. Set this if you want to use an indexer-only setup. Implemented in [#10032](https://github.com/blockscout/blockscout/pull/10032) | Version: v6.6.0\+
Default: `false`
Applications: API, Indexer | | `WEBAPP_URL` | Link to web application instance, e.g. `protocol://host/path` | Version: v2.0.3\+
Default: (empty)
Applications: API | | `API_URL` | Link to API instance, e.g. `protocol://host/path` | Version: v2.0.3\+
Default: (empty)
Applications: API | | `API_V2_ENABLED` | Enable API V2. Implemented in [#6361](https://github.com/blockscout/blockscout/pull/6361) (v5.0.0\+), default `true` since [#8802](https://github.com/blockscout/blockscout/pull/8802) | Version: v5.3.2\+
Default: `true`
Applications: API | +| `API_ETH_RPC_EXTENDED_PROXY_METHODS_ENABLED` | Enables extended proxy method support for API ETH RPC. Added for the `master` release and disabled by default for backward compatibility. | Version: master
Default: `false`
Applications: API | | `API_SENSITIVE_ENDPOINTS_KEY` | API key to protect some sensitive endpoints. Implemented in [#7355](https://github.com/blockscout/blockscout/pull/7355) | Version: v5.1.5\+
Default: (empty)
Applications: API | | `CHECKSUM_ADDRESS_HASHES` | If set to `true`, redirects to checksummed version of address hashes. | Version: v3.1.0\+
Default: `true`
Applications: API | | `CHECKSUM_FUNCTION` | Defines checksum address function. 2 available values: `rsk`, `eth` | Version: v2.0.1\+
Default: `eth`
Applications: API | -| `CHAIN_TYPE` | Specifies the blockchain architecture and enables chain-specific data models and fetchers. | Runtime configurable (v8.0.0\+): `neon`, `stability`, `blackfort`, `shibarium`, `arc`
Needs recompilation: `ethereum`, `optimism`, `arbitrum`, `optimism-celo` (formerly `celo` before v9.3.0), `rsk`, `suave`, `zetachain`, `filecoin`, `zilliqa`, and other values prior to v8.0.0 Version: v5.3.0\+
Default: `default`
Applications: API, Indexer | -| `CHAIN_ID` | Chain ID of the network. For instance, 100 in the case of Gnosis chain. | Version: v3.7.0\+
Default: (empty)
Applications: API, Indexer | +| `CHAIN_TYPE` | Specifies the blockchain architecture and enables chain-specific data models and fetchers. | Runtime configurable (v8.0.0\+): `neon`, `stability`, `blackfort`, `shibarium`, `arc`
Needs recompilation: `ethereum`, `optimism`, `arbitrum`, `optimism-celo` (formerly `celo` before v9.3.0), `rsk`, `suave`, `zetachain`, `filecoin`, `zilliqa`, and other values prior to v8.0.0 Version: v5.3.0\+
Default: `default`
Applications: API, Indexer | +| `CHAIN_ID` | Chain ID of the network. For instance, 100 in the case of Gnosis chain. | Version: v3.7.0\+
Default: (empty)
Applications: API, Indexer | | `HEALTH_MONITOR_CHECK_INTERVAL` | Interval between health stats collection. [Time format](/setup/env-variables/backend-env-variables#time-format). Implemented in [#11888](https://github.com/blockscout/blockscout/pull/11888/) | Version: v8.0.0\+
Default: `1m`
Applications: API, Indexer | | `HEALTH_MONITOR_BLOCKS_PERIOD` | New blocks indexed max delay in /health API endpoint. [Time format](/setup/env-variables/backend-env-variables#time-format). Implemented in [#11888](https://github.com/blockscout/blockscout/pull/11888/) | Version: v8.0.0\+
Default: `5m`
Applications: API, Indexer | | `HEALTH_MONITOR_BATCHES_PERIOD` | New batches indexed max delay in /health API endpoint. [Time format](/setup/env-variables/backend-env-variables#time-format). Implemented in [#11888](https://github.com/blockscout/blockscout/pull/11888/) | Version: v8.0.0\+
Default: `4h`
Applications: API, Indexer | @@ -133,14 +134,14 @@ Can be set in format `1d` for 1 day, `1h` for 1 hour, `1m` for 1 minute, `1s` or | `EIP_1559_ELASTICITY_MULTIPLIER` | EIP-1559 elasticity multiplier. See also `INDEXER_OPTIMISM_L2_HOLOCENE_TIMESTAMP`. Implemented in [#7253](https://github.com/blockscout/blockscout/pull/7253) | Version: v5.1.3\+
Default: `2`
Applications: API | | `EIP_1559_BASE_FEE_MAX_CHANGE_DENOMINATOR` | EIP-1559 base fee max change denominator. See also `INDEXER_OPTIMISM_L2_HOLOCENE_TIMESTAMP`. Implemented in [#9202](https://github.com/blockscout/blockscout/pull/9202) | Version: v6.2.0\+
Default: `8`
Applications: API | | `EIP_1559_BASE_FEE_LOWER_BOUND_WEI` | Minimum boundary for base fee calculation in `wei`. Implemented in [#12370](https://github.com/blockscout/blockscout/pull/12370). | Version: v8.1.0\+
Default: `0`
Applications: API | -| `BLOCK_MINER_GETS_BURNT_FEES` | If `true`, the Burnt fees are added to block miner profit and displayed in UI as zero. Implemented in [#13894](https://github.com/blockscout/blockscout/pull/13894). | Version: v10.0.0\+
Default: `false`
Applications: API | +| `BLOCK_MINER_GETS_BURNT_FEES` | If `true`, the Burnt fees are added to block miner profit and displayed in UI as zero. Implemented in [#13894](https://github.com/blockscout/blockscout/pull/13894). | Version: v10.0.0\+
Default: `false`
Applications: API | | `ADDRESSES_TABS_COUNTERS_TTL` | TTL for cached tabs counters (works only for counters which are \< 51, if counter \>= 51, then ttl == :infinity). Implemented in [#8512](https://github.com/blockscout/blockscout/pull/8512) | Version: v5.3.0\+
Default: `10m`
Applications: API | | `API_INTERNAL_TRANSACTIONS_INDEXING_FINISHED_THRESHOLD` | In the case when the 1st tx in the chain already has internal transactions, If the number of blocks in `pending_block_operations` is less than the value in this env var, Blockscout will consider that indexing of internal transactions is finished, otherwise, it will consider that indexing is still taking place and the indexing banner will appear at the top. Implemented in [#7576](https://github.com/blockscout/blockscout/pull/7576). | Version: v5.2.0\+
Default: `1000`
Applications: API | -| `API_DISABLE_CONTRACT_CREATION_INTERNAL_TRANSACTION_ASSOCIATION` | Disables association of internal transaction for finding contract creation transaction. Implemented in [#14090](https://github.com/blockscout/blockscout/pull/14090). | Version: v10.0.3\+, v9.3.7+
Default: (empty)
Applications: API | +| `API_DISABLE_CONTRACT_CREATION_INTERNAL_TRANSACTION_ASSOCIATION` | Disables association of internal transaction for finding contract creation transaction. Implemented in [#14090](https://github.com/blockscout/blockscout/pull/14090). | Version: v10.0.3\+, v9.3.7+
Default: (empty)
Applications: API | | `SHRINK_INTERNAL_TRANSACTIONS_ENABLED` | Variable to enable internal transactions shrinking logic. Implemented in [#10567](https://github.com/blockscout/blockscout/pull/10567). | Version: v6.8.0\+
Default: `false`
Applications: API, Indexer | | `HACKNEY_DEFAULT_POOL_SIZE` | Size of `default` hackney pool. Implemented in [#12406](https://github.com/blockscout/blockscout/pull/12406). | Version: v8.1.0\+
Default: `1000`
Applications: API, Indexer | | `UNIVERSAL_PROXY_CONFIG_URL` | Config URL for universal proxy. Implemented in [#12442](https://github.com/blockscout/blockscout/pull/12442). | Version: v8.1.0\+
Default: `https://raw.githubusercontent.com/blockscout/backend-configs/refs/heads/main/universal-proxy-config.json`
Applications: API | -| `UNIVERSAL_PROXY_CONFIG` | JSON-encoded configuration string used to define settings for the universal proxy. Implemented in [#13787](https://github.com/blockscout/blockscout/pull/13787). | Version: v10.0.0\+
Default: (empty)
Applications: API | +| `UNIVERSAL_PROXY_CONFIG` | JSON-encoded configuration string used to define settings for the universal proxy. Implemented in [#13787](https://github.com/blockscout/blockscout/pull/13787). | Version: v10.0.0\+
Default: (empty)
Applications: API | | `K8S_SERVICE` | Kubernetes service name for Elixir nodes clusterization, more info on how to configure it can be found here https://hexdocs.pm/libcluster/Cluster.Strategy.Kubernetes.DNS.html. Implemented in [#13080](https://github.com/blockscout/blockscout/pull/13080). | Version: v9.2.0\+
Default: (empty)
Applications: API, Indexer | ## Database Management