sdk.core.addressfromcredentials
Home > @blaze-cardano/sdk > Core > addressFromCredentials
Core.addressFromCredentials() function
Function to create an Address from payment and optional delegation credentials.
Signature:
addressFromCredentials: (network: NetworkId, paymentCredential: Credential, delegationCredential?: Credential) => Address
Parameters
Parameter |
Type |
Description |
---|---|---|
network |
The network ID of the Address. | |
paymentCredential |
The payment credential to create the Address from. | |
delegationCredential |
(Optional) The optional delegation credential to create the Address from. |
Returns:
{Address} The created Address.