AssetsApi - interface

Export

AssetsApi

interface AssetsApiInterface {
    getAsset(networkId, assetId, options?): AxiosPromise<Asset>;
}

Implemented by

Methods

Methods

  • Get the asset for the specified asset ID.

    Parameters

    • networkId: string

      The ID of the blockchain network

    • assetId: string

      The ID of the asset to fetch. This could be a symbol or an ERC20 contract address.

    • Optional options: RawAxiosRequestConfig

      Override http request option.

    Returns AxiosPromise<Asset>

    Summary

    Get the asset for the specified asset ID.

    Throws

    Memberof

    AssetsApiInterface