create_apex_vault_row
Documentation for eth_defi.apex.vault_data_export.create_apex_vault_row function.
- create_apex_vault_row(vault_id, *, name, description, tvl, share_count, created_at, first_seen, status)
Create one synthetic shared-pipeline row for an ApeX native vault.
The ApeX platform vault ID remains the identity through the
apex-vault-{vault_id}address. Fee source values are deliberately not interpreted because ApeX does not authoritatively document their units.- Parameters
vault_id (str) – Stable ApeX platform vault ID.
name (str) – Vault display name.
tvl (Optional[float]) – Current total value in ApeX USDT terms.
share_count (Optional[float]) – Current source-reported share count.
created_at (Optional[datetime.datetime]) – Source creation timestamp as naive UTC.
first_seen (datetime.datetime) – Reader first-observation timestamp as naive UTC.
status (str) – Raw ApeX lifecycle status.
- Returns
Synthetic vault specification and metadata row.
- Return type
tuple[eth_defi.vault.base.VaultSpec, eth_defi.vault.vaultdb.VaultRow]