@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / chains / BridgeTokenModel

Type Alias: BridgeTokenModel

BridgeTokenModel = "native" | "collateral" | "synthetic"

Defined in: packages/sdk/src/chains/bridge/types.ts:64

How a warp route holds value on one side.

  • native — the router escrows the chain's own gas coin and delivery pays out of the destination router's balance. No wrapped token exists. Needs seeded liquidity on each side (see BridgeTokenDetails.requiresDestinationLiquidity).
  • collateral — the token's home chain: the router escrows the canonical ERC-20, which the sender must approve first.
  • synthetic — the router is an ERC-20 it mints and burns 1:1 against the collateral held on the home chain. No approval needed to send back.