@lelantos-org/sdk / index / TransferResult
Interface: TransferResult
Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:115
Fields every shielded operation's result carries. kind discriminates.
Extends
ResultBase<"transfer">
Properties
amount
amount: Money;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:117
The recipient note's value.
asset
asset: AssetInfo;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:65
The asset moved (a swap's assetIn).
Inherited from
change
change: CircuitAmount;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:124
Change left in asset.
commitments
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
fees
fees: FeeBreakdown;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:73
Inherited from
kind
kind: "transfer";Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:61
Inherited from
nonZeroCommitments
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
operation?
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
opId
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
ownCommitments
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
recipient
recipient: ShieldedAddress;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:118
recipientCommitment
recipientCommitment: Hex32;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:120
The commitment holding the recipient's note; safe to share with them.
spent
spent: string[];Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:122
Note ids consumed, across both assets when the fee was cross-asset.
txHash
txHash: Hex32;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:66