AccountResponse

AccountResponse

Do not create this object directly, use Server#loadAccount.

Returns information and links relating to a single account. The balances section in the returned JSON will also list all the trust lines this account has set up. It also contains Account object and exposes it's methods so can be used in TransactionBuilder.

Constructor

new AccountResponse(response) → {AccountResponse}

Source:
See:
Parameters:
Name Type Description
response string

Response from frontier account endpoint.

Returns:
Type:
AccountResponse

Methods

accountId() → {string}

Returns DigitalBits account ID, ex. GB3KJPLFUYN5VL6R3GU3EGCGVCKFDSD7BEDX42HWG5BWFKB3KQGJJRMA

Source:
Returns:
Type:
string

incrementSequenceNumber()

Increments sequence number in this object by one.

Source:

sequenceNumber() → {string}

Source:
Returns:
Type:
string