v1

latestOpenAPI 3.0.02026-07-2442138225.7 KB
Actions
Actions

List actions

Get a paginated list of actions, with optional filtering by address, integration, status, etc.

get/v1/actions

Query parameters

offsetnumber

Offset for pagination

limitnumber
Example:25

Maximum number of items to return

addressstring required
Example:0x742d35Cc6634C0532925a3b844Bc9e7595f8fB28

User wallet address to filter actions for

integrationIdstring
Example:aave-borrow

Filter by integration

action'supply' | 'borrow' | 'repay' | 'withdraw' | 'enableCollateral' | 'disableCollateral'
Example:supply

Filter by action type

status'CANCELED' | 'CREATED' | 'WAITING_FOR_NEXT' | 'PROCESSING' | 'FAILED' | 'SUCCESS' | 'STALE'

Filter by status

statusesstring[]

Filter by multiple statuses (supports CSV or repeated query params)

Response

Paginated list of actions

totalnumber required

Total number of items available

offsetnumber required

Offset of the current page

limitnumber required

Limit of the current page

Example response

{
  "total": 150,
  "limit": 100,
  "items": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "integrationId": "aave-borrow",
      "action": "supply",
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f8fB28",
      "status": "CREATED",
      "transactions": [
        {
          "id": "550e8400-e29b-41d4-a716-446655440000",
          "network": "ethereum",
          "chainId": "1",
          "type": "SUPPLY",
          "status": "CREATED",
          "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f8fB28",
          "signingFormat": "EVM_TRANSACTION"
        }
      ],
      "currentStep": 1,
      "totalSteps": 1,
      "rawArguments": {
        "amount": "1.5",
        "amountRaw": "1500000",
        "repayAll": true,
        "tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
        "collateralTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
        "collateralAmount": "0.5",
        "collateralAmountRaw": "50000000",
        "borrowAmount": "100",
        "targetLtv": "0.1",
        "marketId": "morpho-blue-borrow-base-cbbtc-usdc-86"
      },
      "metadata": {
        "currentHealthFactor": "1.85",
        "predictedHealthFactor": "1.42",
        "currentLtv": "0.55",
        "predictedLtv": "0.72",
        "liquidationThreshold": "0.85",
        "predictedTotalSupplyUsd": "10000.00",
        "predictedTotalDebtUsd": "7200.00",
        "originationFeeBps": 100,
        "originationFeeAmount": "1.00",
        "effectivePrincipalAmount": "101.00",
        "feeAmount": "0.0005",
        "feeBps": 50,
        "effectiveCollateralAmount": "0.0125"
      }
    }
  ]
}