v1

latestOpenAPI 3.0.32026-07-26184851.6 MB
Wallet

Update wallet

This endpoint allows you to update the details of a specific wallet

Body Parameters

KeyRequiredTypeDescription
namefalsestringThe updated name of the wallet.
descriptionfalsestringThe updated description of the wallet.
patch/v1/wallets/{walletId}

Request body

descriptionstring
namestring

Example request

{
  "description": "This is BNB smart chain testnet master wallet",
  "name": "BNB smart chain Master Wallet"
}

Response

200

messagestring
statusCodenumber

Example response

{
  "data": {
    "address": "0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
    "blockchain": {
      "createdAt": "2024-05-14T11:53:33.106Z",
      "derivationPath": "m/44'/60'/0'/0",
      "id": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
      "isActive": true,
      "isEvmCompatible": true,
      "logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png",
      "name": "BNB smart chain",
      "slug": "bnb-smart-chain",
      "symbol": "bnb",
      "tokenStandard": "BEP20",
      "updatedAt": "2024-06-14T22:36:43.716Z"
    },
    "createdAt": "2024-08-22T09:29:11.387Z",
    "derivationPath": "m/44'/60'/0'/0/0",
    "description": "This is BNB smart chain testnet master wallet",
    "id": "4465468a-3c36-4536-918a-91d689e18a74",
    "isActive": true,
    "name": "BNB smart chain Master Wallet",
    "network": "testnet",
    "status": "ACTIVE",
    "updatedAt": "2024-10-30T06:58:58.716Z"
  },
  "message": "Wallet updated successfully",
  "statusCode": 200
}