Skip to content

@lelantos-org/sdk / index / DepositEscrow

Interface: DepositEscrow ​

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:86

An escrowed deposit, pending the relayer's flush.

Plain data (bigints, strings, numbers): persist it with a bigint-aware serialiser to cancel or await after a reload.

Properties ​

asset ​

ts
asset: AssetId;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:90


cancelInputs ​

ts
cancelInputs: CancelDepositInputs;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:97

The DepositEscrowed payload the pool re-derives the escrow digest from.


cancellableAtBlock ​

ts
cancellableAtBlock: number;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:99

First block at which cancelDeposit is accepted: escrow block + cancelDelay.


commitment ​

ts
commitment: Hex32;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:95

The new note's commitment, which is its tree leaf: what awaitDeposit waits for. The pool publishes only the note's inner (cancelInputs.inner), so this value is in no event.


depositId ​

ts
depositId: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:87


native ​

ts
native: boolean;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:89

Owned by NativeAdapter; cancelDeposit routes through it.