v1

latestOpenAPI 3.0.32026-07-26184851.6 MB
Auto Settlements

Master Wallet Get Rule

This endpoint allows you to retrieve the details of a specific auto-settlement rule associated with a particular wallet.

Path Parameters

FieldTypeDescription
idstringThe unique identifier of the auto-settlement rule to retrieve.
get/v1/wallets/{walletId}/auto-settlements/rules/{id}

Response

200

messagestring
statusCodenumber

Example response

{
  "data": {
    "destination": {
      "address": "0xD2b6be31932E0294F2ebD14a008C3f1E05B47BC4",
      "asset": "USDC",
      "blockchain": "optimism"
    },
    "id": "312ed6b6-cdde-4761-989d-c8e2b6047e19",
    "isActive": true,
    "name": "Swap from Base USDC to Optimism USDC",
    "order": "RECOMMENDED",
    "slippageTolerance": "5",
    "source": {
      "assets": [
        "USDC"
      ],
      "blockchain": "base",
      "maxAmount": "1000",
      "minAmount": "1"
    }
  },
  "message": "Auto settlement rule fetched successfully",
  "statusCode": 200
}