WitnessUpdateContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:Field | Type | Description |
---|---|---|
owner_address | string | Account address |
update_url | string | Updated URL |
{
"owner_address": "PHqgRM8giN6Nr9DgA1FybUjKFwd79cxhyp",
"visible": true
}
curl --location --request POST '/wallet/updatewitness' \
--header 'Content-Type: application/json' \
--data-raw '{
"owner_address": "PHqgRM8giN6Nr9DgA1FybUjKFwd79cxhyp",
"visible": true
}'
{}