POST
/
v2
/
restore_coinbase_mpc_wallet
curl --request POST \
  --url http://127.0.0.1:9550/v2/restore_coinbase_mpc_wallet \
  --header 'Content-Type: application/json' \
  --data '{
  "config": {
    "name": "<string>",
    "private_key": "<string>",
    "use_server_signer": "<string>",
    "wallet_id": "<string>"
  },
  "network": "BaseSepolia",
  "role": "Payment",
  "wallet_id": "<string>"
}'
"<any>"

Recover a Coinbase Multi-Party Computation (MPC) wallet within the Shinkai system.

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
wallet_id
string
required
config
object

Response

200
application/json
Successfully restored Coinbase MPC wallet

The response is of type any.