getWalletAccounts method

Future<TGetWalletAccountsResponse> getWalletAccounts({
  1. required TGetWalletAccountsBody input,
})

List all accounts within a wallet.

Sign the provided TGetWalletAccountsBody with the client's stamp function and submit the request (POST /public/v1/query/list_wallet_accounts).

See also: stampGetWalletAccounts.

Implementation

Future<TGetWalletAccountsResponse> getWalletAccounts({
  required TGetWalletAccountsBody input,
}) async {
  return await request<TGetWalletAccountsBody, TGetWalletAccountsResponse>(
      "/public/v1/query/list_wallet_accounts",
      input,
      (json) => TGetWalletAccountsResponse.fromJson(json));
}