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

Method: POST /wallet/updatewitness

dropdown

Method REST /wallet/updatewitness example for Tron (TRX)

POST /wallet/updatewitness

Method not allowed

Edit the URL of the witness's official website.

Parameters

owner_address - string

Owner address, default hexString

update_url - string

Website url, default hexString

permission_id - int32

Optional, for multi-signature use

visible - boolean

Optional, Whether the address is in base58 format.

Request

curl --location --request POST 'https://trx.getblock.io/wallet/updatewitness' \
--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"
}