{% hint style="info" %} The following ENVs are used for different integrations. Some work with various microservices (when the variable begins with MICROSERVICE) while others are contained within the application.
More info on Blockscout Rust MicroServices is available in the blockscout-rs Github Repo. {% endhint %}
Can be set in format 1h
for 1 hour, 1m
for 1 minute, 1s
or 1
for 1 second, 1ms
for 1 millisecond
{% hint style="warning" %} Note: Before release 5.1.2, all environment variables of time format supported only integers in seconds (without dimensions) as values. {% endhint %}
{% hint style="info" %} Connecting to the smart contract verification service {% endhint %}
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_SC_VERIFIER_ENABLED |
If true , integration with Rust smart-contract verifier is enabled. true is the default value starting from version 6.4.0. Implemented in #5860 |
Version: v5.1.3+ |
MICROSERVICE_SC_VERIFIER_URL |
URL of Rust smart-contract verifier. Implemented in #5860 | Version: v5.1.3+ |
MICROSERVICE_ETH_BYTECODE_DB_INTERVAL_BETWEEN_LOOKUPS |
Minimal time after unsuccessful check of smart contract's sources in Eth Bytecode DB. Implemented in #7187. | Version: v5.1.3+ |
MICROSERVICE_SC_VERIFIER_TYPE |
Type of smart contract microservice could be either eth_bytecode_db or sc_verifier . Implemented in #7187 |
Version: v5.1.3+ |
MICROSERVICE_ETH_BYTECODE_DB_MAX_LOOKUPS_CONCURRENCY |
Maximum amount of concurrent requests for fetching smart contract's sources in Eth Bytecode DB. Implemented in #8472 | Version: v5.3.0+ |
MICROSERVICE_SC_VERIFIER_API_KEY |
API key for verification that metadata sent to verifier microservice from a trusted source. Implemented in #8750 | Version: v5.3.2+ |
{% hint style="info" %} Sol2Uml is a visualization tool for Solidity contracts. {% endhint %}
Scroll down on the contract page to find the View UML diagram link
Contract visualization example
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_VISUALIZE_SOL2UML_ENABLED |
If true , integration with Rust sol2uml visualizer is enabled. Implemented in #6401 |
Version: v5.1.3+ |
MICROSERVICE_VISUALIZE_SOL2UML_URL |
URL of Rust visualizer. Implemented in #6401 | Version: v5.1.3+ |
{% hint style="info" %} The Sig-provider microservice is used by Blockscout to display decoded transaction data on transaction pages and to determine transaction actions {% endhint %}
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_SIG_PROVIDER_ENABLED |
If true , integration with Rust sig-provider service is enabled. Implemented in #6541 |
Version: v5.1.3+ |
MICROSERVICE_SIG_PROVIDER_URL |
URL of Rust sig-provider service. Implemented in #6541 | Version: v5.1.3+ |
{% hint style="info" %} Blockscout ENS provides indexed data of domain name service for blockscout instances. Learn more. {% endhint %}
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_BENS_ENABLED |
If true , integration with Blockscout ENS service is enabled. Implemented in #8972 |
Version: v5.4.0+ |
MICROSERVICE_BENS_URL |
URL of Blockscout ENS service. Implemented in #8972 | Version: v5.4.0+ |
{% hint style="info" %} Enables the User Ops Indexer, a service designed to index, decode and serve user operations as per the ERC-4337 standard {% endhint %}
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_ACCOUNT_ABSTRACTION_ENABLED |
If true , integration with Blockscout Account Abstraction service is enabled. Implemented in #9145 |
Version: v6.1.0+ |
MICROSERVICE_ACCOUNT_ABSTRACTION_URL |
URL of Blockscout ENS service. Implemented in #9145 | Version: v6.1.0+ |
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_TRANSACTION_INTERPRETATION_ENABLED |
If true , integration with Tx Interpreter Service is enabled. Implemented in #8957 |
Version: v5.4.0+ |
MICROSERVICE_TRANSACTION_INTERPRETATION_URL |
URL of Tx Interpreter Service. Implemented in #8957 | Version: v5.4.0+ |
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_METADATA_ENABLED |
If true , integration with Metadata Service is enabled. Implemented in #9706 |
Version: v6.4.0+ |
MICROSERVICE_METADATA_URL |
URL of Metadata Service. Implemented in #9706 | Version: v6.4.0+ |
MICROSERVICE_METADATA_PROXY_REQUESTS_TIMEOUT |
Timeout for request forwarding from /api/v2/proxy/metadata/ . Implemented in #11656 |
Version: v7.0.0+ |
{% hint style="info" %} Multichain Search is the single point of search of the data in the all blockchains. {% endhint %}
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_MULTICHAIN_SEARCH_URL |
Multichain Search Service API URL. Integration is enabled, if this variable value contains valid URL. Implemented in #11139 | Version: v6.10.0+ |
MICROSERVICE_MULTICHAIN_SEARCH_API_KEY |
Multichain Search Service API key. Implemented in #11139 | Version: v6.10.0+ |
MIGRATION_BACKFILL_MULTICHAIN_SEARCH_BATCH_SIZE |
Batch size of backfilling Multichain Search Service DB. Implemented in #11139 | Version: v6.10.0+ |
{% hint style="info" %} Allows for contract verification via Sourcify {% endhint %}
Variable | Description | Parameters |
---|---|---|
SOURCIFY_INTEGRATION_ENABLED |
Enables or disables verification of contracts through Sourcify. | Version: v5.1.3+ |
SOURCIFY_SERVER_URL |
URL to Sourcify backend. | Version: v3.7.0+ |
SOURCIFY_REPO_URL |
URL to Sourcify repository with fully verified contracts. | Version: v3.7.0+ |
Variable | Description | Parameters |
---|---|---|
SHOW_TENDERLY_LINK |
if true , Open in Tenderly" button is displayed on the transaction page. Implemented in #4656 |
Version: v4.0.0+ |
TENDERLY_CHAIN_PATH |
Chain path to the transaction in Tenderly. For instance, for transactions in xDai, Tenderly link looks like this https://dashboard.tenderly.co/tx/xdai/0x... , then TENDERLY_CHAIN_PATH =/xdai. Implemented in #4656 |
Version: v4.0.0+ |
{% hint style="info" %} Integration with the Datadog monitoring and analytics tools {% endhint %}
Variable | Description | Parameters |
---|---|---|
DATADOG_HOST |
Host configuration setting for Datadog integration. | Version: all |
DATADOG_PORT |
Port configuration setting for Datadog integration. | Version: all |
{% hint style="info" %} Spandex is a library for tracing Elixir applications {% endhint %}
Variable | Description | Parameters |
---|---|---|
SPANDEX_BATCH_SIZE |
Spandex and Datadog configuration setting. | Version: all |
SPANDEX_SYNC_THRESHOLD |
Spandex and Datadog configuration setting. | Version: all |
{% hint style="info" %} Variables for adding Mixpanel and/or amplitude for visitor analytics. {% endhint %}
Variable | Description | Parameters |
---|---|---|
MIXPANEL_TOKEN |
Mixpanel project token. | Needs Recompile: ☑️ |
MIXPANEL_URL |
Url to use Mixpanel with proxy (Collection via Proxy). | Needs Recompile: ☑️ |
AMPLITUDE_API_KEY |
Amplitude API key. | Needs Recompile: ☑️ |
AMPLITUDE_URL |
Url to use Amplitude with proxy (Use Domain Proxy to Relay Events). | Needs Recompile: ☑️ |
{% hint style="info" %} Enables security scoring for smart contracts {% endhint %}
Variable | Description | Parameters |
---|---|---|
SOLIDITYSCAN_PLATFORM_ID |
Internal platform id in Solidityscan. Implemented in #10473 | Version: v6.8.0+ |
SOLIDITYSCAN_CHAIN_ID |
Internal chain id in Solidityscan. It may not match with actual chain ID. Implemented in #8908 | Version: v5.3.3+ |
SOLIDITYSCAN_API_TOKEN |
API token for usage of Solidityscan API. | Version: v5.3.3+ |
{% hint style="info" %} Adds additional transaction details such as summaries and asset flows. More info here. {% endhint %}
Variable | Description | Parameters |
---|---|---|
NOVES_FI_BASE_API_URL |
Noves.fi API base URL. Implemented in #9056. | Version: v6.1.0+ |
NOVES_FI_CHAIN_NAME |
Noves.fi API chain name. Implemented in #9056. | Version: v6.1.0+ |
NOVES_FI_API_TOKEN |
Noves.fi API token. Implemented in #9056. | Version: v6.1.0+ |
{% hint style="info" %} The MUD framework provides standardized tools for data retrieval, libraries and more. {% endhint %}
Variable | Description | Parameters |
---|---|---|
MUD_INDEXER_ENABLED |
If true , integration with MUD is enabled. Implemented in #9869 |
Version: v6.6.0+ |
MUD_DATABASE_URL |
MUD indexer DB connection URL. | Version: v6.6.0+ |
MUD_POOL_SIZE |
MUD indexer DB pool_size |
Version: v6.6.0+ |
{% hint style="info" %} Enables Xname app integration, which includes humanity score displayment. {% endhint %}
Variable | Description | Parameters |
---|---|---|
XNAME_BASE_API_URL |
Xname API base URL. Implemented in #11010. | Version: v6.9.2+ |
XNAME_API_TOKEN |
Xname API token. Implemented in #11010. | Version: v6.9.2+ |
{% hint style="info" %} Connecting to the Stylus smart contract verification service {% endhint %}
Variable | Description | Parameters |
---|---|---|
MICROSERVICE_STYLUS_VERIFIER_URL |
URL of Stylus verifier. If set valid url and CHAIN_TYPE=arbitrum , integration with Stylus verifier is enabled. Implemented in #11183 |
Version: v6.10.0+ |