stampGetOauth2Credential method
Produce a SignedRequest from TGetOauth2CredentialBody by using the client's stamp function.
See also: GetOauth2Credential.
Implementation
Future<TSignedRequest> stampGetOauth2Credential({
required TGetOauth2CredentialBody input,
}) async {
final fullUrl = '${config.baseUrl}/public/v1/query/get_oauth2_credential';
final body = jsonEncode(input);
final stamp = await stamper.stamp(body);
return TSignedRequest(
body: body,
stamp: stamp,
url: fullUrl,
);
}