Address Operations
Whitelist address
API Documentation
Wallet Management
Address Operations
- GETGet Addresses
- POSTGenerate Address
- GETGet Address
- PATCHUpdate Address
- POSTWhitelist address
- DELUnwhitelist address
- GETGet Balance
- GETGet Balances
- GETGet transactions
- POSTWithdraw Network Fee
- POSTWithdraw
- POSTGet Swap Quote
- POSTSwap Execute
- POSTCustom Smart Contract Network Fee
- POSTCustom Smart Contract Read
- POSTCustom Smart Contract Write
Withdrawals
Custom Smart Contracts
Asset Management
Transactions
AML(Anti Money Laundering)
Auto Settlements
Asset Recovery
Payment Links
Miscellaneous
Address Operations
Whitelist address
This endpoint allows you to whitelist an external address to be monitored based on the wallet policies
Body Parameters
Key | Required | Type | Description |
---|---|---|---|
name | false | string | The name associated with the wallet address. |
address | true | string | The wallet address to be added to the whitelist. |
metadata | false | object | Additional metadata associated with the wallet address this will be part of the transaction payload metadata |
POST
/
v1
/
wallets
/
{walletId}
/
addresses
/
whitelist
curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/addresses/whitelist \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"address": "ADDRESS_TO_WHITELIST",
"metadata": "OPTIONAL_METADATA",
"name": "OPTIONAL_ADDRESS_NAME"
}'
{
"data": {
"address": "0x3375154fa32Cb434B044E73a2582C4D2E6518AE4",
"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"
}
},
"createdAt": "2024-11-11T16:57:19.160Z",
"derivationPath": null,
"id": "b87901a2-45c1-4d2d-8ee7-205ef0c4ddf1",
"isActive": true,
"metadata": null,
"name": "External address",
"network": "testnet",
"type": "EXTERNAL",
"updatedAt": "2024-11-11T16:57:19.160Z"
},
"message": "Address whitelisted successfully",
"statusCode": 200
}
Authorizations
Path Parameters
Example:
""
Body
application/json
Response
200 - application/json
200
The response is of type object
.
curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/addresses/whitelist \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"address": "ADDRESS_TO_WHITELIST",
"metadata": "OPTIONAL_METADATA",
"name": "OPTIONAL_ADDRESS_NAME"
}'
{
"data": {
"address": "0x3375154fa32Cb434B044E73a2582C4D2E6518AE4",
"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"
}
},
"createdAt": "2024-11-11T16:57:19.160Z",
"derivationPath": null,
"id": "b87901a2-45c1-4d2d-8ee7-205ef0c4ddf1",
"isActive": true,
"metadata": null,
"name": "External address",
"network": "testnet",
"type": "EXTERNAL",
"updatedAt": "2024-11-11T16:57:19.160Z"
},
"message": "Address whitelisted successfully",
"statusCode": 200
}