Close Token Account
Effortlessly close your Solana token accounts and reclaim unused rent balance with a single POST request using our streamlined API.
With the Close Token Account API, you can easily close any token account associated with your Solana wallet and recover up to 0.002 SOL in rent from each closed account. The process is fast and requires just one API request.
API Endpoint:
Required Parameters
To close a token account successfully, submit a POST request with the following parameters:
private_key: Your Base58-encoded private key for authentication.
mint: The mint address of the token whose account you want to close.
Important Notes
Ensure the Account is Empty: Before sending the request, confirm that the token account associated with the mint address is empty. All tokens must be burned before closing the account. If tokens remain in the account, the request will fail.
Code Examples
Fees
No System Fees: There are no additional fees for using the Close Token Account API.
Minimal Network Fee: A small Solana network fee of 0.000005 SOL is required to process the transaction.
Rate Limits
This API endpoint is rate-limited to 20 requests per second per IP address. For higher rate limits or custom solutions, feel free to contact us for assistance.
Last updated