useSolanaConnection
This hook is used for establishing a connection to Solana and returns the connection object and the signer object.
Import
Usage
Parameters
opts
SolanaConnectionHookParams
Options for the hook to get setup
Returns
SolanaConnection
The transaction hook.