Close Token Accounts

Solana API endpoint for closing empty Solana token accounts. Build a transaction to close Token-2022 and SPL token accounts to recover locked SOL.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request payload model for close token accounts param parameters used by this API endpoint.

accountAddresses
array of objects | null

Specific token account addresses to close (auto-fetches if not provided)

accountAddresses
boolean | null

Use Vybe fee payer for gas

string
required

Typed Solana public key identifier used across request parameters and response fields.

string | null

Partner identifier

double | null

Fee percentage on recovered rent (0-1, e.g., 0.20 for 20%)

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json