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