Class: Account

Account(accountId, sequence)

Create a new Account object. `Account` represents a single account in Stellar network and its sequence number. Account tracks the sequence number as it is used by TransactionBuilder. See [Accounts](https://stellar.org/developers/learn/concepts/accounts.html) for more information about how accounts work in Stellar.

Constructor

new Account(accountId, sequence)

Parameters:
Name Type Description
accountId string ID of the account (ex. `GB3KJPLFUYN5VL6R3GU3EGCGVCKFDSD7BEDX42HWG5BWFKB3KQGJJRMA`)
sequence string current sequence number of the account
Source:

Methods

accountId() → {string}

Returns Stellar account ID, ex. `GB3KJPLFUYN5VL6R3GU3EGCGVCKFDSD7BEDX42HWG5BWFKB3KQGJJRMA`
Source:
Returns:
Type
string

incrementSequenceNumber()

Increments sequence number in this object by one.
Source:

sequenceNumber() → {string}

Source:
Returns:
Type
string