AccountPermissionUpdate

Update the account's permission.

Body params:

  • owner_address

  • actives

  • owner

  • witness

  • visible

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/accountpermissionupdate \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "owner_address": "string",
     "actives": [
          {
               "type": "string",
               "threshold": 1,
               "keys": [
                    {
                         "address": "string",
                         "weight": 1
                    }
               ],
               "operations": "7fff1fc0033e0000000000000000000000000000000000000000000000000000",
               "id": 0
          }
     ],
     "owner": {
          "type": "string",
          "threshold": 1,
          "keys": [
               {
                    "address": "string",
                    "weight": 1
               }
          ],
          "operations": "7fff1fc0033e0000000000000000000000000000000000000000000000000000",
          "id": 0
     },
     "witness": {
          "type": "string",
          "threshold": 1,
          "keys": [
               {
                    "address": "string",
                    "weight": 1
               }
          ],
          "operations": "7fff1fc0033e0000000000000000000000000000000000000000000000000000",
          "id": 0
     },
     "visible": true
}
'

Response

{
  "Error": "class java.lang.NullPointerException : null"
}

Last updated