Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Tx

Hierarchy

  • Tx

Index

Constructors

Properties

auth_info: AuthInfo
body: TxBody
signatures: string[]

Methods

  • appendEmptySignatures(signers: SignerData[]): void
  • clearSignatures(): void
  • toBytes(isClassic?: boolean): Uint8Array
  • Parameters

    • Optional isClassic: boolean

    Returns Uint8Array

  • toData(isClassic?: boolean): Tx.Data
  • toProto(isClassic?: boolean): Tx
  • Parameters

    • Optional isClassic: boolean

    Returns Tx

  • fromAmino(data: Tx.Amino, isClassic?: boolean): Tx
  • fromBuffer(buf: Buffer, isClassic?: boolean): Tx
  • Parameters

    • buf: Buffer
    • Optional isClassic: boolean

    Returns Tx

  • fromData(data: Tx.Data, isClassic?: boolean): Tx
  • fromProto(proto: Tx, isClassic?: boolean): Tx
  • Parameters

    • proto: Tx
    • Optional isClassic: boolean

    Returns Tx

  • unpackAny(anyProto: Any, isClassic?: boolean): Tx
  • Parameters

    • anyProto: Any
    • Optional isClassic: boolean

    Returns Tx