@somnia-chain/markets-sdk / index / ExchangeBridgeTransferOptions
Interface: ExchangeBridgeTransferOptions
Defined in: packages/sdk/src/unified/bridge.ts:75
Options for ExchangeBridge.transfer.
Properties
onStep?
optionalonStep?: (step) =>void
Defined in: packages/sdk/src/unified/bridge.ts:77
Called on every step transition.
Parameters
step
Returns
void
deliveryTimeoutMs?
optionaldeliveryTimeoutMs?:number
Defined in: packages/sdk/src/unified/bridge.ts:90
How long to wait for delivery on the destination before giving up, counted from when the origin transaction is mined. The default is 180 s, about 20 times the measured median on the Hideki 2 lane.
This bound stops once the destination Mailbox processes the message, and
the read of the delivery receipt after that is given the same bound again.
So a transfer whose message is processed just before the deadline can take
up to twice this value in the worst case: the wait for ProcessId, then a
destination node that never serves the receipt. Both legs are bounded, and
neither falls back to the RPC client's own default.