LagoonDetailResponse

Documentation for eth_defi.erc_4626.vault_protocol.lagoon.offchain_metadata.LagoonDetailResponse Python class.

class LagoonDetailResponse

Bases: object

One validated exact-address response from Lagoon’s public API.

Request failures remain distinct from a successful response with empty descriptions. See https://app.lagoon.finance/api/vault.

Attributes summary

raw

Provider data, populated only after chain/address validation.

outcome

One of success, not_found or unavailable.

retry_after

Optional bounded provider retry delay in seconds.

rate_limited

A provider 429 defers all other detail requests on this chain.

Methods summary

__init__([raw, outcome, retry_after, ...])

raw: Optional[dict]

Provider data, populated only after chain/address validation.

outcome: Literal['success', 'not_found', 'unavailable']

One of success, not_found or unavailable.

retry_after: float

Optional bounded provider retry delay in seconds.

rate_limited: bool

A provider 429 defers all other detail requests on this chain.

__init__(raw=None, outcome='unavailable', retry_after=3600, rate_limited=False)
Parameters
Return type

None