Close child vault
Requires key scope escrow/close.
Returns an unsigned v0 transaction for the manager to sign. Do not send payer: the API sets it to the key’s manager and rejects a body that contains it. Unknown fields are ignored. The key’s manager must be the vault’s current on-chain authority, and the vault must be in the key’s allowlist when the key has one. A delegate wallet gets 403.
Closes the child vault child and returns its rent. The program rejects it while the child still holds anything the keeper would count: open strategies, an idle deposit-token balance, or, on a non-USDC child, USDC. With defundFirst, the same transaction first moves every Jupiter-tracked token and the idle deposit token back to vault and closes the emptied Jupiter strategies. Close the child’s DLMM positions, limit orders and Phoenix account first; with defundFirst the build returns 400 while any remain.
Authorizations
Body
Response
Build result. One step.
