Wallet
Update Wallet status
Wallet
Update Wallet status
This endpoint allows you to update the status of a specific wallet.
Body Parameters
Key | Required | Type | Description |
---|---|---|---|
isActive | true | boolean | The status state you want to set the wallet to |
PATCH
/
v1
/
wallets
/
{walletId}
/
status
curl --request PATCH \
--url https://api.blockradar.co/v1/wallets/{walletId}/status \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"isActive": false
}'
{
"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-30T07:11:16.513Z"
},
"message": "Wallet updated successfully",
"statusCode": 200
}
Authorizations
Path Parameters
Body
application/json
Response
200 - application/json
200
curl --request PATCH \
--url https://api.blockradar.co/v1/wallets/{walletId}/status \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"isActive": false
}'
{
"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-30T07:11:16.513Z"
},
"message": "Wallet updated successfully",
"statusCode": 200
}