curl --request GET \
--url https://api.blockradar.co/v1/wallets/{walletId}/auto-settlements/rules \
--header 'x-api-key: <api-key>'
{
"data": [
{
"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 rules fetched successfully",
"statusCode": 200
}
This endpoint retrieves the auto-settlement rules associated with a specific wallet.
curl --request GET \
--url https://api.blockradar.co/v1/wallets/{walletId}/auto-settlements/rules \
--header 'x-api-key: <api-key>'
{
"data": [
{
"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 rules fetched successfully",
"statusCode": 200
}
"{{walletId}}"
200
The response is of type object
.