Optionalcapacity?: numberAddresses one webhook holds; Alchemy's limit, smaller in tests.
The app's ENVIRONMENT; only a deployed stage owns the webhooks on its url.
StaticinstanceThe process default: ALCHEMY_WEBHOOK_DELIVERY_URL is read at each run,
and the process key ENVIRONMENT is the stage (unset or unknown is
local, which calls Alchemy not at all).
Mirrors each watched network in turn, from after: re-activates a webhook
of ours Alchemy turned off; removes the addresses no live EVM address
wants, and a second copy of one on two of our webhooks; adds the missing
ones, filling the webhook with most room first and creating one where none
has room; then reads every webhook it added to back. An address that did
not land throws, so the caller retries. Once budget is spent it returns
complete: false and the next network. Refusals are reported together,
after the last network, as ALCHEMY_ADDRESS_MIRROR_INCOMPLETE. A local
run calls Alchemy not at all.
Keeps every live EVM address on one of our Alchemy address activity webhooks per watched network: those posting to
ALCHEMY_WEBHOOK_DELIVERY_URL, up to 100,000 addresses each. Alchemy's own listing is the record: nothing is stored. Webhooks on any other url are not ours and are left alone.