Skip to content

Commit

Permalink
Client auto update (#736)
Browse files Browse the repository at this point in the history
Co-authored-by: rbruggem <[email protected]>
  • Loading branch information
rbruggem and rbruggem authored Nov 12, 2024
1 parent 300873c commit d465dde
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/services/EmissionEstimatesService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Result<SuccessResponse<SmartScanEmissionEstimate>, 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
Expand Down

0 comments on commit d465dde

Please sign in to comment.