@Override
  public Optional<Address> getTo() {
    return to;
  }
Returns the transaction recipient.

<p>The {@code Optional<Address>} will be {@code Optional.empty()} if the transaction is a
contract creation; otherwise it will contain the message call transaction recipient.

@return the transaction recipient if a message call; otherwise {@code Optional.empty()}
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/Transaction.java