@xoxno/sdk-js
    Preparing search index...

    Variable mapQuoteResponseToAggregatorSwapConst

    mapQuoteResponseToAggregatorSwap: (
        quote: StellarAggregatorQuoteResponseDto,
        opts?: { referralId?: string | number },
    ) => StellarStrategyPayloadInput = mapQuoteResponseToStrategyPayload

    Type Declaration

      • (
            quote: StellarAggregatorQuoteResponseDto,
            opts?: { referralId?: string | number },
        ): StellarStrategyPayloadInput
      • Translate a quote-server response into the decoded StrategyPayload shape. Prefer mapQuoteResponseToStrategySwap when the quote includes routeXdr.

        Parameters

        • quote: StellarAggregatorQuoteResponseDto
        • opts: { referralId?: string | number } = {}

        Returns StellarStrategyPayloadInput

    Use mapQuoteResponseToStrategyPayload.