File tree 2 files changed +175
-301
lines changed
2 files changed +175
-301
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ sidebar_position: 6
4
4
5
5
# useScaffoldContract
6
6
7
+ ::: caution
8
+
9
+ Currently only works with read functions. We are working to get the write operations running as soon as possible. We apologize for the inconvenience.
10
+
11
+ :::
12
+
7
13
Use this hook to get your contract instance by providing the contract name. It enables you to interact with your contract methods.
8
14
For reading data or sending transactions, it's recommended to use ` useScaffoldReadContract ` and ` useScaffoldWriteContract ` .
9
15
@@ -39,4 +45,5 @@ This example uses the `useScaffoldContract` hook to obtain a contract instance f
39
45
## Return Value
40
46
41
47
- ` data ` : An instance of the contract, which can be used to call ` read ` and ` write ` methods of the contract.
48
+
42
49
- ` isLoading ` : Boolean indicating if the contract is being loaded.
You can’t perform that action at this time.
0 commit comments