wallet/exportAccount

Exports the keys of the default account, or the named account if account is specified.

The spendingKey will be null in the response if viewOnly = true or if exporting a view-only account.

Request 

{
  account?: string
  viewOnly?: boolean
  format?: AccountFormat
  language?: LanguageKey
}

Supported AccountFormats

  • Base64Json: The full account and all keys as a JSON string then encoded in base64.
  • JSON: The full account and all keys as a JSON string
  • Mnemonic: The private key in 12 word format in the specified language
  • SpendingKey: The private key as a hex-encoded string.

Supported Mnemonic Languages

Response 

The RPC will serialize the account into a string of the desired format.

{
  account: string | null
}
View on Github

Join our newsletter and stay up to date with privacy and crypto.

Discover our impactful presence — read our blog.

Use

  • Node App
  • Node CLI
  • Mine
  • Block Explorer
  • Ecosystem

Learn

  • Get Started
  • FAQ
  • Whitepaper
  • Tokenomics

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Developers

  • Documentation
  • Github
Privacy Policy

|

Media Kit

|

Copyright 2024 Iron Fish.