Describes an account transaction in its unprocessed form, i.e. defining the input required to create a transaction which can be signed

Type Parameters

Hierarchy

  • Builder

Implements

  • BuilderAPI<P>

Constructors

Properties

payload: P

Methods

  • Type Parameters

    • T extends Transaction<P>

    Parameters

    • this: T
    • __namedParameters: {
          expiry?: TransactionExpiry;
          nonce: SequenceNumber;
          sender: AccountAddress;
      }
      • Optional expiry?: TransactionExpiry

        expiration of the transaction

      • nonce: SequenceNumber

        the nonce for the transaction, usually acquired by getting the next account nonce from the node

      • sender: AccountAddress

        account address that is source of this transaction

    Returns Configured<P, T>

  • Type Parameters

    • T extends Transaction<P>

    Parameters

    • this: T
    • numSignaturesSender: number | bigint

    Returns MultiSig<P, T>

  • Type Parameters

    • T extends Transaction<P>

    Parameters

    • this: T
    • account: AccountAddress
    • numSignaturesSponsor: number | bigint = 1

    Returns Sponsorable<P, T>

  • Build the transaction to it's pre-finalized stage.

    Parameters

    • this: Omit<Transaction<P>, "header" | keyof SponsorableAPI<P> | keyof MultiSigAPI<P>> & {
          header: {
              executionEnergyAmount: Energy;
              expiry?: TransactionExpiry;
              nonce?: SequenceNumber;
              numSignatures: bigint;
              sender?: AccountAddress;
              sponsor: SponsorDetails;
          };
      } & Omit<Transaction<P>, "header" | keyof ConfiguredAPI<P>> & {
          header: {
              executionEnergyAmount: Energy;
              expiry: TransactionExpiry;
              nonce: SequenceNumber;
              numSignatures?: bigint;
              sender: AccountAddress;
              sponsor?: SponsorDetails;
          };
      }

    Returns SignableV1<P>

  • Parameters

    • this: Configured<P, Transaction<P>>

    Returns SignableV0<P>

Generated using TypeDoc