curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/updateBrokerage \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC",
"brokerage": 15,
"visible": true
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": "<array>",
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/updateBrokerage \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC",
"brokerage": 15,
"visible": true
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": "<array>",
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}owner_address — address of the witness account updating the brokerage. Use base58 with visible: true, or hex with visible: false.brokerage — new brokerage percentage (0–100); lower values share more rewards with voters.visible — optional boolean. When true, addresses are base58; when false, hex. Default is true.visible — boolean indicating whether addresses are in visible formattxID — unique transaction ID for the brokerage update transactionraw_data — raw transaction data containing:
contract — array with brokerage update contract detailsref_block_bytes — reference block bytes for transaction validationref_block_hash — hash of the reference blockexpiration — transaction expiration timestamptimestamp — transaction creation timestampraw_data_hex — complete transaction data encoded in hexadecimal formatwallet/updatebrokerage method is used for:
curl --request POST \
--url 'https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/updateBrokerage' \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC",
"brokerage": 15,
"visible": true
}'
No permission — the owner_address is not a registered witness.Account […] does not exist — ensure the address is activated and the format matches visible.Not existed witness — register the witness first via wallet/createwitness and wait until it is recognized on-chain.Brokerage update transaction
Whether addresses are in visible format
Transaction ID for the brokerage update
Raw transaction data in hex format
Was this page helpful?