Skip to main content
Fetch the current lifecycle state for a deposit registered via logDeposit or sendDeposit. Use this for one-off checks. To await credit after handover_pending, use waitForDepositCredit. Requires connectAccount() on the same ZyfaiSDK instance.

Signature

Parameters

Returns

Current deposit lifecycle state.

Return Type

Treat a deposit as active only when status === "credited" and balanceCredited === true. handover_pending means the transfer is recorded but not yet investable.

Example