@lelantos-org/sdk / advanced / ResultBase
Interface: ResultBase<K>
Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:60
Fields every shielded operation's result carries. kind discriminates.
Extended by
Type Parameters
| Type Parameter |
|---|
K extends string |
Properties
asset
asset: AssetInfo;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:65
The asset moved (a swap's assetIn).
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.
fees
fees: FeeBreakdown;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:73
kind
kind: K;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:61
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.
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.
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.
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).
txHash
txHash: Hex32;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:66