UNPKG

@shogun-sdk/money-legos

Version:

Shogun Money Legos: clients and types for quotes, memes, prices, balances, fees, validations, etc.

15 lines 569 B
import { QuoteParams, QuoteTypes } from '@shogun-sdk/money-legos'; export declare class OneShotClient { private readonly apiKey; private readonly apiUrl; constructor(apiKey: string, apiUrl: string); /** * Fetches a quote from the Shogun API * @param params Quote parameters * @param signal AbortSignal for cancelling the request * @returns Promise<QuoteTypes> */ fetchQuote(params: QuoteParams, signal?: AbortSignal): Promise<QuoteTypes>; private tryToHandleQuoteManually; } //# sourceMappingURL=one-shot-client.d.ts.map