POST
/
v2
/
restore_local_wallet
curl --request POST \
  --url http://127.0.0.1:9550/v2/restore_local_wallet \
  --header 'Content-Type: application/json' \
  --data '{
  "network": "BaseSepolia",
  "role": "Payment",
  "source": {
    "Mnemonic": "<string>"
  }
}'
"<any>"

Recover a previously created local wallet using backup information.

Body

application/json
network
enum<string>
required

Enum representing the ID of the blockchain network.

Available options:
BaseSepolia,
BaseMainnet,
EthereumSepolia,
EthereumMainnet,
ArbitrumSepolia,
ArbitrumMainnet,
Anvil
role
enum<string>
required

Enum to represent different wallet roles. Useful for the API.

Available options:
Payment,
Receiving,
Both
source
object
required

Response

200
application/json
Successfully restored wallet

The response is of type any.