Skip to content
docs

SwapRecord

Defined in: swaps.ts:19

amountIn: string

Defined in: swaps.ts:28

Base units.


checks: number

Defined in: swaps.ts:41


optional claim?: object

Defined in: swaps.ts:36

Two-phase routes: where and whether the claim can be built now.

chain: string

ready: boolean


createdAt: number

Defined in: swaps.ts:37


optional depositReceived?: boolean

Defined in: swaps.ts:34


destAmount: string

Defined in: swaps.ts:29


destTxHash: string | null

Defined in: swaps.ts:32


fromChain: string

Defined in: swaps.ts:23


fromToken: string

Defined in: swaps.ts:25


id: string

Defined in: swaps.ts:21

swap2 id — awk1.<provider>.<intentId>[.<sourceTxHash>[.<claimTxHash>]].


optional lastError?: string

Defined in: swaps.ts:40

Last tracker problem (RPC/API), kept until the next successful check.


provider: string

Defined in: swaps.ts:22


recipient: string

Defined in: swaps.ts:30


sourceTxHash: string | null

Defined in: swaps.ts:31


status: SwapRecordStatus

Defined in: swaps.ts:33


toChain: string

Defined in: swaps.ts:24


toToken: string

Defined in: swaps.ts:26


updatedAt: number

Defined in: swaps.ts:38