You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
@@ -39,17 +54,17 @@ This example sends multiple transactions to the specified smart contracts to cal
39
54
}}
40
55
>
41
56
Send Transactions
42
-
</button>
57
+
</button>;
43
58
```
44
59
45
60
This example demonstrates how to use the `sendAsync`function to send multiple transactions to the specified smart contracts, calling the functions with the arguments passed in calls.
|**calls**|`Calldata[]`| Array of configuration objects for the contract calls. Each object should contain `contractName`, `functionName`, and `args`. |
52
-
|**options** (optional) |`InvocationsDetails`| Additional options for the transactions. |
|**calls**|`Calldata[]`| Array of configuration objects for the contract calls. Each object should contain `contractName`, `functionName`, and `args`. For special datatypes such as `enums`, you can pass in enum types from `starknet.js`|
67
+
|**options** (optional) |`InvocationsDetails`| Additional options for the transactions. |
|**contractName**|`string`| Name of the contract to write to. |
46
+
|**functionName**|`string`| Name of the function to call. |
47
+
|**args** (optional) |`unknown[]`| Array of arguments to pass to the function (if any). Types are inferred from the contract's function parameters. For special datatypes such as `enums`, you can pass in enum types from `starknet.js`|
0 commit comments