Skip to content

adamant-console / getDelegate

Function: getDelegate() ​

getDelegate(identifier?, lookupKey?): Promise<any>

Defined in: get.js:72

Gets delegate information by username, public key, or address.

Parameters ​

identifier? ​

string = ...

Delegate username, public key, or ADAMANT address

lookupKey? ​

"username" | "publicKey" | "address"

Explicit lookup key

Returns ​

Promise<any>

Delegate response, unwrapped from data when present

Released under the GPL-3.0 License.