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).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
contractAddress? |
string |
Returns
Section titled “Returns”Record<"USDM" | "NIGHT", TokenInfo>