Skip to content

@lelantos-org/sdk / index / DepositResult

Interface: DepositResult ​

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

Fields every shielded operation's result carries. kind discriminates.

Extends ​

Properties ​

amount ​

ts
amount: Money;

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

The new note's value (publicIn).


asset ​

ts
asset: AssetInfo;

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

The asset moved (a swap's assetIn).

Inherited from ​

ResultBase.asset


commitments ​

ts
commitments: Hex32[];

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

Every output commitment, in slot order. Slots are shuffled; use the named fields.

Inherited from ​

ResultBase.commitments


escrow ​

ts
escrow: DepositEscrow;

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


fees ​

ts
fees: FeeBreakdown;

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

Inherited from ​

ResultBase.fees


kind ​

ts
kind: "deposit";

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

Inherited from ​

ResultBase.kind


native ​

ts
native: boolean;

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


nonZeroCommitments ​

ts
nonZeroCommitments: Hex32[];

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

The subset with non-zero value; zero-value outputs are padding.

Inherited from ​

ResultBase.nonZeroCommitments


operation? ​

ts
optional operation?: OperationLocation;

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

Where this operation sits in txHash, which a relayer bundle may share. Absent when the receipt could not be read; the operation still succeeded.

Inherited from ​

ResultBase.operation


opId ​

ts
opId: string;

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

The id onPhase and any error for this call carried.

Inherited from ​

ResultBase.opId


ownCommitments ​

ts
ownCommitments: Hex32[];

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

The subset this wallet will recover by scanning (change, own deposits).

Inherited from ​

ResultBase.ownCommitments


pulled ​

ts
pulled: Money[];

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

What the pool pulled, per asset as the permit names them: the deposited asset first, then the fee asset when its note was pulled on its own. baseUnits exact.


recipient ​

ts
recipient: ShieldedAddress;

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

Owner of the new note.


strategy ​

ts
strategy: DepositStrategy;

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


txHash ​

ts
txHash: Hex32;

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

Inherited from ​

ResultBase.txHash