useSDK
Hook to get the instance of the ThirdwebSDK
class being used by the ThirdwebProvider
component.
This gives access to all of the functionality of the TypeScript SDK in your React app.
If there is a connected wallet, the SDK is instantiated from the connected wallet’s signer. Meaning all transactions are initiated from the connected wallet.
If there is no connected wallet, the SDK is in read-only mode on the activeChain.