Function getInscription

  • Asynchronously retrieves inscription data for a given inscription ID.

    Parameters

    • OptionalinscriptionId: string = ...

      The unique identifier for the inscription. Defaults to the result of getId().

    • OptionalbaseUrl: string = _baseUrl

      The base URL for the API endpoint. Defaults to _baseUrl.

    Returns Promise<any>

    • A promise that resolves to the inscription data or null if the request fails.

    Will throw an error if the fetch operation fails.