Skip to main content

Categories

Time format

Can be set in format 1d for 1 day, 1h for 1 hour, 1m for 1 minute, 1s or 1 for 1 second, 1ms for 1 millisecond. If no unit is provided, the value will be interpreted as seconds.
Note : Before release 5.1.2, all environment variables of time format supported only integers in seconds (without dimensions) as values.

Required variables

General Management

Database Management

JSON RPC Node Management

Indexer Management

DB Migrations & Sanitizer Management

Market

Cache Management

See the Time format section for more information on variable formatting.
| CACHE_TOTAL_GAS_USAGE_PERIOD | Interval to restart the task which calculates the total gas usage. Starting from release v6.8.0+, if the value is not set, ttl value gradually increases until the default value with growth of the block numbers. | Version: v4.1.3+
Default: 2h
Applications: API, Indexer | | TOKEN_METADATA_UPDATE_INTERVAL | Interval to restart the task which updates token metadata. | Version: v2.0.1+
Default: 48h
Applications: API, Indexer | | TOKEN_COUNTERS_UPDATE_INTERVAL | Interval to restart the task which updates token counters (transfers count and holders count). | Version: v9.0.0+
Default: 3h
Applications: Indexer | | CACHE_AVERAGE_BLOCK_PERIOD | Time to initiate first calculation and caching of average block period after start/re-start of the application. | Version: v4.1.3+
Default: 30m
Applications: API, Indexer | | CACHE_AVERAGE_BLOCK_TIME_WINDOW | The number of blocks to be taken into account in the calculations. Introduced in #13470. | Version: v9.2.0+
Default: 100
Applications: API, Indexer | | CACHE_MARKET_HISTORY_PERIOD | Update of market history cache. | Version: v4.1.3+
Default: 1h
Applications: API, Indexer | | TOKEN_BALANCE_ON_DEMAND_FETCHER_THRESHOLD | A threshold to invalidate token balance cache. | Version: v5.1.2+
Default: 1h
Applications: API, Indexer | | TOKEN_BALANCE_ON_DEMAND_FETCHER_BATCH_SIZE | Batch size for Indexer.Fetcher.OnDemand.TokenBalance. Introduced in #14265 | Version: v11.0.1+
Default: 500
Applications: API, Indexer | | TOKEN_BALANCE_ON_DEMAND_FETCHER_CONCURRENCY | Concurrency for Indexer.Fetcher.OnDemand.TokenBalance. Introduced in #14265 | Version: v11.0.1+
Default: 4
Applications: API, Indexer | | TOKEN_BALANCE_ON_DEMAND_FETCHER_ADDRESS_QUEUE_FLUSH_INTERVAL | How often the on-demand token balance address queue is flushed to processing. Use a shorter interval for lower latency, or a longer interval to accumulate larger batches and reduce query frequency. Introduced in #14265 | Version: v11.0.1+
Default: 1s
Applications: API, Indexer | | TOKEN_BALANCE_ON_DEMAND_FETCHER_ADDRESS_QUEUE_BATCH_SIZE | Batch size for on-demand token balance address queue. Introduced in #14265 | Version: v11.0.1+
Default: 50
Applications: API, Indexer | | COIN_BALANCE_ON_DEMAND_FETCHER_THRESHOLD | A threshold to invalidate coin balance cache. | Version: v5.1.2+
Default: 1h
Applications: API, Indexer | | CONTRACT_CODE_ON_DEMAND_FETCHER_THRESHOLD | An initial threshold (for exponential backoff) to fetch smart-contract bytecode on-demand. Implemented in #9708. | Version: v6.4.0+
Default: 5s
Applications: API, Indexer | | CACHE_BLOCK_COUNT_PERIOD | Time to live of blocks with consensus count cache. Starting from release v6.8.0+, if the value is not set, ttl value gradually increases until the default value with growth of the block numbers. Introduced in #1876. | Version: v4.1.3+
Default: 2h
Applications: API, Indexer | | CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED | if true, enables cache for total gas usage counter. | Version: v5.1.3+
Default: false
Applications: API, Indexer | | CACHE_TXS_COUNT_PERIOD | Time interval to restart the task that calculates the total txs count. Starting from release v6.8.0+, if the value is not set, ttl value gradually increases until the default value with growth of the block numbers. | Version: v4.1.3+
Default: 2h
Applications: API, Indexer | | CACHE_TRANSACTIONS_24H_STATS_PERIOD | Interval to update data for the last 24 hours transactions stats. Introduced in #9483. | Version: v6.3.0+
Default: 1h
Applications: API, Indexer | | CACHE_FRESH_PENDING_TRANSACTIONS_COUNTER_PERIOD | Interval to update count of pending transactions that appeared less than half an hour ago. Introduced in #9483. | Version: v6.3.0+
Default: 5m
Applications: API, Indexer | | CACHE_OPTIMISM_LAST_OUTPUT_ROOT_SIZE_COUNTER_PERIOD | Interval to update data for the last output root size counter. Introduced in #9532. | Version: v6.3.0+
Default: 5m
Applications: API, Indexer | | CACHE_OPTIMISM_DEPOSITS_COUNTER_PERIOD | Interval to update the Optimism deposits count. Introduced in #14733. | Version: v12.0.0+
Default: 1h
Applications: API, Indexer | | CACHE_PENDING_OPERATIONS_COUNT_PERIOD | Time interval to restart the task which calculates the total pending operations count. Introduced in #12474. | Version: v10.0.0+
Default: 5m
Applications: API, Indexer | | CACHE_HOT_SMART_CONTRACTS_5M_PERIOD | TTL for ConCache entries serving GET /api/v2/stats/hot-smart-contracts with scale=5m. Controls how long paginated rankings over the last 5 minutes of contract activity are reused before recomputing from the database. Time format. Shorter TTL = fresher data, more DB load. Longer TTL = less load, staler rankings. | Version: v11.2.0+
Default: 30s
Applications: API | | CACHE_HOT_SMART_CONTRACTS_1H_PERIOD | TTL for ConCache entries serving GET /api/v2/stats/hot-smart-contracts with scale=1h. Controls how long paginated rankings over the last 1 hour of contract activity are reused before recomputing from the database. Time format. | Version: v11.2.0+
Default: 6m
Applications: API | | CACHE_HOT_SMART_CONTRACTS_3H_PERIOD | TTL for ConCache entries serving GET /api/v2/stats/hot-smart-contracts with scale=3h. Controls how long paginated rankings over the last 3 hours of contract activity are reused before recomputing from the database. Time format. | Version: v11.2.0+
Default: 18m
Applications: API |

Gas Price Oracle

Main Page Dashboard

Contract Management

Bridged Tokens

Miscellaneous UI

CSV Export

When CSV_EXPORT_ASYNC_ENABLED is true, supported CSV export endpoints create a tracked request, enqueue a background job, write the CSV to a temporary file, upload it to Gokapi, and return a request_id for polling instead of streaming the CSV directly in the HTTP response.

reCAPTCHA

Use Invisible reCAPTCHA v2 for the latest versions. If using a previous version only choose v2 or v3, do not use both (we recommend v2). reCAPTCHA v3 support may be discontinued in future updates. More info on reCAPTCHA settings available here.

API Rate Limits

General application rate Limits

GraphQL API

Specific Smart Contracts

CDN

This feature was implemented in #10675

Addresses Blacklist management

Section created as a result of #11417

Prometheus Metrics Management

Old UI Management