⚡ We welcome businesses to test our enterprise-grade service

Method: POST /wallet/createwitness

dropdown

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

POST /wallet/createwitness

Method not allowed

Apply to become a witness.

Parameters

owner_address - string

Owner address, default hexString

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/createwitness' \
--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"
}