MultiSigTransactionPayload class
Represents a multi-signature transaction payload that can be serialized and deserialized.
This class is designed to encapsulate the transaction payload for
multi-sig account transactions as defined in the multisig_account.move
module. Future enhancements may allow support for script payloads as the
multisig_account.move module evolves.
- Inheritance
-
- Object
- Serializable
- MultiSigTransactionPayload
Constructors
- MultiSigTransactionPayload(Serializable transactionPayload)
- Contains the payload to run a multi-sig account transaction.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionPayload → Serializable
-
The payload of the multi-sig transaction. This can be an EntryFunction
or a Script.
final
Methods
-
bcsToBytes(
) → Uint8List -
Serializes a Serializable value to its BCS representation.
This function is the Dart SDK equivalent of
bcs::to_bytesin Move.inherited -
bcsToHex(
) → Hex -
Converts the BCS-serialized bytes of a value into a Hex instance.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
Serializer serializer) → void -
override
-
toString(
) → String -
Returns the hex string representation of the value with the 0x prefix.
inherited
-
toStringWithoutPrefix(
) → String -
Returns the hex string representation of the value without the 0x prefix.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
deserialize(
Deserializer deserializer) → MultiSigTransactionPayload