getSupportedTokens Method
This method is used to get all whitelisted tokens on your API Key.
Parameters
None
getSupportedTokens() => Promise<WalletData>;
Example
import { useOkto, type OktoContextType} from 'okto-sdk-react';
const { getSupportedTokens } = useOkto() as OktoContextType;
getSupportedTokens()
.then((result) => {
console.log(result)
})
.catch((error) => {
console.error(`error:`, error);
});