updateAccountPermissions
consume_user_resource_percent
parameter of a smart contract
Parameter | Description | Type |
---|---|---|
owner_address | The address of the owner who will update the permission. Defaults to the caller's default address in polluxWeb . | String |
ownerPermission | Owner permission object (type must be 0 ), including threshold and keys. | Object |
witnessPermission | Witness permission object (type must be 1 ). Only applicable to super representatives. Pass null for normal users. | Object or Null |
activePermissions | Active permission object array (type must be 2 ), including threshold, operations, and keys. | Array |
Object
{
"visible": false,
"txID": "7f06b2e887dd9703ad481c6a7cafc1cd8857b354d0c45ebdf5eb82bfd0cf6d68",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"owner": {
"keys": [
{
"address": "3765776280f01cdc51d0bc2b5a952a552d1c62bc2f",
"weight": 1
},
{
"address": "375f4204dec09b1899444d851dd54fbfc21397e20ab",
"weight": 1
}
],
"threshold": 2,
"permission_name": "owner"
},
"owner_address": "3765776280f01cdc51d0bc2b5a952a552d1c62bc2f",
"actives": [
{
"operations": "7fff1fc0037e0000000000000000000000000000000000000000000000000000",
"keys": [
{
"address": "3765776280f01cdc51d0bc2b5a952a552d1c62bc2f",
"weight": 1
},
{
"address": "375f4204dec09b1899444d851dd54fbfc21397e20ab",
"weight": 1
}
],
"threshold": 3,
"type": "Active",
"permission_name": "active0"
}
]
},
"type_url": "type.googleapis.com/protocol.AccountPermissionUpdateContract"
},
"type": "AccountPermissionUpdateContract"
}
],
"ref_block_bytes": "000b",
"ref_block_hash": "07653cf4b79aa839",
"expiration": 1565312682000,
"timestamp": 1565312624396
},
"raw_data_hex": "..."
}