Skip to content
docs

parseSwapId

parseSwapId(id): { destTxHash?: string; intentId: string; provider: string; sourceTxHash?: string; } | null

Defined in: swaps.ts:47

awk1.<provider>.<intentId>[.<sourceTxHash>[.<claimTxHash>]] — the 4th segment is on the id claimSwap2 returns.

string

{ destTxHash?: string; intentId: string; provider: string; sourceTxHash?: string; } | null