@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / BridgeStepEvent

Interface: BridgeStepEvent

Defined in: packages/sdk/src/unified/bridge.ts:42

One step of a bridge transfer as it happens, for a status UI.

Properties

kind

kind: "approve" | "bridge" | "deliver"

Defined in: packages/sdk/src/unified/bridge.ts:44

Which leg. deliver is the destination-side landing.


chainId

chainId: number

Defined in: packages/sdk/src/unified/bridge.ts:46

Chain the step happens on.


status

status: "timeout" | "sent" | "confirmed" | "delivered"

Defined in: packages/sdk/src/unified/bridge.ts:48

sent when the origin transaction was submitted, confirmed when it mined, delivered when the destination router paid out, timeout when delivery was not observed in time.


hash?

optional hash?: `0x${string}`

Defined in: packages/sdk/src/unified/bridge.ts:50

Transaction hash, when the step has one.