polluxweb.contract.new
Parameter | Description | Data Type | Option |
---|---|---|---|
abi | Smart Contract's Application Binary Interface. | String | Required |
bytecode | The compiled contract's identifier, used to interact with the Virtual Machine. | String | Required |
feeLimit | The maximum SUN consumed by deploying this contract. (1TRX = 1,000,000 SUN) | Integer, long | Optional |
callValue | Amount of SUN transferred to the contract with this transaction. (1TRX = 1,000,000 SUN) | Integer | Optional |
userFeePercentage | The energy consumption percentage specified for the user calling this contract. (Integer between 0 and 100) | Integer | Optional |
originEnergyLimit | The max energy which will be consumed by the owner in the process of execution or creation of the contract. Must be greater than 0. | Integer | Optional |
parameters | Parameters passed to the constructor of the contract. | Array | Optional, required if constructor needs parameters |
Object