@somnia-chain/markets-sdk / chains / BridgeTokenDetails
Interface: BridgeTokenDetails
Defined in: packages/sdk/src/chains/bridge/types.ts:72
One token on one network: which router moves it, what the sender actually holds, and where it can go.
Properties
token
token:
BridgeToken
Defined in: packages/sdk/src/chains/bridge/types.ts:74
The token symbol.
chainId
chainId:
number
Defined in: packages/sdk/src/chains/bridge/types.ts:76
Chain id of the network these details describe (also the Hyperlane domain id).
network
network:
string
Defined in: packages/sdk/src/chains/bridge/types.ts:78
Hyperlane registry name of that network, e.g. "somniatestnet".
model
model:
BridgeTokenModel
Defined in: packages/sdk/src/chains/bridge/types.ts:80
How this side holds value — decides approvals and msg.value.
router
router:
`0x${string}`
Defined in: packages/sdk/src/chains/bridge/types.ts:82
The warp router to call transferRemote on.
address
address:
`0x${string}`|null
Defined in: packages/sdk/src/chains/bridge/types.ts:88
The ERC-20 the sender holds on this chain: the canonical token for
collateral, the router itself for synthetic (a HypERC20 is its token),
and null for native — where the balance is the chain's gas coin.
decimals
decimals:
number
Defined in: packages/sdk/src/chains/bridge/types.ts:90
Decimals on this side. Amounts are base units of THIS number.
name
name:
string
Defined in: packages/sdk/src/chains/bridge/types.ts:92
Human name of the token, e.g. "Wrapped Bitcoin".
destinations
destinations:
number[]
Defined in: packages/sdk/src/chains/bridge/types.ts:94
Chain ids this token can be bridged to from here.
requiresDestinationLiquidity
requiresDestinationLiquidity:
boolean
Defined in: packages/sdk/src/chains/bridge/types.ts:100
True when delivery is paid out of the destination router's own balance rather
than by minting — the native model. Such a route can stall if the
destination router is drained, so check its balance before sending.