hedera_deploy_contract
Build an unsigned transaction to deploy a smart contract from bytecode stored in a Hedera file, with optional constructor parameters and initial balance.
Instructions
Build (unsigned) a contract deployment from bytecode already stored in a Hedera File (see hedera_create_file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gas | Yes | Gas limit, e.g. 100000 | |
| adminKey | No | Admin public key for the contract | |
| bytecodeFileId | Yes | File id holding the compiled bytecode (hex) | |
| payerAccountId | No | ||
| initialBalanceHbar | No | Initial contract balance in HBAR | |
| constructorParamsBase64 | No | ABI-encoded constructor params as base64 (omit if none) |