fuse_deploy_contract
ActiveTool of Fuse Network
declared in 0.1.0
Signs and submits a contract-deployment transaction using the server's signer. Returns the transaction hash, and the deployed contract address when `waitForReceipt: true`.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"bytecode",
"abi"
],
"properties": {
"abi": {
"type": "array",
"items": {},
"description": "Contract ABI. Required so constructor arguments can be encoded correctly."
},
"args": {
"type": "array",
"items": {},
"description": "Constructor arguments (defaults to [])."
},
"bytecode": {
"type": "string",
"description": "Contract creation bytecode as a 0x-prefixed hex string."
},
"valueWei": {
"type": "string",
"description": "Native FUSE to send with the deployment, in wei (payable constructors)."
},
"waitForReceipt": {
"type": "boolean",
"description": "When true, the tool waits for the deployment to be mined and includes the deployed address in the response (default false)."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Fuse Network
1/7 registries