📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

Method: POST /wallet/updatesetting

dropdown

方法 REST /wallet/updatesetting 例如 Tron (TRX)

POST /wallet/updatesetting

Method not allowed

更新智能合约的clumemume_user_resource_percent参数

Parameters

owner_address -

字符串,需要

交易创建者地址,以十六进制字符串格式。

contract_address -

字符串,需要

以十六进制字符串格式修改合同的地址。

consume_user_resource_percent -

INT32,需要

消费用户的资源百分比。 它应该是[0,100]之间的整数。 如果0,则意味着它不会消耗用户的资源,直到开发人员的资源被用完为止

permission_id -

享受

选修的。 地址为base58格式时。

visible -

布尔

选修的。 地址为base58格式时。

Request

curl --location --request POST 'https://trx.getblock.io/wallet/updatesetting' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}