AssetoOffchainRegistryResult

Documentation for eth_defi.tokenised_fund.asseto.offchain_metadata.AssetoOffchainRegistryResult Python class.

class AssetoOffchainRegistryResult

Bases: object

One fresh or stale Asseto registry read.

Parameters
  • status – Whether products came from a new API response or a retained cache.

  • products – Normalised EVM registry products keyed by Asseto’s API.

  • source_timestamp – UTC timestamp at which the source snapshot was fetched.

  • diagnostics – Safe operator-facing explanation of a stale or failed read.

Attributes summary

status

products

source_timestamp

diagnostics

is_usable

Return whether the result can construct known runtime adapters.

Methods summary

__init__(status, products, source_timestamp)

property is_usable: bool

Return whether the result can construct known runtime adapters.

__init__(status, products, source_timestamp, diagnostics=None)
Parameters
Return type

None