Appearance
@swapped/connect-sdk / core / toExchangePayFormattedOrder
Function: toExchangePayFormattedOrder()
toExchangePayFormattedOrder(
order,quote?):ExchangePayFormattedOrder
Defined in: src/modules/exchange-pay/exchange-pay.utils.ts:255
Display-ready Exchange Pay order (all order fields + formatted amounts). Pass exchangeRateFiat (price of ExchangePayOrder.currency in ExchangePayOrder.fiatCurrency) to fill each fiatValue.
Parameters
order
quote?
number | ExchangePayFormattedOrderQuote | null