Skip to content
docs

SymbiosisStatusDetail

Defined in: protocol-swap2-symbiosis/src/provider.ts:139

What a status answer says beyond the engine’s state: where the funds went.

optional claim?: object

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

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

IntentStatus.claim


code: number | null

Defined in: protocol-swap2-symbiosis/src/provider.ts:141

Symbiosis’ own code: -1 not found, 1 pending, 0 success, 2 stuck, 3 reverted.


optional depositReceived?: boolean

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

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

IntentStatus.depositReceived


optional destTxHash?: string

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

IntentStatus.destTxHash


optional payout?: object

Defined in: protocol-swap2-symbiosis/src/provider.ts:143

The transaction that paid the user (delivery or revert): chain id as Symbiosis numbers it, hash, token.

optional amount?: string

chainId: number

hash: string

optional symbol?: string

optional token?: string


state: IntentState

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

IntentStatus.state