Skip to content

adamant-console / createDelegate

Function: createDelegate() ​

createDelegate(username?, passphrase?): Promise<any>

Defined in: delegate.js:12

Registers the configured account as a delegate.

Parameters ​

username? ​

string = ...

Delegate username to register on-chain

passphrase? ​

string

Optional passphrase override for RPC/library use

Returns ​

Promise<any>

ADAMANT node response, unwrapped from data when present

Released under the GPL-3.0 License.