Builder object for batched transactions.

Hierarchy (view full)

Constructors

Properties

connection?: Connection

Messages to encrypt.

Accessors

  • get encryptedMessages(): Promise<any[]>
  • Format the messages for API v1 like secretjs and encrypt them.

    Returns Promise<any[]>

Methods

  • Parameters

    • encryptedMessages: any[]
    • Optional memo: string

    Returns any

  • Format the messages for API v1beta1 like secretcli and generate a multisig-ready unsigned transaction batch; don't execute it, but save it in state/$CHAIN_ID/transactions and output a signing command for it to the console.

    Parameters

    • Optional name: string

    Returns Promise<{
        accountNumber: number;
        name: string;
        sequence: number;
        unsignedTxBody: string;
    }>

  • Submit the batch.

    Parameters

    • __namedParameters: {
          memo: string;
      }
      • memo: string

    Returns Promise<ScrtBatchResult[]>

Generated using TypeDoc