getWalletAccount method

Future<TGetWalletAccountResponse> getWalletAccount({
  1. required TGetWalletAccountBody input,
})

Get a single wallet account.

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

See also: stampGetWalletAccount.

Implementation

Future<TGetWalletAccountResponse> getWalletAccount({
  required TGetWalletAccountBody input,
}) async {
  return await request<TGetWalletAccountBody, TGetWalletAccountResponse>(
      "/public/v1/query/get_wallet_account",
      input,
      (json) => TGetWalletAccountResponse.fromJson(json));
}