Skip to content

@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 ​

amount: ExchangePayCompletedTransactionAmount

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

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


destinationAddress? ​

optional destinationAddress?: string

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

Destination wallet address for the received token.


fee? ​

optional fee?: object

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

Network / provider fee, when present.

amount ​

amount: string

currency ​

currency: TokenSymbol


from? ​

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

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

optional receive?: ExchangePayCompletedTransactionAmount

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

Receive amount when this was a swap.


send? ​

optional send?: ExchangePayCompletedTransactionAmount

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

Send amount when this was a swap.


sessionId? ​

optional sessionId?: string

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

Session id associated with the completed order.


status? ​

optional status?: string

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

Human-readable status string, when available.


to? ​

optional to?: string

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

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


transactionHash? ​

optional transactionHash?: string | null

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

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