Appearance
@swapped/connect-sdk / core / ExchangePayCompletedTransactionSummary
Type Alias: ExchangePayCompletedTransactionSummary
ExchangePayCompletedTransactionSummary =
object
Defined in: src/types/exchange-pay.types.ts:233
Display-ready summary of a completed Exchange Pay order.
Properties
amount
Defined in: src/types/exchange-pay.types.ts:237
Hero / display amount (receive when swap, otherwise send/final).
destinationAddress?
optionaldestinationAddress?:string
Defined in: src/types/exchange-pay.types.ts:249
Destination wallet address for the received token.
fee?
optionalfee?:object
Defined in: src/types/exchange-pay.types.ts:239
Network / provider fee, when present.
amount
amount:
string
currency
currency:
TokenSymbol
from?
optionalfrom?:string
Defined in: src/types/exchange-pay.types.ts:261
Source label for display (e.g. provider name).
isSwap
isSwap:
boolean
Defined in: src/types/exchange-pay.types.ts:253
Whether the order involved a swap (send and receive differ).
merchantFee?
optionalmerchantFee?:object
Defined in: src/types/exchange-pay.types.ts:244
Merchant fee, when present.
amount
amount:
string
currency
currency:
TokenSymbol
provider
provider:
ExchangePayProvider
Defined in: src/types/exchange-pay.types.ts:235
Exchange provider that fulfilled the order.
receive?
optionalreceive?:ExchangePayCompletedTransactionAmount
Defined in: src/types/exchange-pay.types.ts:257
Receive amount when this was a swap.
send?
optionalsend?:ExchangePayCompletedTransactionAmount
Defined in: src/types/exchange-pay.types.ts:255
Send amount when this was a swap.
sessionId?
optionalsessionId?:string
Defined in: src/types/exchange-pay.types.ts:259
Session id associated with the completed order.
status?
optionalstatus?:string
Defined in: src/types/exchange-pay.types.ts:265
Human-readable status string, when available.
to?
optionalto?:string
Defined in: src/types/exchange-pay.types.ts:263
Destination label for display (e.g. receive token).
transactionHash?
optionaltransactionHash?:string|null
Defined in: src/types/exchange-pay.types.ts:251
On-chain transaction hash, or null when not yet available.