Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssetApi

Asset API

Work in progress

Hierarchy

  • AssetApi

Index

Properties

Properties

getAllAssets

getAllAssets: function

Get all available assets

param

The first index of range to be returned (begins with 0)

param

The first index of range to be returned (max is 500)

returns

List of assets

Type declaration

    • (firstIndex?: number, lastIndex?: number): Promise<AssetList>
    • Parameters

      • Optional firstIndex: number
      • Optional lastIndex: number

      Returns Promise<AssetList>

getAsset

getAsset: function

Get asset information by its id

param

The asset id

returns

The asset, if exists

Type declaration

    • (assetId: string): Promise<Asset>
    • Parameters

      • assetId: string

      Returns Promise<Asset>

Generated using TypeDoc