Function getAssetIndex

  • Grabs an asset index from version metadata. Requires usage of the getVersion method to get the value for the version argument

    Example

    Here's an example

    // Fetch the version metadata
    const version = await getVersion("1.19.3");

    // Fetch the asset index
    const assetIndex = await getAssetIndex(version);

    Returns

    The asset index for the version provided.

    Parameters

    Returns Promise<AssetIndex>

Generated using TypeDoc