@reservoir0x/relay-sdk
Version:
Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.
8 lines • 672 B
TypeScript
import type { paths } from '../types/index.js';
import type { AxiosInstance } from 'axios';
export type GetConfigQueryParams = Required<Pick<NonNullable<paths['/config']['get']['parameters']['query']>, 'originChainId' | 'destinationChainId'>> & Omit<NonNullable<paths['/config/v2']['get']['parameters']['query']>, 'originChainId' | 'destinationChainId'> & {
referrer?: string;
};
export type GetConfigResponse = paths['/config/v2']['get']['responses']['200']['content']['application/json'];
export declare function getSolverCapacity(data: GetConfigQueryParams, axiosInstance?: AxiosInstance): Promise<GetConfigResponse>;
//# sourceMappingURL=getSolverCapacity.d.ts.map