Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StdSignMsg

A sign message is a data structure that is used to create a StdSignature to be later appended to the list of signatures in an StdTx. Essentially, it contains all the information needed to sign and build a transaction, and can be described as an "unsigned transaction."

Hierarchy

Index

Interfaces

Constructors

Properties

Methods

Constructors

constructor

  • new StdSignMsg(chain_id: string, account_number: number, sequence: number, fee: StdFee, msgs: Msg[], memo?: string): StdSignMsg
  • Parameters

    • chain_id: string

      ID of blockchain to submit transaction to

    • account_number: number

      account number on blockchain

    • sequence: number

      Sequence number (nonce), number of signed previous transactions by account included on the blockchain at time of broadcast.

    • fee: StdFee

      transaction fee

    • msgs: Msg[]

      list of messages to include

    • Default value memo: string = ""

      optional note

    Returns StdSignMsg

Properties

account_number

account_number: number

account number on blockchain

chain_id

chain_id: string

ID of blockchain to submit transaction to

fee

fee: StdFee

transaction fee

memo

memo: string

optional note

msgs

msgs: Msg[]

list of messages to include

sequence

sequence: number

Sequence number (nonce), number of signed previous transactions by account included on the blockchain at time of broadcast.

Methods

toData

toJSON

  • toJSON(): string

toStdTx

Static fromData