11import type { BridgeStatusResponseDTO } from "../models/BridgeStatusResponseDTO" ;
22import type { GasPriceResponseDTO } from "../models/GasPriceResponseDTO" ;
3- import type { HealthResponseDTO } from "../models/HealthResponseDTO" ;
43import type { SingleTxDTO } from "../models/SingleTxDTO" ;
54import type { SingleTxOutputDTO } from "../models/SingleTxOutputDTO" ;
65import type { TokenPriceResponseDTO } from "../models/TokenPriceResponseDTO" ;
@@ -13,27 +12,8 @@ import { BridgeName } from "../models/BridgeDetails";
1312import { ChainId } from "../models/ChainId" ;
1413
1514export class Server {
16- /**
17- * @returns HealthResponseDTO Health Check for Fund Movr API
18- * @throws ApiError
19- */
20- public static getHealth ( ) : CancelablePromise < HealthResponseDTO > {
21- return __request ( OpenAPI , {
22- method : "GET" ,
23- url : "/v2/health" ,
24- } ) ;
25- }
2615
27- /**
28- * @returns any Health Check for Fund Movr API RPCS
29- * @throws ApiError
30- */
31- public static getHealthRpc ( ) : CancelablePromise < any > {
32- return __request ( OpenAPI , {
33- method : "GET" ,
34- url : "/v2/health-rpc" ,
35- } ) ;
36- }
16+
3717
3818 /**
3919 * @returns GasPriceResponseDTO Current gas prices for a chain
@@ -51,6 +31,9 @@ export class Server {
5131 query : {
5232 chainId : chainId ,
5333 } ,
34+ headers : {
35+ "API-KEY" : OpenAPI . API_KEY ,
36+ }
5437 } ) ;
5538 }
5639
@@ -70,6 +53,9 @@ export class Server {
7053 return __request ( OpenAPI , {
7154 method : "GET" ,
7255 url : "/v2/token-price" ,
56+ headers : {
57+ "API-KEY" : OpenAPI . API_KEY ,
58+ } ,
7359 query : {
7460 tokenAddress : tokenAddress ,
7561 chainId : chainId ,
0 commit comments