AssetsApi - object-oriented interface

Export

AssetsApi

Hierarchy (view full)

Implements

Constructors

Properties

Methods

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

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 Promise<AxiosResponse<Asset, any>>

    Summary

    Get the asset for the specified asset ID.

    Throws

    Memberof

    AssetsApi