Function getByPtr

  • Retrieves the TitleRecord with the specified ptr and optional origin, or undefined if the record is not found.

    Use this method to retrieve the metadata associated with an asset identified by its TitleRecord ID.

    Parameters

    • ptr: string

      The ptr for the TitleRecord to retrieve.

    • Optional origin: string

      The origin, defaults to the origin specified in initialize.

    Returns TitleRecord | undefined