onLinkSuccess
Summary
This callback will be called when the user successfully links a secondary wallet to an existing account. See the multi-wallet docs for more information.
Usage
<DynamicContextProvider
settings={{
eventsCallbacks: {
onLinkSuccess: (args) => {
console.log('onLinkSuccess was called', args);
}
}
}}
>
{/* ... rest of your app ... */}
</DynamicContextProvider>
Callback Argument Value
{
authToken: string;
handleLogOut: () => Promise<void>;
isAuthenticated: boolean;
user: UserProfile;
walletConnector: WalletConnector;
}
For details about UserProfile, see here: https://docs.dynamic.xyz/docs/userprofile
For details about WalletConnector, see here: https://docs.dynamic.xyz/docs/walletconnector
Updated about 2 months ago