Representation of a MultiSig Transaction Payload from multisig_account.move that can be serialized and deserialized

This class exists right now to represent an extensible transaction payload class for transactions used in multisig_account.move. Eventually, this class will be able to support script payloads when the multisig_account.move module supports them.

Hierarchy (view full)

Constructors

  • Contains the payload to run a multi-sig account transaction.

    Parameters

    • transaction_payload: EntryFunction

      The payload of the multi-sig transaction. This can only be EntryFunction for now but, Script might be supported in the future.

    Returns MultiSigTransactionPayload

Properties

transaction_payload: EntryFunction

Methods

  • Serializes a Serializable value to its BCS representation. This function is the Typescript SDK equivalent of bcs::to_bytes in Move.

    Returns Uint8Array

    the BCS representation of the Serializable instance as a byte buffer

  • Helper function to get a value's BCS-serialized bytes as a Hex instance.

    Returns Hex

    a Hex instance with the BCS-serialized bytes loaded into its underlying Uint8Array

  • Parameters

    Returns void