curl --request GET \
--url https://api.blockradar.co/v1/wallets/{walletId}/auto-settlements \
--header 'x-api-key: <api-key>'
{
"data": {
"isActive": true,
"name": "Base Master wallet swap auto ettlement",
"rules": [
{
"destination": {
"address": "0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
"asset": "USDC",
"blockchain": "base",
"isGateway": true
},
"isActive": true,
"name": "Swap from Base USDC to Gateway",
"order": "FASTEST",
"slippageTolerance": "5",
"source": {
"assets": [
"USDC"
],
"blockchain": "base",
"maxAmount": "1000",
"minAmount": "1"
}
}
]
},
"message": "Auto settlements fetched successfully",
"statusCode": 200
}
This endpoint retrieves the auto settlement configurations for a specific wallet identified. It provides details about the rules and settings associated with automatic settlements for the specified wallet.
curl --request GET \
--url https://api.blockradar.co/v1/wallets/{walletId}/auto-settlements \
--header 'x-api-key: <api-key>'
{
"data": {
"isActive": true,
"name": "Base Master wallet swap auto ettlement",
"rules": [
{
"destination": {
"address": "0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
"asset": "USDC",
"blockchain": "base",
"isGateway": true
},
"isActive": true,
"name": "Swap from Base USDC to Gateway",
"order": "FASTEST",
"slippageTolerance": "5",
"source": {
"assets": [
"USDC"
],
"blockchain": "base",
"maxAmount": "1000",
"minAmount": "1"
}
}
]
},
"message": "Auto settlements fetched successfully",
"statusCode": 200
}
"{{walletId}}"
200
The response is of type object
.