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
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
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