Deploy contract
fuse_deploy_contractSigns and submits a contract-deployment transaction using the server's signer. Returns the transaction hash, and the deployed contract address when waitForReceipt: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | Yes | Contract ABI. Required so constructor arguments can be encoded correctly. | |
| args | No | Constructor arguments (defaults to []). | |
| bytecode | Yes | Contract creation bytecode as a 0x-prefixed hex string. | |
| valueWei | No | Native FUSE to send with the deployment, in wei (payable constructors). | |
| waitForReceipt | No | When true, the tool waits for the deployment to be mined and includes the deployed address in the response (default false). |