Beta
the contract instance of the contract to call a function on
the name of the function to call
Optional
args: TArgsThe arguments to pass to the function (if any), with optional call arguments as the last parameter
Optional
overrides: CallOverridesa response object that includes the data returned by the function call
const { contract } = useContract("{{contract_address}}");
const { data, isLoading, error } = useContractRead(contract, "functionName", ...args);
Generated using TypeDoc
Get data from a contract read-function call