Skip to main content
POST
/
v1
/
updateWallet
UpdateWallet
curl --request POST \
  --url https://api.mpcvault.com/v1/updateWallet \
  --header 'Content-Type: application/json' \
  --header 'x-mtoken: <api-key>' \
  --data '
{
  "address": "0x71C7656EC7ab88bd32g47dgdhhssq245f6d8976F",
  "name": "my wallet",
  "status": "STATUS_ACTIVE"
}
'
{
  "details": {
    "vaultUuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
    "keyType": "KEY_TYPE_ECC_ED25519",
    "keyPath": "path/to/key",
    "publicKey": "aSDinaTvuI8gbWludGxpZnk=",
    "networkType": "NETWORK_TYPE_EVM",
    "address": "0x71C7656EC7ab88bd32g47dgdhhssq245f6d8976F",
    "ref": "0x4321567890abcdef4321567890abcdef123456",
    "status": "STATUS_ACTIVE",
    "name": "test wallet"
  },
  "error": {
    "message": "<string>"
  }
}
Update a wallet’s name or status by its address. Provide at least one of the two.

Authorizations

x-mtoken
string
header
required

Your API token. Required for all API requests.

Body

application/json
address
string
required

The on-chain address of the wallet to update.

Example:

"0x71C7656EC7ab88bd32g47dgdhhssq245f6d8976F"

name
string

The wallet's new name, 1-85 characters. Empty means no change.

Example:

"my wallet"

status
string

The wallet's new status. Empty means no change. Supports STATUS_ACTIVE and STATUS_ARCHIVED: use STATUS_ARCHIVED to archive a wallet, and STATUS_ACTIVE to unarchive an archived wallet.

Example:

"STATUS_ACTIVE"

Response

200 - application/json

Success

details
object
error
execute_signing_requests_error_code · object