revealWalletKey
method from the useEmbeddedWallet
hook, which has the following signature:
type
: The type of key you want to reveal. It can be either recoveryPhrase
or privateKey
.htmlContainerId
: The id of the HTML element where the key will be displayed. You must have a div present in your component with this id.