Skip to content

Commit 5999360

Browse files
agraebezone117x
authored andcommitted
feat: adding client updates
1 parent 6c13a55 commit 5999360

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

client/src/generated/apis/FeesApi.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class FeesApi extends runtime.BaseAPI {
2424
* Get an estimated fee rate for STX transfer transactions. This a a fee rate / byte, and is returned as a JSON integer
2525
* Get estimated fee
2626
*/
27-
async getFeeTransferRaw(): Promise<runtime.ApiResponse<void>> {
27+
async getFeeTransferRaw(): Promise<runtime.ApiResponse<object>> {
2828
const queryParameters: runtime.HTTPQuery = {};
2929

3030
const headerParameters: runtime.HTTPHeaders = {};
@@ -36,15 +36,16 @@ export class FeesApi extends runtime.BaseAPI {
3636
query: queryParameters,
3737
});
3838

39-
return new runtime.VoidApiResponse(response);
39+
return new runtime.JSONApiResponse<any>(response);
4040
}
4141

4242
/**
4343
* Get an estimated fee rate for STX transfer transactions. This a a fee rate / byte, and is returned as a JSON integer
4444
* Get estimated fee
4545
*/
46-
async getFeeTransfer(): Promise<void> {
47-
await this.getFeeTransferRaw();
46+
async getFeeTransfer(): Promise<object> {
47+
const response = await this.getFeeTransferRaw();
48+
return await response.value();
4849
}
4950

5051
}

0 commit comments

Comments
 (0)