AccountsClient
Summary
get created accounts
get account creator
get account summary
get accounts by public key
get permission links
get all tokens
get controlled accounts by controlling accounts
Members
public string
BaseUrl
public
AccountsClient
(HttpClient httpClient)
public async Task< GetCreatedAccountsResponse >
GetCreatedAccountsAsync
(string account, int? limit, int? skip, CancellationToken cancellationToken) = default
get created accounts
Parameters
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
account
creator accountlimit
limit of [n] results per pageskip
skip [n] results
Exceptions
ApiException
A server side error occurred.
public async Task< GetCreatorResponse >
GetCreatorAsync
(string account, CancellationToken cancellationToken) = default
get account creator
Parameters
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
account
created account
Exceptions
ApiException
A server side error occurred.
public async Task< GetAccountResponse >
GetAccountAsync
(string account, int? limit, int? skip, CancellationToken cancellationToken) = default
get account summary
Parameters
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
account
account namelimit
limit of [n] results per pageskip
skip [n] results
Exceptions
ApiException
A server side error occurred.
public async Task< GetKeyAccountsWithPermissionsResponse >
GetKeyAccountsAsync
(string publicKey, int? limit, int? skip, bool? details, CancellationToken cancellationToken) = default
get accounts by public key
Parameters
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
public_key
public keylimit
limit of [n] results per pageskip
skip [n] resultsdetails
include permission details
Exceptions
ApiException
A server side error occurred.
public async Task< GetLinksResponse >
GetLinksAsync
(string account, string code, string action, string permission, CancellationToken cancellationToken) = default
get permission links
Parameters
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
account
account namecode
contract nameaction
method namepermission
permission name
Exceptions
ApiException
A server side error occurred.
public async Task< GetTokensResponse >
GetTokensAsync
(string account, int? limit, int? skip, CancellationToken cancellationToken) = default
get all tokens
Parameters
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
account
account namelimit
limit of [n] results per pageskip
skip [n] results
Returns
Default Response
Exceptions
ApiException
A server side error occurred.
public async Task< GetControlledAccountsResponse >
GetControlledAccountsAsync
(string controllingAccount, CancellationToken cancellationToken) = default
get controlled accounts by controlling accounts
Parameters
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions
ApiException
A server side error occurred.
private readonly HttpClient
_httpClient
Last updated