import 'package:moonsdk/api.dart';
All URIs are relative to https://beta.usemoon.ai
Method | HTTP request | Description |
---|---|---|
resolve | POST /ens/resolve |
EnsResolveAPIResponse resolve(authorization, ensResolveInput)
import 'package:moonsdk/api.dart';
// TODO Configure API key authorization: ApiKeyAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('ApiKeyAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('ApiKeyAuth').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: BearerAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('BearerAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('BearerAuth').apiKeyPrefix = 'Bearer';
final api = Moonsdk().getENSApi();
final String authorization = authorization_example; // String |
final EnsResolveInput ensResolveInput = ; // EnsResolveInput |
try {
final response = api.resolve(authorization, ensResolveInput);
print(response);
} catch on DioException (e) {
print('Exception when calling ENSApi->resolve: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
authorization | String | ||
ensResolveInput | EnsResolveInput |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]