@Override
  public Optional<Bytes> getInit() {
    return getTo().isPresent() ? Optional.empty() : Optional.of(payload.getPayloadBytes());
  }
Returns the payload if this is a contract creation transaction.

@return if present the init code
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/Transaction.java