wallet/importAccount
Imports an account into the wallet.
Request
{
account: {
version: number
name: string
spendingKey: string | undefined
viewKey: string
incomingViewKey: string
outgoingViewKey: string
publicAddress: string
createdAt: Date | undefined
}
rescan?: boolean
}
Response
{
name: string;
isDefaultAccount: boolean;
}