Request ATA Closure

Closes an empty ATA (Associated Token Account) with a zero balance and reclaims the network deposit (rent) that was paid to keep the account open. The reclaimed deposit is sent to the fee address. An ATA that still holds a balance cannot be closed.

The network fee for the ATA closure transaction is paid by the fee address (fee delegation).

If a CONTRACT_EXECUTION type webhook is registered, a webhook notification is sent when the ATA closure transaction completes (FINALIZED or FAILED).

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

Wallet index

Body Params
string
required

Symbol of the asset whose ATA is to be closed. Enter the symbol in English letters; it is case-insensitive.

string
required

Token contract address.

string
required

Unique ID that can be supplied with the ATA closure request. The request fails if the requestId is already in use.

string
required

Solana wallet address (System Account) whose ATA is to be closed

string

Description that can be supplied with the ATA closure request. It is not recorded on the blockchain; it is stored only in Octet’s database.

string

The user key encrypted with the RSA public key. Required for the main address of a wallet whose key management type is co-managed (HEXLANT_MULTISIG).
The RSA public key is available in the developer tools of the Octet console.

Headers
string
required
Defaults to Bearer

API token

Response

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