fetch_mellow_api_vault_metadata
Documentation for eth_defi.mellow.offchain_metadata.fetch_mellow_api_vault_metadata function.
- fetch_mellow_api_vault_metadata(chain_id, vault_address)
Fetch one vault metadata entry from the Mellow offchain API.
- Parameters
chain_id (int) – EVM chain id.
vault_address (eth_typing.evm.HexAddress) – Mellow Vault address.
- Returns
Metadata entry or
Noneif the API has no matching vault.- Return type
Optional[eth_defi.mellow.offchain_metadata.MellowApiVaultMetadata]