Get individual position items (v4)
get_position_itemsv4 only. The individual supplies or borrows inside one v4 spoke: principal, accrued interest and what is withdrawable right now, per item, which the per-spoke aggregate from get_user_positions cannot show. Each item's positionItemId is what a position swap or a repay-with-supply sells, and its 'quotableAs' says which: supplySwapFrom or borrowSwapFrom as get_position_swap_quote's sellPosition, repayDebt as get_repay_with_supply_quote's debtPosition; absent when the item can enter neither. Get 'spokeId' from get_user_positions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Which side to list (default supply). | |
| user | Yes | Wallet address, 0x-prefixed (40 hex chars). | |
| spokeId | Yes | spokeId from get_user_positions (not the spoke address). | |
| version | No | Optional, and only 'v4': this tool exists on v4 only. |