Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssetApi

Asset API

Work in progress

Hierarchy

  • AssetApi

Index

Properties

cancelAskOrder

cancelAskOrder: function

Cancel Ask Order

param

The argument object

returns

The Transaction Id (as promise)

Type declaration

cancelBidOrder

cancelBidOrder: function

Cancel Bid Order

param

The argument object

returns

The Transaction Id (as promise)

Type declaration

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>

issueAsset

issueAsset: function

Issues assets

param

The argument object

returns

The Transaction Id (as promise)

Type declaration

placeAskOrder

placeAskOrder: function

Place Ask Order

param

The argument object

returns

The Transaction Id (as promise)

Type declaration

placeBidOrder

placeBidOrder: function

Place Ask Order

param

The argument object

returns

The Transaction Id (as promise)

Type declaration

transferAsset

transferAsset: function

Transfer assets

param

The argument object

returns

The Transaction Id (as promise)

Type declaration