} else if (script.isSentToAddress()) {
} else {
  throw UnsupportedOperationException();
}