@somnia-chain/markets-sdk


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

Variable: BridgeToken

const BridgeToken: object

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

The tokens with a live warp route, by symbol.

BridgeToken.WBTC is the value; BridgeToken is also the type of every such value. Adding a token is a registry change, not a code change.

Example (Naming a bridge token)

ts
import { BridgeToken } from "@somnia-chain/markets-sdk/chains";

const symbol: BridgeToken = BridgeToken.WBTC;  // "WBTC"

Type Declaration

STT

readonly STT: "STT" = "STT"

Native gas coin of every Somnia network. Native on BOTH sides of its route.

USDso

readonly USDso: "USDso" = "USDso"

Somnia USD test stable, 18 decimals.

WBTC

readonly WBTC: "WBTC" = "WBTC"

Wrapped Bitcoin — 8 decimals, on the canonical token AND the synthetic.

WETH

readonly WETH: "WETH" = "WETH"

Wrapped ETH, 18 decimals.

HBTT

readonly HBTT: "HBTT" = "HBTT"

Hyperlane Bridge Test Token — a throwaway used to verify the lane.