//Unfreeze an accountTokenUnfreezeTransaction transaction =newTokenUnfreezeTransaction().setAccountId(accountId).setTokenId(tokenId);//Freeze the unsigned transaction, sign with the sender freeze private key of the token, submit the transaction to a Hedera networkTransactionResponse txResponse =transaction.freezeWith(client).sign(freezeKey).execute(client);//Request the receipt of the transactionTransactionReceipt receipt =txResponse.getReceipt(client);//Obtain the transaction consensus statusStatus transactionStatus =receipt8.status;System.out.print("The transaction consensus status is "+transactionStatus);//v2.0.1
//Unfreeze an account and freeze the unsigned transaction for signingconsttransaction=awaitnewTokenUnfreezeTransaction().setAccountId(accountId).setTokenId(tokenId).freezeWith(client);//Sign with the freeze private key of the token constsignTx=awaittransaction.sign(freezeKey);//Submit the transaction to a Hedera networkconsttxResponse=awaitsignTx.execute(client);//Request the receipt of the transactionconstreceipt=awaittxResponse.getReceipt(client);//Obtain the transaction consensus statusconsttransactionStatus=receipt8.status;console.log("The transaction consensus status is "+transactionStatus.toString());//v2.0.7
//Unfreeze an account and freeze the unsigned transaction for signingtransaction, err = hedera.NewUnTokenFreezeTransaction().SetAccountID(accountId).SetTokenID(tokenId).FreezeWith(client)if err !=nil {panic(err)}//Sign with the freeze private key of the token, submit the transaction to a Hedera networktxResponse, err := transaction.Sign(freezeKey).Execute(client)if err !=nil {panic(err)}//Get the receipt of the transactionreceipt, err = txResponse.GetReceipt(client)if err !=nil {panic(err)}//Get the transaction consensus statusstatus := receipt.Statusfmt.Printf("The transaction consensus status is %v\n", status)//v2.1.0