Accounts

This is a resource for interacting with the accounts endpoint provided by the Lisk public API. Each of the following methods can be accessed via the accounts property of an APIClient instance.

get

Searches for matching accounts in the system.

Syntax

get([options])

Parameters

options: See the options available by accessing the following link: Core API documentation^.

Return value

Promise: Resolves to an API response object.

Examples

client.accounts.get({ username: 'oliver' })
    .then(res => {
        console.log(res.data);
    })