Token Symbol

Utility methods of the SDK for getting token information and configuration

getTokenSymbol()

Gets the current token symbol used by the SDK instance.

getTokenSymbol(): TokenSymbol

Returns: The current token symbol.

Example:

const token = papaya.getTokenSymbol();
console.log(`Using token: ${token}`); // 'USDT'

Last updated