fetch_asseto_product_detail

Documentation for eth_defi.tokenised_fund.asseto.offchain_api.fetch_asseto_product_detail function.

fetch_asseto_product_detail(product_name, api_base_url='https://asseto.finance', timeout=20.0)

Fetch the richer public description for an Asseto product.

The application requires the registry product key in a productName request header. Products without a parseable EVM address return None.

Parameters
  • product_name (str) – Registry product key, for example "AoABT".

  • api_base_url (str) – Asseto application API origin. Override in tests only.

  • timeout (float) – HTTP request timeout in seconds.

Returns

Public product detail, or None for a non-EVM/malformed product.

Raises

AssetoAPIError – If the public endpoint returns an invalid response envelope.

Return type

Optional[eth_defi.tokenised_fund.asseto.offchain_api.AssetoProductDetail]