useContractQuery
Making a query to a registered contract. This hook manages the state of a contract query, including loading state, query results, and error handling. It automatically fetches data when the contract, function, or arguments change.
Watch for changes
To automatically monitor updates in the contract storage, set the watch
property to true.
Last updated
Was this helpful?