@somnia-chain/markets-sdk / chains / SendBridgeStepOptions
Interface: SendBridgeStepOptions
Defined in: packages/sdk/src/chains/bridge/send.ts:30
Options for sendBridgeStep.
Properties
account
account:
object
Defined in: packages/sdk/src/chains/bridge/send.ts:43
The signer. Must be a LOCAL account (viem's privateKeyToAccount, a
derived session account, a mnemonic account…) — raw-transaction sending
needs signTransaction, which injected browser wallets do not expose.
Its balance must cover the full FEE ENVELOPE — gas × maxFeePerGas,
0.6 STT at the defaults — on top of the transaction's value: Somnia's
mempool admits a transaction only when the ceiling is funded, even though
unused gas is never charged (measured live: a 0.05 STT account is
rejected "insufficient balance"). Fund small accounts accordingly, or
lower gas.
gas?
optionalgas?:bigint
Defined in: packages/sdk/src/chains/bridge/send.ts:45
Gas ceiling (default 10,000,000 — the SDK-wide fixed ceiling). Never estimated.
maxFeePerGas?
optionalmaxFeePerGas?:bigint
Defined in: packages/sdk/src/chains/bridge/send.ts:47
Fixed fees (default the SDK-wide DEFAULT_FEES: 60 gwei max, 0 priority).
maxPriorityFeePerGas?
optionalmaxPriorityFeePerGas?:bigint
Defined in: packages/sdk/src/chains/bridge/send.ts:48