@@ -122,34 +122,17 @@ STACKS_NODE_TYPE=L1
122122# Override the default file path for the proxy cache control file
123123# STACKS_API_PROXY_CACHE_CONTROL_FILE=/path/to/.proxy-cache-control.json
124124
125- # Enable token metadata processing. Disabled by default.
125+ # Enable FT metadata processing for Rosetta operations display . Disabled by default.
126126# STACKS_API_ENABLE_FT_METADATA=1
127- # STACKS_API_ENABLE_NFT_METADATA=1
128-
129- # If token metadata processing is enabled, this variable determines how the API reacts to metadata processing failures.
130- # When strict mode is enabled, any failures caused by recoverable errors will be retried indefinitely. Otherwise,
131- # the API will give up after `STACKS_API_TOKEN_METADATA_MAX_RETRIES` is reached for that smart contract.
132- # STACKS_API_TOKEN_METADATA_STRICT_MODE=1
133-
134- # Maximum number of times we'll try processing FT/NFT metadata for a specific smart contract if we've failed
135- # because of a recoverable error.
136- # Only used if `STACKS_API_TOKEN_METADATA_STRICT_MODE` is disabled.
137- # STACKS_API_TOKEN_METADATA_MAX_RETRIES=5
138-
139- # Controls the token metadata error handling mode. The possible values are:
140- # * `warning`: If required metadata is not found, the API will issue a warning and not display data for that token.
141- # * `error`: If required metadata is not found, the API will throw an error.
142- # If not specified or any other value is provided, the mode will be set to `warning`.
143- # STACKS_API_TOKEN_METADATA_ERROR_MODE=warning
144127
145- # Configure a script to handle image URLs during token metadata processing.
146- # This example script uses the `imgix.net` service to create CDN URLs.
147- # Must be an executable script that accepts the URL as the first program argument
148- # and outputs a result URL to stdout.
149- # STACKS_API_IMAGE_CACHE_PROCESSOR=./config/ token-metadata-image-cache-imgix.js
150- # Env vars needed for the above sample `imgix` script:
151- # IMGIX_DOMAIN=https://<your domain>.imgix.net
152- # IMGIX_TOKEN=<your token>
128+ # The Rosetta API endpoints require FT metadata to display operations with the proper `symbol` and
129+ # `decimals` values. If FT metadata is enabled, this variable controls the token metadata error
130+ # handling mode when metadata is not found.
131+ # The possible values are:
132+ # * `warning`: The API will issue a warning and not display data for that token.
133+ # * `error`: The API will throw an error. If not specified or any other value is provided, the mode
134+ # will be set to `warning`.
135+ # STACKS_API_TOKEN_METADATA_ERROR_MODE=warning
153136
154137# Web Socket ping interval to determine client availability, in seconds.
155138# STACKS_API_WS_PING_INTERVAL=5
0 commit comments