Skip to content

@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

amount: ExchangePayCompletedTransactionAmount

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

Hero / display amount (receive leg when swap, otherwise send/final).


destinationAddress?

optional destinationAddress?: string

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

Destination wallet address for the receive leg.


fee?

optional fee?: object

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

Network / provider fee, when present.

amount

amount: string

currency

currency: TokenSymbol


from?

optional from?: 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?

optional merchantFee?: 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?

optional receive?: ExchangePayCompletedTransactionAmount

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

Receive leg details when this was a swap.


send?

optional send?: ExchangePayCompletedTransactionAmount

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

Send leg details when this was a swap.


sessionId?

optional sessionId?: string

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

Session id associated with the completed order.


status?

optional status?: string

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

Human-readable status string, when available.


to?

optional to?: string

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

Destination label for display (e.g. receive token).


transactionHash?

optional transactionHash?: string | null

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

On-chain transaction hash, or null when not yet available.