This method initializes a brand new Sensei node. It can only be called once during intial setup. It is used to set your node username, alias, passphrase, and initial configuration.
This method will also instantiate your seed phrase and
admin.macaroon file. This means this endpoint is unauthenticated.
No authentication required.
|username||String||Used for logging into the web administration panel|
|passphrase||String||Used to encrypt seed information on disk and as your password for logging into the web administration panel|
|alias||String||The name of your node that will be broadcast to the lightning network|
|electrum_url||String||The connection string for your electrum server|
|start||Boolean||Whether or not to also unlock and start your node upon successful init|
|pubkey||String||Your node public key. This is often described as your node's id|
|macaroon||String||Hex encoded |
|external_id||String||An internal identifier for your node|
|role||String||Designates the type of node that was intialized|