Skip to content
Administrative controls for managing the Surfnet instance and its plugins. These come from the Agave validator admin RPC, and Surfnet implements only exit, listPlugins, startTime, loadPlugin, reloadPlugin and unloadPlugin. The other Agave admin methods (for example setIdentity or setLogFilter) return -32601 Method not found on Surfnet and are not listed.

​exit

Immediately shuts down the RPC server. This stops the Surfnet process immediately and cannot be undone. Don’t run this sample against a Surfnet you want to keep. Result
​result
null
exit - Immediately shuts down the RPC server
Request
Response

​reloadPlugin

Reloads a runtime plugin with new configuration. Fails with -32603 if no plugin with that name is loaded. Parameters
​name
string
required
The name of the plugin to reload.
​configFile
string
required
The path to the new configuration file for the plugin.
Result
​configFile
string
​name
string
Request
Response

​unloadPlugin

Unloads a runtime plugin. Fails with -32603 (Plugin 'my-plugin' not found) if no plugin with that name is loaded. Parameters
​name
string
required
The name of the plugin to unload.
Result
​name
string
Request
Response

​loadPlugin

Dynamically loads a new plugin into the runtime from a configuration file. The configuration file must exist and describe a valid Geyser plugin; otherwise Surfnet returns -32603 with Unable to read plugin config. Parameters
​configFile
string
required
The path to the configuration file for the new plugin.
Result
​configFile
string
Request
Response

​listPlugins

Returns a list of all currently loaded plugin names. Result
​result
array<string>
listPlugins - Lists all loaded plugins
Request
Response

​startTime

Returns the system start time. Result
​result
string
startTime - Returns the system start time as an RFC 3339 timestamp string
Request
Response