docs: public static Protos.Output createPayToAddressOutput(@Nullable Coin amount, Address address) {
          Protos.Output.Builder output = Protos.Output.newBuilder();
          if (amount != null) {
              final NetworkParameters params = address.getParameters();
              if (params.hasMaxMoney() && amount.compareTo(params.getMaxMoney()) > 0)
                  throw new IllegalArgumentException("Amount too big: " + amount);
              output.setAmount(amount.value);
          } else {
              output.setAmount(0);
          }
          output.setScript(ByteString.copyFrom(ScriptBuilder.createOutputScript(address).getProgram()));
          return output.build();
      }