Hook to get a wallet client instance of the approved signer of the connected Abstract Global Wallet.
Use the useGlobalWalletSignerClient
hook to get a wallet client
instance that can perform actions from the underlying EOA
approved to sign transactions for the Abstract Global Wallet smart contract.
This hook is different from useAbstractClient, which performs actions (e.g. sending a transaction) from the Abstract Global Wallet smart contract itself, not the EOA approved to sign transactions for it.
It uses wagmi’s useWalletClient hook under the hood, returning
a wallet client instance with the account
set as the approved EOA of the Abstract Global Wallet.
Returns a UseQueryResult<UseWalletClientReturnType, Error>
.
See wagmi’s useWalletClient for more information.