fetch_enzyme_app_vault_metadata_batch
Documentation for eth_defi.enzyme.offchain_metadata.fetch_enzyme_app_vault_metadata_batch function.
- fetch_enzyme_app_vault_metadata_batch(session, *, shares_addresses, timeout)
Fetch public profile metadata for a bounded serial batch of Blue vaults.
- Parameters
session (requests.sessions.Session) – Shared retrying HTTP session.
shares_addresses (list[eth_typing.evm.HexAddress | str]) – Canonical Blue VaultProxy addresses to fetch.
timeout (float) – HTTP request timeout in seconds.
- Returns
Metadata keyed by each supplied lower-case VaultProxy address.
- Raises
ValueError – If the app response has a GraphQL error or invalid schema.
requests.RequestException – If the request fails.
- Return type
dict[eth_typing.evm.HexAddress, eth_defi.enzyme.offchain_metadata.EnzymeVaultMetadata]