ShowWallet
This function triggers a modal displaying an overview of the user's wallet
Function to display the user's wallet, which shows an overview of their balance and owned NFTs, and also allows them to top-up their wallet with fiat or an existing web3 wallet.
ShowWallet()
None
None
1
import { useMetafi } from '@metafi/metafi-react-package';
2
3
function displayWallet(userIdentifier) {
4
const { ShowWallet } = useMetafi();
5
6
return (
7
<>
8
<button onClick={()=>ShowWallet()}>Show Wallet</button>
9
</>
10
);
11
};
Last modified 3mo ago