post https://api.shasta.trongrid.io/wallet/createwitness
Apply to become a witness.
Returns
Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is WitnessCreateContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
Field | Type | Description |
---|---|---|
owner_address | string | Account address |
url | string | The website URL of the SR node |