Class PointerAddress

Represents a pointer address in the Cardano blockchain.

A pointer address is a type of Shelley-era address that includes a payment credential and a stake pointer. The stake pointer references a stake credential by its location in the blockchain (slot, transaction index, and output index) rather than by its hash. This allows for more efficient stake credential lookup in certain scenarios.

Properties

ptr: number

The memory address of the PointerAddress WASM object.

Methods

  • Gets the reference count of the pointer address.

    Returns number

    The current reference count.

  • Gets the Bech32 string representation of the pointer address.

    Returns string

    A Bech32 string containing the address.

    If the operation fails.

  • Gets the raw bytes of the pointer address.

    Returns Uint8Array

    A byte array containing the address data.

    If the operation fails.