Skip to content

@swapped/connect-sdk / core / ExchangePayOrderBreakdownFiat

Type Alias: ExchangePayOrderBreakdownFiat ​

ExchangePayOrderBreakdownFiat = object

Defined in: src/types/exchange-pay.types.ts:158

Properties ​

amountFiat ​

amountFiat: number

Defined in: src/types/exchange-pay.types.ts:160

Net fiat amount from the order (fiatAmount).


merchantFeeFiat ​

merchantFeeFiat: number

Defined in: src/types/exchange-pay.types.ts:164

Merchant / Swapped fee converted to fiat (0 when absent).


providerFeeFiat ​

providerFeeFiat: number

Defined in: src/types/exchange-pay.types.ts:162

Provider fee converted to fiat.


receiveCrypto ​

receiveCrypto: number

Defined in: src/types/exchange-pay.types.ts:168

Crypto the merchant receives (toAmount on swap, else net of fees).


receiveToken ​

receiveToken: TokenSymbol

Defined in: src/types/exchange-pay.types.ts:170

Token for receiveCrypto.


totalFiat ​

totalFiat: number

Defined in: src/types/exchange-pay.types.ts:166

amountFiat + providerFeeFiat + merchantFeeFiat.