All Hooks
All useink
Hooks 🪝
useink
Hooks 🪝Like what you see? Please give it a star ⭐
Don't see a feature you need? Create a feature request.
Have a question? Join the useink Element chat.
Contracts
useCall - call a contract and get the decoded result or an error.
useCallSubscription - call a contract and get the decoded result or an error on each new block.
useContract - create a contract client instance containing metadata and the contract's address.
useDryRun - send a dry run of a transaction to check if it will succeed and to determine gas costs.
useEvents - fetch the events for a contract from state. Optionally filter by event name.
useEventSubscription - subscribe to a contract's emitted events.
useTx - sign and send a contract transaction and get the decoded result or an error.
useTxPaymentInfo - send a dry run of a transaction and get the total payment information required.
Wallets
useAllWallets - get a list of all supported wallets including Talisman, PolkadotJs, and more.
useInstalledWallets - get a list of all supported wallets that are installed in a user's browser extensions.
useUnInstalledWallets - get a list of all supported wallets that are NOT installed in a user's browser extensions.
useWallet - connect to a wallet browser extension, and get account information.
Substrate Runtime
useApi - get the api client instance configured for a specific chain. This contains RPC information, and is used in many other hooks.
useBalance - get an account's balance for a given chain.
useBlockHeader - get block header information for a chain on each new block.
Last updated