ShowWallet

This function triggers a modal displaying an overview of the user's wallet

Description

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.

Details

Signature

ShowWallet()

Arguments

None

Return Value

None

Example

import { useMetafi } from '@metafi/metafi-react-package';

function displayWallet(userIdentifier) {
    const { ShowWallet } = useMetafi();
    
    return (
        <>
           <button onClick={()=>ShowWallet()}>Show Wallet</button>
        </>
    );
};

Last updated