We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 357c02b + fe7d510 commit 6c5ccf5Copy full SHA for 6c5ccf5
content/documentation/rpc/wallet/import_account.mdx
@@ -17,9 +17,16 @@ The optional `createdAt` field can be used to set the block sequence to start sc
17
name?: string
18
rescan?: boolean
19
createdAt?: number
20
+ format?: AccountFormat
21
}
22
```
23
24
+Supported [AccountFormats](https://github.com/iron-fish/ironfish/blob/master/ironfish/src/wallet/account/encoder/encoder.ts#L27)
25
+ - Base64Json: The full account and all keys as a JSON string then encoded in base64.
26
+ - JSON: The full account and all keys as a JSON string
27
+ - Mnemonic: The private key encoded as 24 word BIP39 mnemonic phrase in the specified language
28
+ - SpendingKey: The private key as a hex-encoded string.
29
+
30
#### Response
31
32
```ts
0 commit comments