fetch_yearn_detected_vaults

Documentation for eth_defi.erc_4626.vault_protocol.yearn.offchain_metadata.fetch_yearn_detected_vaults function.

fetch_yearn_detected_vaults()

Fetch Yearn’s public vault-page catalogue once per scanner worker.

This endpoint is intentionally a positive-only source. A matching entry confirms that the vault appears on Yearn’s website and can provide a description. A missing entry remains unknown, including when the response is capped at its server-side limit.

Returns

Public-page metadata keyed by chain ID and lowercase address, or None when the endpoint is temporarily unavailable.

Return type

Optional[eth_defi.erc_4626.vault_protocol.yearn.offchain_metadata.YearnDetectedVaultCatalogue]