Appearance
@swapped/connect-sdk / core / ExchangePayCompletedTransactionSummary
Type Alias: ExchangePayCompletedTransactionSummary
ExchangePayCompletedTransactionSummary =
object
Defined in: src/types/exchange-pay.types.ts:163
Display-ready summary of a completed Exchange Pay order.
Properties
amount
Defined in: src/types/exchange-pay.types.ts:167
Hero / display amount (receive leg when swap, otherwise send/final).
destinationAddress?
optionaldestinationAddress?:string
Defined in: src/types/exchange-pay.types.ts:179
Destination wallet address for the receive leg.
fee?
optionalfee?:object
Defined in: src/types/exchange-pay.types.ts:169
Network / provider fee, when present.
amount
amount:
string
currency
currency:
TokenSymbol
from?
optionalfrom?:string
Defined in: src/types/exchange-pay.types.ts:191
Source label for display (e.g. provider name).
isSwap
isSwap:
boolean
Defined in: src/types/exchange-pay.types.ts:183
Whether the order involved a swap (send and receive differ).
merchantFee?
optionalmerchantFee?:object
Defined in: src/types/exchange-pay.types.ts:174
Merchant fee, when present.
amount
amount:
string
currency
currency:
TokenSymbol
provider
provider:
ExchangePayProvider
Defined in: src/types/exchange-pay.types.ts:165
Exchange provider that fulfilled the order.
receive?
optionalreceive?:ExchangePayCompletedTransactionAmount
Defined in: src/types/exchange-pay.types.ts:187
Receive leg details when this was a swap.
send?
optionalsend?:ExchangePayCompletedTransactionAmount
Defined in: src/types/exchange-pay.types.ts:185
Send leg details when this was a swap.
sessionId?
optionalsessionId?:string
Defined in: src/types/exchange-pay.types.ts:189
Session id associated with the completed order.
status?
optionalstatus?:string
Defined in: src/types/exchange-pay.types.ts:195
Human-readable status string, when available.
to?
optionalto?:string
Defined in: src/types/exchange-pay.types.ts:193
Destination label for display (e.g. receive token).
transactionHash?
optionaltransactionHash?:string|null
Defined in: src/types/exchange-pay.types.ts:181
On-chain transaction hash, or null when not yet available.