Skip to content

Commit 7ef1667

Browse files
committed
update BasicWallet stucture in docs
1 parent b100fba commit 7ef1667

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/docs/api/wallet.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,27 @@ Creates a new wallet. It also helps to recover a wallet using its mnemonic phras
4141
Promise<BasicWallet>
4242
```
4343

44+
#### `BasicWallet`
45+
46+
Represents a basic wallet structure.
47+
48+
```ts
49+
export type BasicWallet = {
50+
id: string
51+
name: string
52+
mnemonic: string
53+
version: string
54+
creationDate: number
55+
keys: {
56+
walletId: string
57+
publicKey: string
58+
privateKey: string
59+
publicEncryptionKey: string
60+
walletMnemonic: string
61+
}
62+
}
63+
```
64+
4465
#### Example
4566
4667
```js

0 commit comments

Comments
 (0)