fetch_asseto_product_roles
Documentation for eth_defi.tokenised_fund.asseto.offchain_api.fetch_asseto_product_roles function.
- fetch_asseto_product_roles(product_name, api_base_url='https://asseto.finance', timeout=20.0)
Fetch partner roles for a public Asseto product.
The application API only supplies role labels and logo URLs. This helper resolves a textual organisation name from Asseto’s known official logo assets, retaining unknown assets as
Nonerather than inferring them. See https://asseto.finance/product for the source application.- Parameters
- Returns
Iterator over well-formed public partner roles in API response order.
- Raises
AssetoAPIError – If the public endpoint returns an invalid response envelope.
- Return type
collections.abc.Iterator[eth_defi.tokenised_fund.asseto.offchain_api.AssetoRoleInfo]