core.getpaymentaddress
Home > @blaze-cardano/core > getPaymentAddress
getPaymentAddress() function
Converts an Address to a PaymentAddress.
Signature:
export declare function getPaymentAddress(address: Address): PaymentAddress;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| address | The address to be converted. | 
Returns:
{PaymentAddress} The converted address in PaymentAddress format.
Exceptions
{Error} If a reward account is passed in.