CHAIN_ID | EVM chain id | Yes | 1 |
DATABASE_URL | Postgresql database URI | Yes | (empty) |
DIRECT_URL | Direct connection to the database used by Prisma CLI for e.g. migrations. | Yes | (empty) |
REDIS_URI | Redis host | Yes | redis://localhost:6379/1 |
SECRET_KEY | Shared key used for JWT authentication with the indexer | Yes | (empty) |
NETWORK_NAME | Network's name (valid values are: mainnet , holesky , sepolia , gnosis , chiado , devnet ) | No | mainnet |
BLOBSCAN_API_BASE_URL | API domain | No | http://localhost:3001 |
BLOBSCAN_API_PORT | API port | No | 3001 |
DENCUN_FORK_SLOT | Custom slot when blobs are activated (use when NETWORK_NAME=devnet ) | No | (empty) |
METRICS_ENABLED | Expose the /metrics endpoint | No | false |
TRACES_ENABLED | Enable instrumentation of functions and sending traces to a collector | No | false |
NODE_ENV | Used in Node.js applications to specify the environment in which the application is running | No | (empty) |
SENTRY_DSN_API | Sentry DSN | No | (empty) |
GOOGLE_SERVICE_KEY | Google Cloud service key | No | (empty) |
GOOGLE_STORAGE_ENABLED | Store blobs in Google Cloud Storage | No | false |
GOOGLE_STORAGE_API_ENDPOINT | Google Cloud API endpoint (for development) | No | (empty) |
GOOGLE_STORAGE_BUCKET_NAME | Google Cloud Storage bucket name | No | (empty) |
GOOGLE_STORAGE_PROJECT_ID | Google Cloud project ID | No | (empty) |
POSTGRES_STORAGE_ENABLED | Store blobs in postgres database (default storage) | No | false |
SWARM_DEFERRED_UPLOAD | Determines if the uploaded data should be sent to the network immediately or in a deferred fashion | No | true |
SWARM_STORAGE_ENABLED | Store blobs in Ethereum Swarm | No | false |
SWARM_BATCH_ID | Batch ID of the Ethereum Swarm stamp | If SWARM_STORAGE_ENABLED=true | (empty) |
BEE_ENDPOINT | Bee endpoint | No | (empty) |
FILE_SYSTEM_STORAGE_ENABLED | Store blobs in filesystem | No | false |
FILE_SYSTEM_STORAGE_PATH | Store blobs in this path | No | /tmp/blobscan-blobs |
WEAVEVM_STORAGE_ENABLED | Weavevm storage usage | No | false |
WEAVEVM_STORAGE_API_BASE_URL | Weavevm API base url | No | https://blobscan.wvm.network |
WEAVEVM_API_KEY | API key required to authenticate requests to the WeaveVM blob storage reference updater endpoint | No | (empty) |
STATS_SYNCER_DAILY_CRON_PATTERN | Cron pattern for the daily stats job | No | 30 0 * * * * |
STATS_SYNCER_OVERALL_CRON_PATTERN | Cron pattern for the overall stats job | No | */15 * * * * |
ETH_PRICE_SYNCER_CRON_PATTERN | Cron pattern for the job that periodically stores ETH price in database | No | 0 * * * * |
ETH_PRICE_SYNCER_CHAIN_ID | ID of the chain where price feed contract is deployed on | No | (empty) |
ETH_PRICE_SYNCER_CHAIN_JSON_RPC_URL | Ethereum Mainnet RPC endpoint | Yes | (empty) |
ETH_PRICE_SYNCER_ETH_USD_PRICE_FEED_CONTRACT_ADDRESS | Ethereum contract address for the ETH/USD data feed | No | 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419 |
ETH_PRICE_SYNCER_TIME_TOLERANCE | Maximum allowed age (in seconds) of the fetched price. | No | (empty) |
SWARM_STAMP_CRON_PATTERN | Cron pattern for swarm job | No | */15 * * * * |
BLOB_PROPAGATOR_COMPLETED_JOBS_AGE | Remove completed jobs after the specified number of seconds (default: 1 day) | No | 86400 |
BLOB_PROPAGATOR_FAILED_JOBS_AGE | Remove completed jobs after the specified number of seconds (default: 7 days) | No | 604800 |
VITEST_MAINNET_FORK_URL | Mainnet JSON-RPC URL used for starting a local Anvil instance to run tests against | No | https://eth.llamarpc.com |