Breeze
Endpoints

Get Close User Account Instructions

POST
/close-user-account/ix

Generates raw Solana instructions for closing a user's fund account. Use this endpoint for advanced use cases where you need more control over transaction construction. Identify the account either by user_account (fund ID) or by user_pubkey + strategy_id + mint.

x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/close-user-account/ix" \  -H "Content-Type: application/json" \  -d '{    "params": {}  }'
{  "close_user_fund_instructions": [    {      "program_id": [        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0,        0      ],      "accounts": [        {          "pubkey": [            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0,            0          ],          "is_signer": true,          "is_writable": true        }      ],      "data": [        0      ]    }  ]}
{  "message": "string"}
{  "message": "string"}