PayAllSuiTransaction class
Send all SUI coins to one recipient. This is for SUI coin only and does not require a separate gas coin object. Specifically, what pay_all_sui does are:
- accumulate all SUI from input coins and deposit all SUI to the first input coin
- transfer the updated first coin to the recipient and also use this first coin as gas coin object.
- the balance of the first input coin after tx is sum(input_coins) - actual_gas_cost.
- all other input coins other than the first are deleted.
Constructors
-
PayAllSuiTransaction(List<
ObjectId> inputCoins, SuiAddress recipient, int gasBudget)
Properties
- gasBudget ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputCoins
↔ List<
ObjectId> -
getter/setter pair
- recipient ↔ SuiAddress
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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