• AssetsApi - factory interface

    Parameters

    • Optional configuration: Configuration
    • Optional basePath: string
    • Optional axios: AxiosInstance

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

    • getAsset:function
      • 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

    Export