core.addressfromcredential
Home > @blaze-cardano/core > addressFromCredential
addressFromCredential() function
Function to create an Address from a credential.
Signature:
addressFromCredential: (network: NetworkId, credential: Credential) => Address
Parameters
Parameter |
Type |
Description |
---|---|---|
network |
The network ID of the Address. | |
credential |
The credential to create the Address from. |
Returns:
{Address} The created Address.