getApiKey method

Future<TGetApiKeyResponse> getApiKey({
  1. required TGetApiKeyBody input,
})

Get details about an API key.

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

See also: stampGetApiKey.

Implementation

Future<TGetApiKeyResponse> getApiKey({
  required TGetApiKeyBody input,
}) async {
  return await request<TGetApiKeyBody, TGetApiKeyResponse>(
      "/public/v1/query/get_api_key",
      input,
      (json) => TGetApiKeyResponse.fromJson(json));
}