Write contract
fuse_write_contractSigns and submits a state-mutating contract call from the server's signer. ABI is auto-fetched from the Fuse explorer when not supplied. Returns the transaction hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Optional ABI override. If omitted, the verified ABI is fetched from the Fuse explorer. | |
| args | No | Positional arguments (defaults to []). | |
| address | Yes | Contract address. | |
| valueWei | No | Native FUSE value to send with the call, in wei (for payable functions). | |
| functionName | Yes | State-mutating function to call. |