Request ATA Closure
POST/2.0/wallets/:walletIdx/solana/spl-tokens/ata/close
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).
Request
Responses
- 200
Success