notifyRefetchAccounts

Updated:

Notifies other modules to pull a fresh account list.

Description

Notifies the platform that account data should be refetched. Use this after making changes that affect account information to ensure other features display up-to-date data. If you mutate accounts, you should call notifyRefetchAccounts, which will bust the cache and then notify subscribers (through refetchRequired) to refetch accounts.

Signature

tecton.actions.notifyRefetchAccounts(): void;

Usage

After submitting a transfer, notify to refetch accounts.

await submitTransfer(transferData);
tecton.actions.notifyRefetchAccounts();

Platform Support

UUX
Config

Changelog

The changelog provides a detailed history of new features, improvements, and bug fixes going back to Tecton 1.30.0. If the button is disabled, it indicates there have been no detectable changes since then.

Show changelog (0)