TRON
wallet/getBrokerage10 Credits
Returns the brokerage ratio of a super representative.
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| address | string | Super representative address (base58 or hex). |
| visible | boolean | true = base58 addresses (in the request and the response); false (default) = hex addresses. (optional) |
Rückgabewert
Typ
Object
Object with brokerage, the percentage (0 to 100) of the voting reward the SR keeps; the rest goes to voters. 20 is the default when no record exists.
Codebeispiele
curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/wallet/getBrokerage' \
-X POST \
-H 'content-type: application/json' \
-d '{
"address": "TLsV52sRDL79HXGGm9yzwKibb6BeruhUzy",
"visible": true
}'