Skip to content

Commit

Permalink
Merge pull request #129 from josepot/fix/rpc-methods
Browse files Browse the repository at this point in the history
fix: `rpc_methods` return value
  • Loading branch information
jsdw authored Feb 5, 2024
2 parents c03269e + d8f40a6 commit 8803164
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/api/rpc_methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 8803164

Please sign in to comment.