Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new BaseAccount(__namedParameters: { accountNumber: number; address: string; pubKey: { key: string; type: string }; sequence: number }): BaseAccount

Properties

accountNumber: number
bech32Address: string
pubKey: { key: string; type: string }

Type declaration

  • key: string
  • type: string
sequence: number

Accessors

  • get address(): string

Methods

  • getEthereumAddress(): string
  • getSubaccountId(index?: number): string
  • incrementSequence(): void
  • toAccountAddress(): string
  • toBech32(prefix?: string): string
  • toConsensusAddress(): string
  • toHex(): string
  • toValidatorAddress(): string
  • fromBech32(bech: string, prefix?: string): Address
  • fromHex(hex: string, prefix?: string): Address

Generated using TypeDoc