curl --request PATCH \
--url https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/auto-settlements \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"isActive": true
}
'{
"data": {
"isActive": true,
"rules": [
{
"createdAt": "2025-08-26T17:28:38.273Z",
"destination": {
"address": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"asset": "USDC",
"blockchain": "optimism"
},
"id": "48c52f4a-c0bf-45c9-a322-1fef00f00431",
"isActive": true,
"name": "Swap from USDT to OP USDC",
"order": "FASTEST",
"slippageTolerance": "5",
"source": {
"assets": [
"USDT"
],
"blockchain": "base",
"maxAmount": "1000",
"minAmount": "1"
},
"updatedAt": "2025-08-26T17:32:08.108Z"
}
]
},
"message": "Auto settlement updated successfully",
"statusCode": 200
}This endpoint allows you to update the auto-settlement settings for a specific address. The primary purpose of this request is to enable or disable the auto-settlement feature for the address.
The request body must be in JSON format and can include the following parameter:
| Parameter | Type | Required | Description |
|---|---|---|---|
| isActive | boolean | No | Indicates whether the auto-settlement feature should be activated (true) or deactivated (false). |
curl --request PATCH \
--url https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/auto-settlements \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"isActive": true
}
'{
"data": {
"isActive": true,
"rules": [
{
"createdAt": "2025-08-26T17:28:38.273Z",
"destination": {
"address": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"asset": "USDC",
"blockchain": "optimism"
},
"id": "48c52f4a-c0bf-45c9-a322-1fef00f00431",
"isActive": true,
"name": "Swap from USDT to OP USDC",
"order": "FASTEST",
"slippageTolerance": "5",
"source": {
"assets": [
"USDT"
],
"blockchain": "base",
"maxAmount": "1000",
"minAmount": "1"
},
"updatedAt": "2025-08-26T17:32:08.108Z"
}
]
},
"message": "Auto settlement updated successfully",
"statusCode": 200
}"{{walletId}}"
"534e0480-f444-40c0-bc2e-2ef17bf7999e"
true
200
Show child attributes
true
Show child attributes
"2025-08-26T17:28:38.273Z"
"48c52f4a-c0bf-45c9-a322-1fef00f00431"
true
"Swap from USDT to OP USDC"
"FASTEST"
"5"
"2025-08-26T17:32:08.108Z"
[
{
"createdAt": "2025-08-26T17:28:38.273Z",
"destination": {
"address": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"asset": "USDC",
"blockchain": "optimism"
},
"id": "48c52f4a-c0bf-45c9-a322-1fef00f00431",
"isActive": true,
"name": "Swap from USDT to OP USDC",
"order": "FASTEST",
"slippageTolerance": "5",
"source": {
"assets": ["USDT"],
"blockchain": "base",
"maxAmount": "1000",
"minAmount": "1"
},
"updatedAt": "2025-08-26T17:32:08.108Z"
}
]"Auto settlement updated successfully"
200