PATCH
/
v1
/
wallets
/
{walletId}
/
addresses
/
{addressId}
curl --request PATCH \
  --url https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "disableAutoSweep": "OPTIONAL_BOOLEAN",
  "enableGaslessWithdraw": "OPTIONAL_BOOLEAN",
  "isActive": "OPTIONAL_BOOLEAN",
  "metadata": "OPTIONAL_METADATA",
  "name": "OPTIONAL_ADDRESS_NAME",
  "showPrivateKey": "OPTIONAL_BOOLEAN"
}'
{
  "data": {
    "address": "0x3ec2a234DE95cC783291241B7070b19786b25d5b",
    "blockchain": {
      "createdAt": "2024-05-27T08:31:14.966Z",
      "derivationPath": "m/44'/60'/0'/0",
      "id": "74733889-4ecd-403e-9840-94e87c043f24",
      "isActive": true,
      "isEvmCompatible": true,
      "logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
      "name": "base",
      "slug": "base",
      "symbol": "eth",
      "tokenStandard": null,
      "updatedAt": "2024-10-27T07:52:16.115Z"
    },
    "configurations": {
      "aml": {
        "message": "Address is not sanctioned",
        "provider": "ofac",
        "status": "success"
      },
      "disableAutoSweep": true,
      "enableGaslessWithdraw": true,
      "showPrivateKey": false
    },
    "createdAt": "2024-11-11T16:48:19.682Z",
    "derivationPath": "m/44'/60'/0'/0/104",
    "id": "4982f18a-e9ec-43e8-b8a7-39de40f45e6f",
    "isActive": true,
    "metadata": null,
    "name": "Customer 2",
    "network": "testnet",
    "type": "INTERNAL",
    "updatedAt": "2024-11-11T16:55:05.320Z"
  },
  "message": "Address updated successfully",
  "statusCode": 200
}

Authorizations

x-api-key
string
header
required

Path Parameters

walletId
string
required
addressId
string
required

Body

application/json
disableAutoSweep
string
enableGaslessWithdraw
string
isActive
string
metadata
string
name
string
showPrivateKey
string

Response

200 - application/json
200
data
object
message
string
statusCode
number