You're viewing a demo portfolio

Join the waitlist
PRSM

fuse_deploy_contract

Active

Tool 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
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Fuse Network

1/7 registries
View full server →