Skip to main content
Version: Next

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

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.