ThirdwebContract.Read

Use ThirdwebContract.Read to fetch data from a smart contract without making any state changes to the blockchain. This method is primarily used for "view" and "pure" functions within the smart contract.

Usage

var result = await ThirdwebContract.Read<T>(contract, "methodName", parameters);