ThirdwebUtils
The ThirdwebUtils
namespace provides a set of utility functions for class-agnostic use.
IsChecksummedAddress(Address)
: Checks if the provided Ethereum address is checksummed.IsValidAddress(Address)
: Checks if the provided Ethereum address is valid.IsValidPrivateKey(PrivateKey)
: Determines if the provided string is a valid private key.ToChecksummedAddress(Address)
: Converts the provided Ethereum address to a checksummed address.
ToText(Provider)
: Converts an EThirdwebOAuthProvider enum value to its corresponding FText representation.ToString(Provider)
: Converts an EThirdwebOAuthProvider enum value to its string representation.