Hooks
React Hooks for accounts, wallets, contracts, transactions, signing, ENS, and more.
Import
ts
import { useAccount } from 'wagmi'
Available Hooks
- useAccount
- useAccountEffect
- useAddChain
- useBalance
- useBlock
- useBlockNumber
- useBlockTransactionCount
- useBytecode
- useCall
- useChainId
- useChains
- useClient
- useConfig
- useConnect
- useConnections
- useConnectorClient
- useConnectors
- useDeployContract
- useDisconnect
- useEnsAddress
- useEnsAvatar
- useEnsName
- useEnsResolver
- useEnsText
- useEstimateFeesPerGas
- useEstimateGas
- useEstimateMaxPriorityFeePerGas
- useFeeHistory
- useGasPrice
- useInfiniteReadContracts
- usePrepareTransactionRequest
- useProof
- usePublicClient
- useReadContract
- useReadContracts
- useReconnect
- useSendTransaction
- useSignMessage
- useSignTypedData
- useSimulateContract
- useStorageAt
- useSwitchAccount
- useSwitchChain
- useToken
- useTransaction
- useTransactionConfirmations
- useTransactionCount
- useTransactionReceipt
- useVerifyMessage
- useVerifyTypedData
- useWaitForTransactionReceipt
- useWalletClient
- useWatchAsset
- useWatchBlockNumber
- useWatchBlocks
- useWatchContractEvent
- useWatchPendingTransactions
- useWriteContract