AssetsApi

Summary

MembersDescriptions

This function will return a list of all the assets that are available for trading on the exchange.

This function will return a list of assets based on the parameters passed in.

This function will return an AssetDto object from the API.

It returns the stats of an asset.

It returns the logs of an asset.

This function returns a list of logs for a given asset.

It returns a URI that points to the assets endpoint.

It takes an AssetsUriParameterBuilder object as a parameter, and returns a Uri object that is the base URI for the Assets endpoint, with the parameters from the AssetsUriParameterBuilder object appended to it.

It takes an asset ID and returns a URI that can be used to request the asset from the API.

It returns a URI for the asset stats endpoint

It returns a URI for the logs of a specific asset.

It takes an assetId and an AssetsUriParameterBuilder and returns a Uri.

Members

public AssetsDto Assets()

This function will return a list of all the assets that are available for trading on the exchange.

Returns

A list of assets.

public AssetsDto Assets( AssetsUriParameterBuilder assetsUriParameterBuilder)

This function will return a list of assets based on the parameters passed in.

Parameters

  • AssetsUriParameterBuilder This is a class that contains all the parameters that can be passed to the API.

Returns

A list of assets.

public AssetDto Asset(string assetId)

This function will return an AssetDto object from the API.

Parameters

  • assetId The id of the asset you want to retrieve.

Returns

An AssetDto object

public StatsDto AssetStats(string assetId)

It returns the stats of an asset.

Parameters

  • assetId The asset id of the asset you want to get the stats for.

Returns

A StatsDto object

public LogsDto AssetLogs(string assetId)

It returns the logs of an asset.

Parameters

  • assetId The asset id of the asset you want to get the logs for.

Returns

A list of logs for the asset.

public LogsDto AssetLogs(string assetId, AssetsUriParameterBuilder assetsUriParameterBuilder)

This function returns a list of logs for a given asset.

Parameters

  • assetId The id of the asset you want to get logs for.

  • AssetsUriParameterBuilder This is a class that contains all the parameters that can be passed to the API.

Returns

A list of logs for the asset.

private readonly string _requestUriBase

private Uri AssetsUri()

It returns a URI that points to the assets endpoint.

private Uri AssetsUri( AssetsUriParameterBuilder assetsUriParameterBuilder)

It takes an AssetsUriParameterBuilder object as a parameter, and returns a Uri object that is the base URI for the Assets endpoint, with the parameters from the AssetsUriParameterBuilder object appended to it.

Parameters

  • AssetsUriParameterBuilder A class that builds the query string parameters for the assets endpoint.

private Uri AssetUri(string assetId)

It takes an asset ID and returns a URI that can be used to request the asset from the API.

Parameters

  • assetId The ID of the asset you want to retrieve.

private Uri AssetStatsUri(string assetId)

It returns a URI for the asset stats endpoint

Parameters

  • assetId The asset ID of the asset you want to get stats for.

private Uri AssetLogsUri(string assetId)

It returns a URI for the logs of a specific asset.

Parameters

  • assetId The ID of the asset you want to get logs for.

private Uri AssetLogsUri(string assetId, AssetsUriParameterBuilder assetsUriParameterBuilder)

It takes an assetId and an AssetsUriParameterBuilder and returns a Uri.

Parameters

  • assetId The asset ID of the asset you want to get logs for.

  • AssetsUriParameterBuilder This is a class that builds the query string parameters for the request.

Last updated