POSTUpdateBrokerage

Tron Mainnethttps://tron-mainnet.nodit.io/wallet/updateBrokerage

Update the SR's brokerage setting.

Request Body
owner_addressstringrequired

Super Representative (SR) address. (Format: Base58 or Hex)

brokerageinteger (int32)required

The brokerage ratio of the super representative, for example: 20 means 20%, 100 means 100%

visibleboolean

Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)

Permission_idinteger (int32)

Optional. Permission ID used for multi-signature account operations. Defaults to the owner permission (0) if unspecified.

Responses
owner_addressstring

Super Representative (SR) address.

brokerageinteger (int32)

Dividend ratio, from 0 to 100, 1 represents 1%.

X-API-KEY
RequestCU30
cURL
curl -X POST "https://tron-mainnet.nodit.io/wallet/updateBrokerage" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "owner_address": "TJvaAeFb8Lykt9RQcVyyTFN2iDvGMuyD4M",
  "brokerage": 20,
  "visible": true
}'
Response
Example · 200
{
  "owner_address": "string",
  "brokerage": 0
}