Read positions
id (the on-chain index — feeds manage builds), a globally-unique positionId, collateral/debt, current vs. liquidation LTV, leverage, net USD value, and live APY.
Build a manage/close transaction
Actions
The response is the same
{ approvals, tx, meta } bundle — sign it the same way. Re-read positions after the transaction confirms to refresh your UI.