useAdminWallet

Get the admin wallet for the active wallet Useful for smart wallets to get the underlying personal account

function useAdminWallet(): undefined | Wallet;

Returns

let returnType: undefined | Wallet;

The admin wallet for the active wallet, or the active wallet if it doesn't have an admin account