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();

Release Notes

Tecton
0.1.45

Platform Support

UUX
Config