SwapRecord
Defined in: swaps.ts:19
Properties
Section titled “Properties”amountIn
Section titled “amountIn”amountIn:
string
Defined in: swaps.ts:28
Base units.
checks
Section titled “checks”checks:
number
Defined in: swaps.ts:41
claim?
Section titled “claim?”
optionalclaim?:object
Defined in: swaps.ts:36
Two-phase routes: where and whether the claim can be built now.
chain:
string
ready:
boolean
createdAt
Section titled “createdAt”createdAt:
number
Defined in: swaps.ts:37
depositReceived?
Section titled “depositReceived?”
optionaldepositReceived?:boolean
Defined in: swaps.ts:34
destAmount
Section titled “destAmount”destAmount:
string
Defined in: swaps.ts:29
destTxHash
Section titled “destTxHash”destTxHash:
string|null
Defined in: swaps.ts:32
fromChain
Section titled “fromChain”fromChain:
string
Defined in: swaps.ts:23
fromToken
Section titled “fromToken”fromToken:
string
Defined in: swaps.ts:25
id:
string
Defined in: swaps.ts:21
swap2 id — awk1.<provider>.<intentId>[.<sourceTxHash>[.<claimTxHash>]].
lastError?
Section titled “lastError?”
optionallastError?:string
Defined in: swaps.ts:40
Last tracker problem (RPC/API), kept until the next successful check.
provider
Section titled “provider”provider:
string
Defined in: swaps.ts:22
recipient
Section titled “recipient”recipient:
string
Defined in: swaps.ts:30
sourceTxHash
Section titled “sourceTxHash”sourceTxHash:
string|null
Defined in: swaps.ts:31
status
Section titled “status”status:
SwapRecordStatus
Defined in: swaps.ts:33
toChain
Section titled “toChain”toChain:
string
Defined in: swaps.ts:24
toToken
Section titled “toToken”toToken:
string
Defined in: swaps.ts:26
updatedAt
Section titled “updatedAt”updatedAt:
number
Defined in: swaps.ts:38