Home > @3rdweb/sdk > ThirdwebSDK > setProviderOrSigner
Signature:
setProviderOrSigner(providerOrSignerOrNetwork: ValidProviderInput): ProviderOrSigner;
Parameter | Type | Description |
---|---|---|
providerOrSignerOrNetwork | ValidProviderInput | A valid “ethers” Provider, Signer or a Network address to create a Provider with. |
Returns:
The Provider / Signer that was passed in, or a default ethers provider constructed with the passed Network.