A base address directly specifies the stake key that should control the stake for that address. The staking rights associated with funds held in this address may be exercised by the owner of the stake key. Base addresses can be used in transactions without registering the stake key in advance.

The stake rights can only be exercised by registering the stake key and delegating to a stake pool. Once the stake key is registered, the stake rights can be exercised for base addresses used in transactions before or after the key registration.

Hierarchy

  • BaseAddress

Constructors

Properties

#delegationPart: Cardano.Credential
#networkId: Cardano.NetworkId
#paymentPart: Cardano.Credential

Methods

  • There are currently 4 types of Shelley Base addresses, summarized below:

    • 0000 PaymentKeyHash StakeKeyHash
    • 0001 ScriptHash StakeKeyHash
    • 0010 PaymentKeyHash ScriptHash
    • 0011 ScriptHash ScriptHash

    Parameters

    • type: number

      The address type.

    • data: Uint8Array

      The serialized address data.

    Returns Cardano.Address

Generated using TypeDoc