... | ... | @@ -2,6 +2,8 @@ |
|
|
|
|
|
# Interface: IWallet
|
|
|
|
|
|
Defined in: [src/detailed/interfaces.ts:7](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/a74bad9a396b3e773a554a847dc3b72c3f7ee98d/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L7)
|
|
|
|
|
|
## Extended by
|
|
|
|
|
|
- [`IBeekeeperUnlockedWallet`](./IBeekeeperUnlockedWallet)
|
... | ... | @@ -13,11 +15,9 @@ |
|
|
|
|
|
> `readonly` **isTemporary**: `boolean`
|
|
|
|
|
|
Indicates if wallet exists only in memory or is saved into a file.
|
|
|
|
|
|
#### Defined in
|
|
|
Defined in: [src/detailed/interfaces.ts:31](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/a74bad9a396b3e773a554a847dc3b72c3f7ee98d/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L31)
|
|
|
|
|
|
[src/detailed/interfaces.ts:31](https://gitlab.syncad.com/hive/hive/-/blob/4cd3fc3d23f4074be91a11f00a7a6035405faaf8/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L31)
|
|
|
Indicates if wallet exists only in memory or is saved into a file.
|
|
|
|
|
|
***
|
|
|
|
... | ... | @@ -25,11 +25,9 @@ Indicates if wallet exists only in memory or is saved into a file. |
|
|
|
|
|
> `readonly` **name**: `string`
|
|
|
|
|
|
Name of this wallet
|
|
|
|
|
|
#### Defined in
|
|
|
Defined in: [src/detailed/interfaces.ts:23](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/a74bad9a396b3e773a554a847dc3b72c3f7ee98d/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L23)
|
|
|
|
|
|
[src/detailed/interfaces.ts:23](https://gitlab.syncad.com/hive/hive/-/blob/4cd3fc3d23f4074be91a11f00a7a6035405faaf8/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L23)
|
|
|
Name of this wallet
|
|
|
|
|
|
## Methods
|
|
|
|
... | ... | @@ -37,6 +35,8 @@ Name of this wallet |
|
|
|
|
|
> **close**(): [`IBeekeeperSession`](./IBeekeeperSession)
|
|
|
|
|
|
Defined in: [src/detailed/interfaces.ts:15](https://gitlab.syncad.com/hive/hive/programs/beekeeper/beekeeper_wasm/-/blob/a74bad9a396b3e773a554a847dc3b72c3f7ee98d/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L15)
|
|
|
|
|
|
Ensures that this wallet is locked, then closes it
|
|
|
|
|
|
#### Returns
|
... | ... | @@ -48,7 +48,3 @@ Beekeeper session owning the closed wallet |
|
|
#### Throws
|
|
|
|
|
|
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/-/blob/4cd3fc3d23f4074be91a11f00a7a6035405faaf8/programs/beekeeper/beekeeper_wasm/src/detailed/interfaces.ts#L15) |