• Converts an Address to a PaymentAddress.

    Parameters

    • address: Address

      The address to be converted.

    Returns Core.PaymentAddress

    The converted address in PaymentAddress format.

    If a reward account is passed in.