curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/listwitnesses \
--header 'Content-Type: application/json' \
--data '{}'
{
"witnesses": [
{
"address": "<string>",
"voteCount": 123,
"pubKey": "<string>",
"url": "<string>",
"totalProduced": 123,
"totalMissed": 123,
"latestBlockNum": 123,
"latestSlotNum": 123,
"isJobs": true
}
]
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/listwitnesses \
--header 'Content-Type: application/json' \
--data '{}'
{
"witnesses": [
{
"address": "<string>",
"voteCount": 123,
"pubKey": "<string>",
"url": "<string>",
"totalProduced": 123,
"totalMissed": 123,
"latestBlockNum": 123,
"latestSlotNum": 123,
"isJobs": true
}
]
}
witnesses
— array containing information about all witnesses:
address
— witness address in hexadecimal formatvoteCount
— total number of votes received from TRX holderspubKey
— public key used for block signing and validationurl
— witness website or information URLtotalProduced
— total number of blocks successfully producedtotalMissed
— total number of blocks missed during assigned slotslatestBlockNum
— block number of the most recent block producedlatestSlotNum
— most recent time slot assigned for block productionisJobs
— boolean indicating whether the witness is currently active in block productionwallet/listwitnesses
method is used for:
List of all witnesses on the network
The response is of type object
.
Was this page helpful?