Get DeFi positions for an address
get_positionFetch open Indigo CDP or Liqwid loan positions for a Cardano address, returning collateral, debt, health factor, frozen status, and CDP out-ref. Read-only.
Instructions
Read open positions for a Cardano address: Indigo CDPs (collateral, minted iAsset debt, frozen flag, and the CDP out-ref that close_cdp needs) or Liqwid loans (debt, collateral value, health factor, LTV). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Bech32 Cardano address that owns the positions | |
| protocol | Yes | Which protocol to read positions from |