Class Address

Manifest Address

May also be referred to as the database address. It is a CID with a prefix that says it's an hldb manifest.

Constructors

Properties

Methods

Constructors

Properties

cid: CID<unknown, number, number, Version>

Methods

  • Checks if two addresses are equal

    Similar to CID.equals.

    Parameters

    Returns boolean

  • Converts the Address to a string

    Parameters

    • base: Codec<"base32", "b"> = base32

      the base encoding to use

    Returns string

  • Optimistically coerce values into an Address

    Similar to CID.asCID.

    Parameters

    • Optional address: any

      Anything you want to check is an Address

    Returns null | Address

Generated using TypeDoc