Appearance
@swapped/connect-sdk / core / ExchangePayOrderStatus
Type Alias: ExchangePayOrderStatus
ExchangePayOrderStatus =
object
Defined in: src/types/exchange-pay.types.ts:183
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:188
createdAt
createdAt:
string
Defined in: src/types/exchange-pay.types.ts:207
currency
currency:
TokenSymbol
Defined in: src/types/exchange-pay.types.ts:189
externalId
externalId:
string
Defined in: src/types/exchange-pay.types.ts:206
fiatAmount
fiatAmount:
string
Defined in: src/types/exchange-pay.types.ts:192
fiatCurrency
fiatCurrency:
string
Defined in: src/types/exchange-pay.types.ts:193
finalAmount
finalAmount:
string|null
Defined in: src/types/exchange-pay.types.ts:197
finalCurrency
finalCurrency:
TokenSymbol|null
Defined in: src/types/exchange-pay.types.ts:198
finalNetwork
finalNetwork:
Network|null
Defined in: src/types/exchange-pay.types.ts:199
finalReceiverAddress
finalReceiverAddress:
string
Defined in: src/types/exchange-pay.types.ts:204
finalTokenAddress
finalTokenAddress:
string|null
Defined in: src/types/exchange-pay.types.ts:200
from
from:
string|null
Defined in: src/types/exchange-pay.types.ts:202
Sender address, when the provider reports one.
id
id:
string
Defined in: src/types/exchange-pay.types.ts:184
merchantFee
merchantFee:
string|null
Defined in: src/types/exchange-pay.types.ts:196
network
network:
Network
Defined in: src/types/exchange-pay.types.ts:190
provider
provider:
ExchangePayProvider|null
Defined in: src/types/exchange-pay.types.ts:187
null when the provider reports an unrecognized provider slug.
sessionId
sessionId:
string
Defined in: src/types/exchange-pay.types.ts:205
status
status:
ExchangePayOrderStatusValue
Defined in: src/types/exchange-pay.types.ts:185
to
to:
string
Defined in: src/types/exchange-pay.types.ts:203
tokenAddress
tokenAddress:
string|null
Defined in: src/types/exchange-pay.types.ts:191
transactionFee
transactionFee:
string
Defined in: src/types/exchange-pay.types.ts:195
transactionHash
transactionHash:
string|null
Defined in: src/types/exchange-pay.types.ts:194
updatedAt
updatedAt:
string
Defined in: src/types/exchange-pay.types.ts:208