Transaction Hooks
Hooks for sending and managing Solana transactions
Transaction hooks are coming soon to @gillsdk/react
. This page documents the planned API.
These hooks will provide an easy way to send, confirm, and manage Solana transactions with automatic error handling and retry logic.
Planned Hooks
useSendTransaction
Send and confirm transactions with automatic retry and confirmation handling.
useSimulateTransaction
Simulate transactions before sending to check for errors.
useTransactionStatus
Monitor transaction confirmation status in real-time.
Current Approach
Until transaction hooks are available, you can use the Solana client directly:
With Wallet Adapter
If you're using a wallet adapter, combine it with @gillsdk/react
:
Contributing
Transaction hooks are actively being developed. If you have suggestions or want to contribute,
please check out the
@gillsdk/react
repository on GitHub.