Get Witnesses
obyte_get_witnessesFetches the current witness list from the Obyte hub for the specified network (mainnet or testnet). Pass the network to get correct data; results are cached for 10 minutes.
Instructions
Raw hub read. Returns witnesses for the selected network. Results are cached in memory for 10 minutes per network+hub unless update is true.
Network: this server serves both Obyte networks at once. Pass "network":"mainnet" or "network":"testnet" to choose; when omitted it defaults to mainnet. If the user has not made the network explicit, confirm which network they mean before calling.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "obyte_get_witnesses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| update | No | ||
| network | No |