@somnia-chain/markets-sdk / chains / BridgeTransaction
Interface: BridgeTransaction
Defined in: packages/sdk/src/chains/bridge/types.ts:197
One unsigned transaction of a bridge transfer, ready for any signer: spread
into viem's sendTransaction, hand to sendBridgeStep for Somnia's
one-round-trip realtime path, or convert with toEip1193Transaction
for a browser wallet. Its ROLE is the field it hangs off — approveStep or
bridgeStep — so it carries no tag; description is the human label.
Deliberately minimal and chain-tagged: no nonce, no fees, no gas — the
signer's job. (No viem type requires exactly these fields, which is why
this one exists; it is assignable to viem's TransactionRequest.)
Properties
chainId
chainId:
number
Defined in: packages/sdk/src/chains/bridge/types.ts:199
Chain this must be sent on — always the ORIGIN chain.
to
to:
`0x${string}`
Defined in: packages/sdk/src/chains/bridge/types.ts:201
Contract to call.
data
data:
`0x${string}`
Defined in: packages/sdk/src/chains/bridge/types.ts:203
ABI-encoded calldata.
value
value:
bigint
Defined in: packages/sdk/src/chains/bridge/types.ts:205
Native value to attach, in wei. 0n unless the route is native.
description
description:
string
Defined in: packages/sdk/src/chains/bridge/types.ts:207
What this transaction does, for a UI to label a confirmation with.