BurnsApi
Summary
This function will make a GET request to the Burns endpoint and return the response as a BurnsDto object.
This function will return a BurnsDto object if the API call is successful. Otherwise, it will throw an exception.
It returns the burn amount for a given account.
This function returns a Uri object that represents the Burns endpoint
It takes a BurnsUriParameterBuilder object and returns a Uri object.
This function returns a URI that can be used to burn a specific account
Members
This function will make a GET request to the Burns endpoint and return the response as a BurnsDto object.
Returns
BurnsDto
public
BurnsDto
Burns
(
BurnsUriParameterBuilder
burnsUriParameterBuilder)
This function will return a BurnsDto object if the API call is successful. Otherwise, it will throw an exception.
Parameters
BurnsUriParameterBuilder
This is a class that contains all the parameters that can be passed to the API.
Returns
A BurnsDto object.
public
BurnDto
Account
(string accountName)
It returns the burn amount for a given account.
Parameters
accountName
The name of the account to burn
Returns
A BurnDto object
private readonly string
_requestUriBase
private Uri
BurnsUri
()
This function returns a Uri object that represents the Burns endpoint
private Uri
BurnsUri
(
BurnsUriParameterBuilder
burnsUriParameterBuilder)
It takes a BurnsUriParameterBuilder object and returns a Uri object.
Parameters
BurnsUriParameterBuilder
A class that builds the query string parameters for the URI.
private Uri
BurnUri
(string accountName)
This function returns a URI that can be used to burn a specific account
Parameters
accountName
The name of the account to burn.
Last updated