Function getParentsPage

  • Asynchronously fetches the parents of a given inscription. If no inscription ID is provided, it defaults to using the ID obtained from getId().

    Parameters

    • inscriptionId: string = ...

      The ID of the inscription to get the parents of. Defaults to the ID of the page running it if none is given.

    • page: number = 0

      The page number to fetch the parents from.

    • OptionalbaseUrl: string = _baseUrl

      Optional baseUrl for the fetch.

    Returns Promise<any>

    • A promise that resolves to an object containing: - ids: An array of parent IDs. - more: A boolean indicating if there are more pages. - page: The current page number.