ApexHistoryFetchResult

Documentation for eth_defi.apex.metrics.ApexHistoryFetchResult Python class.

class ApexHistoryFetchResult

Bases: object

Immutable worker result for one history request.

Attributes summary

vault_id

Platform vault identifier.

points

Parsed history, or None on failure.

error

Error text on failure.

Methods summary

__init__(vault_id, points, error)

vault_id: str

Platform vault identifier.

points: Optional[tuple[eth_defi.apex.vault.ApexHistoryPoint, ...]]

Parsed history, or None on failure.

error: Optional[str]

Error text on failure.

__init__(vault_id, points, error)
Parameters
Return type

None