Skip to content
docs

IntentStatus

Defined in: protocol-swap2-core/dist/types.d.ts:134

A provider’s answer to trackIntent.

optional claim?: object

Defined in: protocol-swap2-core/dist/types.d.ts:145

Two-phase routes (CCTP-style burn-and-mint): the delivery needs a second, user-signed transaction on the destination chain. ready means the provider can build it now (buildClaim); state is then “action-required”. Before that the route is “pending” with ready: false.

chain: string

ready: boolean


optional depositReceived?: boolean

Defined in: protocol-swap2-core/dist/types.d.ts:137

Still pending, but the source deposit has been observed (PROCESSING).


optional destTxHash?: string

Defined in: protocol-swap2-core/dist/types.d.ts:138


state: IntentState

Defined in: protocol-swap2-core/dist/types.d.ts:135