useSolanaTransaction
This is the hook that will be used to send a transaction. It will prioritize external connected Solana wallets, falling back to the internal signer when not connected. Supports sponsorship for both external wallets and internal signers.
Import
Usage
Parameters
opts
SolanaTransactionHookParams
Options for the hook to get setup, The transaction is required.
Returns
SolanaTransaction
The transaction hook.