Skip to content

@lelantos-org/sdk / index / WithdrawResult

Interface: WithdrawResult ​

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

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

Extends ​

Properties ​

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


change ​

ts
change: CircuitAmount;

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


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


fees ​

ts
fees: FeeBreakdown;

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

Inherited from ​

ResultBase.fees


gross ​

ts
gross: Money;

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

publicOut, published on-chain.


kind ​

ts
kind: "withdraw";

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:132


net ​

ts
net: Money;

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

Delivered to recipient: gross − fees.protocol. baseUnits exact.


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


onLadder ​

ts
onLadder: boolean;

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

Whether gross is a denomination. false makes the withdrawal linkable; surface it.


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


recipient ​

ts
recipient: EvmAddress;

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


spent ​

ts
spent: string[];

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


txHash ​

ts
txHash: Hex32;

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

Inherited from ​

ResultBase.txHash