//Create the transaction and freeze the unsigned transaction
transaction, err := hedera.NewScheduleSignTransaction().
SetScheduleID(scheduleId).
FreezeWith(client)
if err != nil {
panic(err)
}
//Sign with one of the required signatures, sign with the client operator private key and submit the transaction to a Hedera network
txResponse, err := transaction.Sign(privateKeySigner1).Execute(client)
if err != nil {
panic(err)
}
//Request the receipt of the transaction
receipt, err := txResponse.GetReceipt(client)
if err != nil {
panic(err)
}
//Get the transaction consensus status
status:= *receipt.Status
fmt.Printf("The transaction consensus status is %v\n", status)