get_positions
Retrieve open lending positions for a wallet address, including balances, market prices, and activity counts. Optionally filter by collateral or borrower side.
Instructions
Open positions for a wallet address with balances, market prices, and activity counts. Optionally filter by side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Filter: COLLATERAL (deposits used as collateral) or BORROWER (borrows) | |
| first | No | Max positions to return | |
| address | Yes | Wallet address (0x...). Will be lowercased automatically. | |
| network | No | Network filter. Use these exact values: MAINNET (Ethereum), MATIC (Polygon), ARBITRUM_ONE (Arbitrum), AVALANCHE, BASE, BSC (BNB Chain), OPTIMISM, FANTOM, GNOSIS, BLAST, SCROLL, NEAR, HARMONY, MOONBEAM, MOONRIVER, AURORA, LINEA, ZKSYNC_ERA. Omit to use the default (first) deployment. | |
| protocol | Yes | Protocol registry slug. Must be one of: aave-amm, aave-arc, aave-rwa, aave-v2, aave-v3, abracadabra, alpaca-finance-lending, banker-joe, bastion-protocol, benqi, burrow, compound-v2, compound-v3, cream-finance, dforce, euler-finance, geist-finance, goldfinch, inverse-finance, iron-bank, liquity, makerdao, maple-finance-v1, maple-finance-v2, moonwell, morpho-aave-v2, morpho-aave-v3, morpho-compound, notional-finance, pac-finance, qidao, radiant, rari-fuse, scream, seamless-protocol, seismic, sonne-finance, spark-lend, truefi, uwu-lend, venus, vesta-finance, zerolend |