Options
All
  • Public
  • Public/Protected
  • All
Menu

Stores information about an account fetched from the blockchain.

Hierarchy

Index

Constructors

constructor

  • Creates a new Account object, holding information about a basic account.

    Parameters

    • address: AccAddress

      account address

    • coins: Coins

      account's balance

    • public_key: PublicKey | null

      account's public key information

    • account_number: number

      account number on the blockchain

    • sequence: number

      sequence number, or number of transactions that have been posted

    Returns Account

Properties

account_number

account_number: number

account number on the blockchain

address

address: AccAddress

account address

coins

coins: Coins

account's balance

public_key

public_key: PublicKey | null

account's public key information

sequence

sequence: number

sequence number, or number of transactions that have been posted

Methods

toData

toJSON

  • toJSON(): string

Static fromData

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Property

Generated using TypeDoc