getpaginatednowwitnesslist - Tron
getpaginatednowwitnesslist. Returns a paginated list of current Super Representatives using offset and limit parameters.
getpaginatednowwitnesslist - tron [Value: 20CU]
Returns a paginated list of current Super Representatives using offset and limit parameters.
Use cases
- Also available as GET
- Page through the full witness list in a UI without loading everything at once
Constraints
- Very large limit values may be capped by the node
- Also available under /walletsolidity/ for confirmed (solidified) data instead of the latest state
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request POST \
--url https://lb.drpc.live/tron/{API-KEY}/wallet/getpaginatednowwitnesslist \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"offset": 1, "limit": 1}'Response
200
{
"witnesses": [
{ "address": "41e38c95e0d7e9b68f7c8f7b4d3e6a5c2b1f9e8d7c6b5a4f3e2d1c0b9a8", "voteCount": 122345678, "isJobs": true }
]
}Request params
idinteger
jsonrpcstring
methodstring
object
offsetinteger
[Required for GET] Number of witnesses to skip
limitinteger
[Required for GET] Maximum number of witnesses to return
visibleboolean
Set to true to format addresses in Base58; set to false for hex format. (Default: false)
Response
200
Returns a paginated list of current Super Representatives using offset and limit parameters.Response params
object
witnessesarray_of_objects
The list of witness (Super Representative and SR candidate) records on the network.
object
addressstring
The address of this witness, in hex format.
voteCountinteger
The total number of TRON Power votes currently cast for this witness.
urlstring
The witness's public URL, in plain UTF-8 text.
totalProducedinteger
The cumulative number of blocks this witness has successfully produced.
totalMissedinteger
The cumulative number of block-production slots this witness has missed.
latestBlockNuminteger
The height of the most recent block produced by this witness.
latestSlotNuminteger
The most recent DPoS time slot in which this witness was scheduled to produce a block.
isJobsboolean
Whether this witness currently holds an active Super Representative seat (as opposed to being a candidate only).