Canton dAppBooster
    Preparing search index...
    • Reads a registry's instrument metadata, following its pages up to a limit of 100, so the answer is the registry's whole catalogue and a registry that will not stop paging cannot hang the caller.

      Parameters

      • registryUrl: string

      Returns Promise<readonly Instrument[]>

      where either request answers anything but 200, or the reply is not JSON.

      const instruments = await readInstruments('https://registry.example/api')