Get Wallet Backup

Get Wallet Backup

Retrieves the currently loaded wallet as a hexadecimal string. The wallet is encrypted with the user's password and the value is prefixed with the string IXIHEX.

Method: getwalletbackup

Input parameters:

ParameterTypeRequiredDescription
walletStringNoBase58 Primary Wallet address in case multiple wallets are being used.

Errors:

ErrorDescription
RPC_INTERNAL_ERRORAn unknown error occurred in the node. Please check the node log for details.

Output:

  • a JSON object with the wallet bytes encoded as a hexadecimal string.

Example:

GET http://localhost:8081/getwalletbackup

{
  "result": "IXIHEX05000000013844...cab76cfb758a14",
  "error": null,
  "id": null
}