closePlan returns the whole plan for an account without building a transaction. Use it to show the user what will happen, and to stop early when something cannot close safely.
Response
status: the plan’s state.blockers: positions or steps that cannot be closed safely, each with a plain-languagemessage. A blocked step is never silently skipped, so surface every blocker to the user.decisionPoints: choices the user must make. CallclosePlanagain withdecisionsfilled in.estimate: the fee in stroops and the reserve XLM freed.execution: the estimated transaction count and a breakdown per transaction.planHash: identifies the plan.
closeTransactions re-reads live on-chain state and re-derives the work, so run it only after the user has reviewed the plan.