> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Admin

> Administrative controls for managing the Surfnet instance

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**

<ResponseField name="result" type="null">
  exit - Immediately shuts down the RPC server
</ResponseField>

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "exit",
    "params": []
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": null
}
```

## reloadPlugin

Reloads a runtime plugin with new configuration.

Fails with `-32603` if no plugin with that name is loaded.

**Parameters**

<ParamField body="name" type="string" required>
  The name of the plugin to reload.
</ParamField>

<ParamField body="configFile" type="string" required>
  The path to the new configuration file for the plugin.
</ParamField>

**Result**

<ResponseField name="configFile" type="string" />

<ResponseField name="name" type="string" />

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "reloadPlugin",
    "params": [
      "my-plugin",
      "./geyser-plugin-config.json"
    ]
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "configFile": "<some-configfile>",
    "name": "<some-name>"
  }
}
```

## unloadPlugin

Unloads a runtime plugin.

Fails with `-32603` (`Plugin 'my-plugin' not found`) if no plugin with that name is loaded.

**Parameters**

<ParamField body="name" type="string" required>
  The name of the plugin to unload.
</ParamField>

**Result**

<ResponseField name="name" type="string" />

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "unloadPlugin",
    "params": [
      "my-plugin"
    ]
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "name": "<some-name>"
  }
}
```

## 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**

<ParamField body="configFile" type="string" required>
  The path to the configuration file for the new plugin.
</ParamField>

**Result**

<ResponseField name="configFile" type="string" />

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "loadPlugin",
    "params": [
      "./geyser-plugin-config.json"
    ]
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "my-plugin"
}
```

## listPlugins

Returns a list of all currently loaded plugin names.

**Result**

<ResponseField name="result" type="array<string>">
  listPlugins - Lists all loaded plugins
</ResponseField>

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "listPlugins",
    "params": []
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": []
}
```

## startTime

Returns the system start time.

**Result**

<ResponseField name="result" type="string">
  startTime - Returns the system start time as an RFC 3339 timestamp string
</ResponseField>

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "startTime",
    "params": []
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "2026-10-15T13:29:29.162646965+00:00"
}
```
