Skip to content

fix(onchain): wire BLOCKSCOUT_API_KEY (lost in the #159 merge)#161

Merged
rinjanianalytics merged 1 commit into
masterfrom
fix/blockscout-api-key
Jun 17, 2026
Merged

fix(onchain): wire BLOCKSCOUT_API_KEY (lost in the #159 merge)#161
rinjanianalytics merged 1 commit into
masterfrom
fix/blockscout-api-key

Conversation

@rinjanianalytics

Copy link
Copy Markdown
Owner

The optional BLOCKSCOUT_API_KEY support was committed to #159's branch after it was merged, so it never reached master — the aggregator currently calls Blockscout keyless (works, but ignores the operator's key / rate-limit allowance).

This re-applies that one commit: if BLOCKSCOUT_API_KEY is set it's passed as the ?apikey= query param; keyless path unchanged. tsc clean.

Deploy: rebuild + restart (no migration). Then a configured BLOCKSCOUT_API_KEY in .env is actually used.

Blockscout works keyless, but if BLOCKSCOUT_API_KEY is set it's passed as the
?apikey= query param to raise the rate limit. Keyless path unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rinjanianalytics rinjanianalytics merged commit 2263c25 into master Jun 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant