Skip to main content

Function: isProposableTradingSymbol()

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / isProposableTradingSymbol

Function: isProposableTradingSymbol()

isProposableTradingSymbol(symbol): boolean

Defined in: packages/gswap-sdk/dist/index.d.ts:4466

True when symbol is acceptable to propose into the trading-symbol registry: ASCII letters and digits only, 1 to 32 characters, and not a reserved word (Token, Unit, none) — the rules the chain gateway enforces on a CreatePool symbol.

Parameters​

symbol​

string

Returns​

boolean