Skip to content

swapTokens

swapTokens(contractAddress?): Record<"USDM" | "NIGHT", TokenInfo>

The swap pair on the devnet: USDM is a shielded token minted like the test tokens (on mainnet it is the USDM contract's type, from SI_TOKENS); NIGHT is the native unshielded token. Both have 6 decimals (1 NIGHT = 10^6 STAR).

Parameter Type
contractAddress? string

Record<"USDM" | "NIGHT", TokenInfo>