Skip to main content

core.addressfromcredentials

Home > @blaze-cardano/core > addressFromCredentials

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

NetworkId

The network ID of the Address.

paymentCredential

Credential

The payment credential to create the Address from.

delegationCredential

Credential

(Optional) The optional delegation credential to create the Address from.

Returns:

Address

{Address} The created Address.