@hiveio/beekeeper v1.27.7 / IBeekeeperInstance
Interface: IBeekeeperInstance
Methods
createSession()
createSession(
salt
):IBeekeeperSession
Creation of a session
Parameters
• salt: string
a salt used for creation of a token
Returns
a beekeeper session created explicitly. It can be used for further work for example: creating/closing wallets, importing keys, signing transactions etc.
Throws
on any beekeeper API-related error (error parsing response, invalid input, timeout error, fs sync error etc.)
Source
delete()
delete():
Promise
<void
>
Locks all of the unlocked wallets, closes them, closes opened sessions and deletes the current Beekeeper API instance making it unusable
Returns
Promise
<void
>
Throws
on any beekeeper API-related error (error parsing response, invalid input, timeout error, fs sync error etc.)