> For the complete documentation index, see [llms.txt](https://lunes-labs.gitbook.io/dao-lunes-labs-pt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lunes-labs.gitbook.io/dao-lunes-labs-pt/developers/para-desenvolvedores/smart-contract-ink-4.x/frontend-development/hooks/all-hooks.md).

# All Hooks

## All `useink` Hooks 🪝

1. Like what you see? Please [give it a star ⭐](https://github.com/paritytech/useink)
2. Don't see a feature you need? [Create a feature request](https://github.com/paritytech/useink/issues).
3. Have a question? Join the [useink Element chat](https://matrix.to/#/%23useink:parity.io).

### Contracts[​](https://use.ink/frontend/hooks#contracts) <a href="#contracts" id="contracts"></a>

* [useCall](https://use.ink/frontend/react/hooks/contracts/use-call) - call a contract and get the decoded result or an error.
* [useCallSubscription](https://use.ink/frontend/react/hooks/contracts/use-call-subscription) - call a contract and get the decoded result or an error on each new block.
* [useContract](https://use.ink/frontend/react/hooks/contracts/use-contract) - create a contract client instance containing metadata and the contract's address.
* [useDryRun](https://use.ink/frontend/react/hooks/contracts/use-dry-run) - send a dry run of a transaction to check if it will succeed and to determine gas costs.
* [useEvents](https://use.ink/frontend/react/hooks/contracts/use-events) - fetch the events for a contract from state. Optionally filter by event name.
* [useEventSubscription](https://use.ink/frontend/react/hooks/contracts/use-event-subscription) - subscribe to a contract's emitted events.
* [useTx](https://use.ink/frontend/react/hooks/contracts/use-tx) - sign and send a contract transaction and get the decoded result or an error.
* [useTxPaymentInfo](https://use.ink/frontend/react/hooks/contracts/use-tx-payment-info) - send a dry run of a transaction and get the total payment information required.

### Wallets[​](https://use.ink/frontend/hooks#wallets) <a href="#wallets" id="wallets"></a>

* [useAllWallets](https://use.ink/frontend/react/hooks/wallets/use-all-wallets) - get a list of all supported wallets including Talisman, PolkadotJs, and more.
* [useInstalledWallets](https://use.ink/frontend/react/hooks/wallets/use-installed-wallets) - get a list of all supported wallets that are installed in a user's browser extensions.
* [useUnInstalledWallets](https://use.ink/frontend/react/hooks/wallets/use-uninstalled-wallets) - get a list of all supported wallets that are **NOT** installed in a user's browser extensions.
* [useWallet](https://use.ink/frontend/react/hooks/wallets/use-wallet) - connect to a wallet browser extension, and get account information.

### Substrate Runtime[​](https://use.ink/frontend/hooks#substrate-runtime) <a href="#substrate-runtime" id="substrate-runtime"></a>

* [useApi](https://use.ink/frontend/react/hooks/substrate/use-api) - get the api client instance configured for a specific chain. This contains RPC information, and is used in many other hooks.
* [useBalance](https://use.ink/frontend/react/hooks/substrate/use-balance) - get an account's balance for a given chain.
* [useBlockHeader](https://use.ink/frontend/react/hooks/substrate/use-block-header) - get block header information for a chain on each new block.
