diff --git a/src/api/rpc_methods.md b/src/api/rpc_methods.md index 7d0f6f1..a5712c3 100644 --- a/src/api/rpc_methods.md +++ b/src/api/rpc_methods.md @@ -2,4 +2,16 @@ **Parameters**: *none* -**Return value**: Array of strings indicating the names of all the JSON-RPC functions supported by the JSON-RPC server, including this one. +**Return value**: A JSON object. + +The JSON object returned by this function has the following format: + +``` +{ + "methods": [...] +} +``` + +Where: + +- `methods` contains an array of strings indicating the names of all the JSON-RPC functions supported by the JSON-RPC server, including `rpc_methods` itself.