@somnia-chain/markets-sdk


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

Interface: BridgeStepEvent

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

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:61

Which leg. deliver is the destination-side landing.


chainId

chainId: number

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

Chain the step happens on.


status

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

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

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:67

Transaction hash, when the step has one.