diff --git a/src/services/EmissionEstimatesService.ts b/src/services/EmissionEstimatesService.ts index 40065033..a6eace54 100644 --- a/src/services/EmissionEstimatesService.ts +++ b/src/services/EmissionEstimatesService.ts @@ -1020,6 +1020,36 @@ export abstract class EmissionEstimatesService { }) } + /** + * Get a smart-scan emission estimate + * @param id The estimate's unique identifier + * @param options Additional operation options + * @returns SmartScanEmissionEstimate OK + */ + public getSmartScanEstimate( + id: string, + options?: { + /** + * Account Id to be used to perform the API call + */ + accountId?: string + }, + ): Promise, ApiError>> { + return __request(this.client, this.config, options || {}, { + method: 'GET', + url: '/estimates/smart-scan/{id}', + path: { + id: id, + }, + errors: { + 401: `The API Key is missing or is invalid`, + 404: `The specified resource was not found`, + 429: `Too many requests have been made in a short period of time`, + 503: `The service is temporarily unavailable. You may retry.`, + }, + }) + } + /** * Create a transaction emission estimate (single) * @param data Request data