Get witnesses
Get the list of current witnesses.

Example

1
client.api.getWitnesses(function(err, result) {
2
if (err) return console.error(err);
3
console.log(result);
4
});
Copied!
Try on JSFiddle.

Returns

1
[
2
'BVVJ2K7ENPZZ3VYZFWQWK7ISPCATFIW3',
3
'DJMMI5JYA5BWQYSXDPRZJVLW3UGL3GJS',
4
'FOPUBEUPBC6YLIQDLKL6EW775BMV7YOH',
5
'GFK3RDAPQLLNCMQEVGGD2KCPZTLSG3HN',
6
'H5EZTQE7ABFH27AUDTQFMZIALANK6RBG',
7
'I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT',
8
'JEDZYC2HMGDBIDQKG3XSTXUSHMCBK725',
9
'JPQKPRI5FMTQRJF4ZZMYZYDQVRD55OTC',
10
'OYW2XTDKSNKGSEZ27LMGNOPJSYIXHBHC',
11
'S7N5FE42F6ONPNDQLCF64E2MGFYKQR2I',
12
'TKT4UESIKTTRALRRLWS4SENSTJX6ODCW',
13
'UENJPVZ7HVHM6QGVGT6MWOJGGRTUTJXQ'
14
]
Copied!

Learn more

Last modified 7mo ago
Copy link