HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

UpdateSetting

Update the smart contract's consume_user_resource_percent parameter.

Returns

Returned Object: **Transaction (Unsigned).

General Fields: Refer to the Transaction section.

UpdateSettingContract Specific Fields: The raw_data.contract[0].parameter.value within the transaction contains parameters for the contract invocation:

FieldTypeDescription
owner_addressstringTransaction initiator address.(Format: Base58 or Hex)
contract_addressstringContract address. (Format: Base58 or Hex)
consume_user_resource_percentint64Percentage of user Energy consumption for a smart contract. (Range: [0-100])

Language
Click Try It! to start a request and see the response here!