Restore an existing wallet
Restoring a wallet will unload and overwrite the previously initialized wallet
Requires Admin authorization policy
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"password": "Secret99$",
"mnemonic": "route become dream access impulse price inform obtain engage ski believe awful absent pig thing vibrant possible exotic flee pepper marble rural fire fancy"
}
Request Code Samples
curl --location --request POST 'https://walletapi.hypercore.one/api/wallet/restore' \
--header 'Content-Type: application/json' \
--data-raw '{
"password": "Secret99$",
"mnemonic": "route become dream access impulse price inform obtain engage ski believe awful absent pig thing vibrant possible exotic flee pepper marble rural fire fancy"
}'
Modified at 2024-05-14 10:01:56