Class TokenDissociateTransaction


public class TokenDissociateTransaction extends Transaction<TokenDissociateTransaction>
Dissociate an account from one or more HTS tokens. If the identified account is not found, the transaction SHALL return `INVALID_ACCOUNT_ID`.
If the identified account has been deleted, the transaction SHALL return `ACCOUNT_DELETED`.
If any of the identified tokens is not found, the transaction SHALL return `INVALID_TOKEN_REF`.
If any of the identified tokens has been deleted, the transaction SHALL return `TOKEN_WAS_DELETED`.
If an association does not exist for any of the identified tokens, the transaction SHALL return `TOKEN_NOT_ASSOCIATED_TO_ACCOUNT`.
If the identified account has a nonzero balance for any of the identified tokens, and that token is neither deleted nor expired, the transaction SHALL return `TRANSACTION_REQUIRES_ZERO_TOKEN_BALANCES`.
If one of the identified tokens is a fungible/common token that is expired, the account MAY disassociate from that token, even if that token balance is not zero for that account.
If one of the identified tokens is a non-fungible/unique token that is expired, the account MUST NOT disassociate if that account holds any individual NFT of that token. In this situation the transaction SHALL return `TRANSACTION_REQUIRED_ZERO_TOKEN_BALANCES`.
The identified account MUST sign this transaction. ### Block Stream Effects None