Close Empty Token Accounts

This API is used to batch close multiple token accounts with a balance of 0 and reclaim the account rent (A maximum of 50 accounts can be closed per request)

Body Params
string
required

The wallet id of the empty token accounts to be closed

string
required

The token account addresses to be closed. Use the Get Token Accounts API to obtain them. The value should be the account field from the returned results. (The state of the token must be 1, and a maximum of 50 addresses can be specified per request)

Response

Language
LoadingLoading…
Response
Choose an example:
application/json