Skip to content

@lelantos-org/sdk / index / DepositResult

Interface: DepositResult โ€‹

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:25

Result of wallet.deposit. No spent notes (escrow pulls funds via Permit2).

Extends โ€‹

  • TxResultBase

Properties โ€‹

commitments โ€‹

ts
commitments: Hex32[];

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:12

Commitments created by the tx, in output-slot order. One per output slot of the transact circuit: four at the default 4ร—4 shape.

Inherited from โ€‹

ts
TxResultBase.commitments

depositId? โ€‹

ts
optional depositId?: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:38

On-chain deposit id from MASP.deposit. Absent only if the submitter path didn't surface one (relayer batch flow).


kind โ€‹

ts
kind: "deposit";

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:26


nonZeroCommitments โ€‹

ts
nonZeroCommitments: Hex32[];

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:18

Subset of commitments with non-zero value (zero-value outputs are circuit pads that no party's scanner accepts). Receiver-side waiters should filter this against their own commitments.

Inherited from โ€‹

ts
TxResultBase.nonZeroCommitments

ownCommitments โ€‹

ts
ownCommitments: Hex32[];

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:20

Subset of commitments recoverable via this wallet's FMD scan.

Inherited from โ€‹

ts
TxResultBase.ownCommitments

ownInflow โ€‹

ts
ownInflow: CircuitAmount;

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:22

Total value of own outputs; pending balance once FMD indexes them.

Inherited from โ€‹

ts
TxResultBase.ownInflow

sent โ€‹

ts
sent: CircuitAmount;

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:33

Gross publicIn (circuit units) the depositor sent into escrow.


strategy โ€‹

ts
strategy: DepositStrategy;

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:31

Which deposit path was taken, as chosen from the adapter's capability probes.


txHash โ€‹

ts
txHash: Hex32;

Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:7

Inherited from โ€‹

ts
TxResultBase.txHash

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub