Skip to content

@lelantos-org/sdk / index / WithdrawResult

Interface: WithdrawResult โ€‹

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

Result of wallet.withdraw / wallet.withdrawEth. Both outputs are change-to-self; sent is the gross publicOut paid to the recipient.

Extends โ€‹

  • TxResultBase

Properties โ€‹

change โ€‹

ts
change: CircuitAmount;

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


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

inputSum โ€‹

ts
inputSum: CircuitAmount;

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


kind โ€‹

ts
kind: "withdraw";

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


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

publicOut paid to the L1 recipient (gross, includes fee).


spent โ€‹

ts
spent: string[];

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


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