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