DeployContract

部署合约,返回 Transaction Extention,其中包含未签名的交易。

返回值

Transaction对象 - JSON object:未签名的交易,包含的字段请参考交易章节,由于交易类型为CreateSmartContract,所以交易中的raw_data.contract[0].parameter.value中包含的字段如下:

字段类型描述
owner_addressstring账户地址
new_contractSmartContract部署的合约数据,其中包含的字段请参考GetContract
call_token_valueint64转入合约的TRC-10数量
token_idint64转入TRC-10的id
Language
Click Try It! to start a request and see the response here!