Callbacks
onLinkSuccess
Summary
This callback will be called when the user successfully links a wallet.
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;
}
Was this page helpful?