UpdateSetting

Update the consume_user_resource_percent parameter of a smart contract

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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])

Body Params
string
required

Transaction initiator address.(Format: Base58 or Hex).
Example: TSNEe5Tf4rnc9zPMNXfaTF5fZfHDDH8oyW

string
required

Contract address. (Format: Base58 or Hex).
Example: TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs

int32
required

Percentage of user Energy consumption for a smart contract. (Range: [0-100]).
Example: 10

int32

Optional. Permission ID used for multi-signature.

boolean
Defaults to true

Set to true to format addresses in Base58; set to false for hex format. (Default: false)

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json