... | @@ -2,8 +2,6 @@ |
... | @@ -2,8 +2,6 @@ |
|
|
|
|
|
# Interface: IWallet
|
|
# Interface: IWallet
|
|
|
|
|
|
Defined in: [src/detailed/interfaces.ts:7](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/ed702f86d3a1ae567b2d2e1d0d7240a187223964/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L7)
|
|
|
|
|
|
|
|
## Extended by
|
|
## Extended by
|
|
|
|
|
|
- [`IBeekeeperUnlockedWallet`](./IBeekeeperUnlockedWallet)
|
|
- [`IBeekeeperUnlockedWallet`](./IBeekeeperUnlockedWallet)
|
... | @@ -15,28 +13,30 @@ Defined in: [src/detailed/interfaces.ts:7](https://gitlab.syncad.com/hive/hive/p |
... | @@ -15,28 +13,30 @@ Defined in: [src/detailed/interfaces.ts:7](https://gitlab.syncad.com/hive/hive/p |
|
|
|
|
|
> `readonly` **isTemporary**: `boolean`
|
|
> `readonly` **isTemporary**: `boolean`
|
|
|
|
|
|
Defined in: [src/detailed/interfaces.ts:31](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/ed702f86d3a1ae567b2d2e1d0d7240a187223964/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L31)
|
|
|
|
|
|
|
|
Indicates if wallet exists only in memory or is saved into a file.
|
|
Indicates if wallet exists only in memory or is saved into a file.
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
[src/detailed/interfaces.ts:31](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/25efa2eeae885a5354e59e1097c6483fd46dede6/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L31)
|
|
|
|
|
|
***
|
|
***
|
|
|
|
|
|
### name
|
|
### name
|
|
|
|
|
|
> `readonly` **name**: `string`
|
|
> `readonly` **name**: `string`
|
|
|
|
|
|
Defined in: [src/detailed/interfaces.ts:23](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/ed702f86d3a1ae567b2d2e1d0d7240a187223964/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L23)
|
|
|
|
|
|
|
|
Name of this wallet
|
|
Name of this wallet
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
[src/detailed/interfaces.ts:23](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/25efa2eeae885a5354e59e1097c6483fd46dede6/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L23)
|
|
|
|
|
|
## Methods
|
|
## Methods
|
|
|
|
|
|
### close()
|
|
### close()
|
|
|
|
|
|
> **close**(): [`IBeekeeperSession`](./IBeekeeperSession)
|
|
> **close**(): [`IBeekeeperSession`](./IBeekeeperSession)
|
|
|
|
|
|
Defined in: [src/detailed/interfaces.ts:15](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/ed702f86d3a1ae567b2d2e1d0d7240a187223964/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L15)
|
|
|
|
|
|
|
|
Ensures that this wallet is locked, then closes it
|
|
Ensures that this wallet is locked, then closes it
|
|
|
|
|
|
#### Returns
|
|
#### Returns
|
... | @@ -48,3 +48,7 @@ Beekeeper session owning the closed wallet |
... | @@ -48,3 +48,7 @@ Beekeeper session owning the closed wallet |
|
#### Throws
|
|
#### Throws
|
|
|
|
|
|
on any beekeeper API-related error (error parsing response, invalid input, timeout error, fs sync error etc.)
|
|
on any beekeeper API-related error (error parsing response, invalid input, timeout error, fs sync error etc.)
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
[src/detailed/interfaces.ts:15](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/25efa2eeae885a5354e59e1097c6483fd46dede6/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L15) |