UpdateSetting

更新合约的 consume_user_resource_percent 配置, 返回未签名交易, 需要签名后广播.

返回值

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

字段类型描述
owner_addressstring账户地址
contract_addressstring合约地址
consume_user_resource_percentint64用户能量占比
Language
Click Try It! to start a request and see the response here!