Skip to content

@swapped/connect-sdk / core / ExchangePayOrderStatus

Type Alias: ExchangePayOrderStatus

ExchangePayOrderStatus = object

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

State of an Exchange Pay order, as returned by getOrder and carried on the exchangePay:orderUpdated / exchangePay:orderCompleted events.

Properties

amount

amount: string

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


createdAt

createdAt: string

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


currency

currency: TokenSymbol

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


externalId

externalId: string

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


fiatAmount

fiatAmount: string

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


fiatCurrency

fiatCurrency: string

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


finalAmount

finalAmount: string | null

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


finalCurrency

finalCurrency: TokenSymbol | null

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


finalNetwork

finalNetwork: Network | null

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


finalReceiverAddress

finalReceiverAddress: string

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


finalTokenAddress

finalTokenAddress: string | null

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


from

from: string | null

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

Sender address, when the provider reports one.


id

id: string

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


merchantFee

merchantFee: string | null

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


network

network: Network

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


provider

provider: ExchangePayProvider | null

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

null when the provider reports an unrecognized provider slug.


sessionId

sessionId: string

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


status

status: ExchangePayOrderStatusValue

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


to

to: string

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


tokenAddress

tokenAddress: string | null

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


transactionFee

transactionFee: string

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


transactionHash

transactionHash: string | null

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


updatedAt

updatedAt: string

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