AssetsApi
Summary
This function will return a list of all the assets that are available for trading on the exchange.
public AssetsDto Assets( AssetsUriParameterBuilder assetsUriParameterBuilder)
This function will return a list of assets based on the parameters passed in.
public StatsDto AssetStats(string assetId)
It returns the stats of an asset.
public LogsDto AssetLogs(string assetId, AssetsUriParameterBuilder assetsUriParameterBuilder)
This function returns a list of logs for a given 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.
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.
private Uri AssetStatsUri(string assetId)
It returns a URI for the asset stats endpoint
private Uri AssetLogsUri(string assetId)
It returns a URI for the logs of a specific asset.
private Uri AssetLogsUri(string assetId, AssetsUriParameterBuilder assetsUriParameterBuilder)
It takes an assetId and an AssetsUriParameterBuilder and returns a Uri.
Members
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
AssetsUriParameterBuilderThis 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
assetIdThe 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
assetIdThe 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
assetIdThe 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
assetIdThe id of the asset you want to get logs for.AssetsUriParameterBuilderThis 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
AssetsUriParameterBuilderA 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
assetIdThe ID of the asset you want to retrieve.
private Uri AssetStatsUri(string assetId)
It returns a URI for the asset stats endpoint
Parameters
assetIdThe 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
assetIdThe 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
assetIdThe asset ID of the asset you want to get logs for.AssetsUriParameterBuilderThis is a class that builds the query string parameters for the request.
Last updated