Builder object for batched transactions.

Hierarchy

Constructors

Properties

connection?: ScrtConnection
log: Console

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;
    }>

Generated using TypeDoc