` containing the transaction hash of the submitted transaction batch.
Was this page helpful?
YesNo
[Suggest edits](https://github.com/abstract-foundation/abstract-docs/edit/main/abstract-global-wallet/agw-client/actions/sendTransactionBatch.mdx)
[Raise issue](https://github.com/abstract-foundation/abstract-docs/issues/new?title=Issue on docs&body=Path: /abstract-global-wallet/agw-client/actions/sendTransactionBatch)
[sendTransaction](/abstract-global-wallet/agw-client/actions/sendTransaction)
[writeContract](/abstract-global-wallet/agw-client/actions/writeContract)
On this page
* [Usage](#usage)
* [Parameters](#parameters)
* [Returns](#returns)
---
# useGlobalWalletSignerAccount - Abstract
[Abstract home page](/)
Search...
Search...
Navigation
Abstract Client
useGlobalWalletSignerAccount
[Documentation](/overview)
[Abstract Global Wallet](/abstract-global-wallet/overview)
[Ecosystem](/ecosystem/bridges)
[Portal](/portal/overview)
Use the `useGlobalWalletSignerAccount` hook to retrieve the [account](https://viem.sh/docs/ethers-migration#signers--accounts)
approved to sign transactions for the connected Abstract Global Wallet. This is helpful if you need to access the underlying [EOA](https://ethereum.org/en/developers/docs/accounts/#types-of-account)
approved to sign transactions for the Abstract Global Wallet smart contract.
It uses the [useAccount](https://wagmi.sh/react/api/hooks/useAccount)
hook from [wagmi](https://wagmi.sh/)
under the hood.
[](#import)
Import
----------------------
import { useGlobalWalletSignerAccount } from "@abstract-foundation/agw-react";
[](#usage)
Usage
--------------------
import { useGlobalWalletSignerAccount } from "@abstract-foundation/agw-react";
export default function App() {
const { address, status } = useGlobalWalletSignerAccount();
if (status === "disconnected") return Disconnected
;
if (status === "connecting" || status === "reconnecting") {
return Connecting...
;
}
return (
Connected to EOA: {address}
Status: {status}
);
}
[](#returns)
Returns
------------------------
Returns a `UseAccountReturnType`.
Show properties
[](#param-address)
address
Hex | undefined
The specific address of the approved signer account (selected using `useAccount`’s `addresses[1]`).
[](#param-addresses)
addresses
readonly Hex\[\] | undefined
An array of all addresses connected to the application.
[](#param-chain)
chain
Chain
Information about the currently connected blockchain network.
[](#param-chain-id)
chainId
number
The ID of the current blockchain network.
[](#param-connector)
connector
Connector
The connector instance used to manage the connection.
[](#param-is-connected)
isConnected
boolean
Indicates if the account is currently connected.
[](#param-is-reconnecting)
isReconnecting
boolean
Indicates if the account is attempting to reconnect.
[](#param-is-connecting)
isConnecting
boolean
Indicates if the account is in the process of connecting.
[](#param-is-disconnected)
isDisconnected
boolean
Indicates if the account is disconnected.
[](#param-status)
status
'connected' | 'connecting' | 'reconnecting' | 'disconnected'
A string representing the connection status of the account to the application.
* `'connecting'` attempting to establish connection.
* `'reconnecting'` attempting to re-establish connection to one or more connectors.
* `'connected'` at least one connector is connected.
* `'disconnected'` no connection to any connector.
Was this page helpful?
YesNo
[Suggest edits](https://github.com/abstract-foundation/abstract-docs/edit/main/abstract-global-wallet/agw-react/hooks/useGlobalWalletSignerAccount.mdx)
[Raise issue](https://github.com/abstract-foundation/abstract-docs/issues/new?title=Issue on docs&body=Path: /abstract-global-wallet/agw-react/hooks/useGlobalWalletSignerAccount)
[useAbstractClient](/abstract-global-wallet/agw-react/hooks/useAbstractClient)
[useGlobalWalletSignerClient](/abstract-global-wallet/agw-react/hooks/useGlobalWalletSignerClient)
On this page
* [Import](#import)
* [Usage](#usage)
* [Returns](#returns)
---