@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 โ
change: CircuitAmount;Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:72
commitments โ
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 โ
TxResultBase.commitmentsinputSum โ
inputSum: CircuitAmount;Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:69
kind โ
kind: "withdraw";Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:67
nonZeroCommitments โ
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 โ
TxResultBase.nonZeroCommitmentsownCommitments โ
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 โ
TxResultBase.ownCommitmentsownInflow โ
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 โ
TxResultBase.ownInflowsent โ
sent: CircuitAmount;Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:71
publicOut paid to the L1 recipient (gross, includes fee).
spent โ
spent: string[];Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:68
txHash โ
txHash: Hex32;Defined in: @lelantos-org/sdk/dist/wallet/result.d.ts:7
Inherited from โ
TxResultBase.txHash