Skip to main content
Polls getDepositStatus until the deposit is credited. Resolves when status === "credited" and balanceCredited === true. Rejects if custody handover fails (recovered_to_eoa), polling errors, or the timeout elapses. Requires connectAccount() on the same ZyfaiSDK instance.

Signature

Parameters

Default polling by chain: These are normal user-facing completion windows. Pass a larger timeoutMs only when an integration explicitly wants to wait through the backend recovery path.

Returns

The final DepositLifecycleResponse when status === "credited" and balanceCredited === true.

Errors

Example

After logDeposit

With custom timeout