⚠️ Deprecation Notice
ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.
getAutoSavingTokens
Get all tokens that are being auto-saved.
Usage
const tokens = await getAutoSavingTokens({
client,
account,
})Parameters
client
- Type:
PublicClient
The rpc client to use for the chain you want to query.
account
- Type:
Account
The account to get the auto-save tokens for.
Returns
tokens
The addresses of the tokens that are being auto-saved.