getWalletAuthChallenge method
Implementation
@override
Future<CrossmintCredentialWalletAuthChallenge> getWalletAuthChallenge(
String address,
) async {
final CrossmintJsonMap response = await _service.getWalletAuthChallenge(
address,
);
return CrossmintCredentialWalletAuthChallenge(
nonce: readRequiredString(
response,
const <String>['nonce'],
entityName: 'credential wallet auth challenge',
exceptionFactory: CrossmintCredentialsException.new,
),
raw: response,
);
}