Wallet Management
Update wallet
Wallet Management
Update wallet
This endpoint allows you to update the details of a specific wallet
Body Parameters
Key | Required | Type | Description |
---|---|---|---|
name | false | string | The updated name of the wallet. |
description | false | string | The updated description of the wallet. |
PATCH
/
v1
/
wallets
/
{walletId}
curl --request PATCH \
--url https://api.blockradar.co/v1/wallets/{walletId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"description": "This is BNB smart chain testnet master wallet",
"name": "BNB smart chain Master Wallet"
}'
{
"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
}
Authorizations
Path Parameters
Example:
"YOUR_WALLET_ID"
Body
application/json
Example:
"This is BNB smart chain testnet master wallet"
Example:
"BNB smart chain Master Wallet"
Response
200 - application/json
200
Example:
"0x947514e4B803e312C312da0F1B41fEDdbe15ae7a"
Example:
"2024-05-14T11:53:33.106Z"
Example:
"m/44'/60'/0'/0"
Example:
"b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa"
Example:
true
Example:
true
Example:
"https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png"
Example:
"BNB smart chain"
Example:
"bnb-smart-chain"
Example:
"bnb"
Example:
"BEP20"
Example:
"2024-06-14T22:36:43.716Z"
Example:
"2024-08-22T09:29:11.387Z"
Example:
"m/44'/60'/0'/0/0"
Example:
"This is BNB smart chain testnet master wallet"
Example:
"4465468a-3c36-4536-918a-91d689e18a74"
Example:
true
Example:
"BNB smart chain Master Wallet"
Example:
"testnet"
Example:
"ACTIVE"
Example:
"2024-10-30T06:58:58.716Z"
Example:
"Wallet updated successfully"
Example:
200
curl --request PATCH \
--url https://api.blockradar.co/v1/wallets/{walletId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"description": "This is BNB smart chain testnet master wallet",
"name": "BNB smart chain Master Wallet"
}'
{
"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
}