File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
client/src/generated/apis Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class FeesApi extends runtime.BaseAPI {
24
24
* Get an estimated fee rate for STX transfer transactions. This a a fee rate / byte, and is returned as a JSON integer
25
25
* Get estimated fee
26
26
*/
27
- async getFeeTransferRaw ( ) : Promise < runtime . ApiResponse < void > > {
27
+ async getFeeTransferRaw ( ) : Promise < runtime . ApiResponse < object > > {
28
28
const queryParameters : runtime . HTTPQuery = { } ;
29
29
30
30
const headerParameters : runtime . HTTPHeaders = { } ;
@@ -36,15 +36,16 @@ export class FeesApi extends runtime.BaseAPI {
36
36
query : queryParameters ,
37
37
} ) ;
38
38
39
- return new runtime . VoidApiResponse ( response ) ;
39
+ return new runtime . JSONApiResponse < any > ( response ) ;
40
40
}
41
41
42
42
/**
43
43
* Get an estimated fee rate for STX transfer transactions. This a a fee rate / byte, and is returned as a JSON integer
44
44
* Get estimated fee
45
45
*/
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 ( ) ;
48
49
}
49
50
50
51
}
You can’t perform that action at this time.
0 commit comments