Skip to main content
POST
/
close-user-account
/
ix
Generate close user account instructions
curl --request POST \
  --url https://api.breeze.baby/close-user-account/ix \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "params": {
    "user_account": "<string>",
    "user_pubkey": "<string>",
    "strategy_id": "<string>",
    "mint": "<string>",
    "payer": "<string>",
    "funds_recipient": "<string>",
    "user_token_account": "<string>"
  }
}
'
{
  "close_user_fund_instructions": [
    {
      "program_id": [
        127
      ],
      "accounts": [
        {
          "pubkey": [
            127
          ],
          "is_signer": true,
          "is_writable": true
        }
      ],
      "data": [
        127
      ]
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json
params
object
required

Response

Close user account instructions prepared successfully

close_user_fund_instructions
object[]
required

Array of Solana instructions for closing the user fund account