wallet/exportAccount
Exports the keys to the default account, or the named account if specified.
The spendingKey
will be null in the response if viewOnly = true
or if exporting a view-only account.
Request
{
account?: string;
viewOnly?: boolean
}
Response
{
account: {
name: string;
spendingKey: string | null;
viewKey: string;
incomingViewKey: string;
outgoingViewKey: string;
publicAddress: string;
version: number;
}
}