WalletTransaction class
A transaction ready for a wallet: everything but gas is filled in.
json is the serialized transaction in the format of @mysten/sui's
Transaction.toJSON(), which Wallet Standard wallets (Slush and others)
accept as transaction in sui:signAndExecuteTransaction. Coin and WAL
inputs are already resolved for sender; the wallet picks the gas coins
and the budget.
- Annotations
Constructors
- WalletTransaction({required String json, required String sender, required String chain, required String description})
-
const
Properties
- chain → String
-
Wallet Standard chain,
sui:testnetorsui:mainnet.final - description → String
-
What the transaction does, in a few words, for logs and UI.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- json → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → String
-
The address that must sign: the wallet account.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited