Skip to content
docs

IntentStatus

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

A provider’s answer to trackIntent.

optional claim?: object

Defined in: protocol-swap2-core/src/types.ts:148

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/src/types.ts:140

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


optional destTxHash?: string

Defined in: protocol-swap2-core/src/types.ts:141


state: IntentState

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