Skip to main content
PATCH
/
api
/
v1
/
accounts
/
{account-id}
/
wallets
/
{wallet-id}
/
metadata
Update wallet metadata
curl --request PATCH \
  --url https://app.crown-brlv.com/api/v1/accounts/{account-id}/wallets/{wallet-id}/metadata \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {
    "label": "treasury"
  },
  "ui-enabled": true
}
'
{
  "wallet": {
    "id": "019712cf-c86d-703f-85b8-bdaa4fc8d254",
    "name": "My Trading Wallet",
    "address": "0x1234567890abcdef1234567890abcdef12345678",
    "ui-enabled": true,
    "metadata": {
      "label": "treasury"
    }
  }
}

Path Parameters

account-id
string<uuid>
required
wallet-id
string<uuid>
required

Body

application/json
metadata
object

Custom metadata to associate with the wallet

Example:
{ "label": "treasury" }
ui-enabled
boolean

Whether this wallet should be visible in the UI

Example:

true

Response

Wallet metadata updated successfully

wallet
object
required