Browse Source

doc: add 'id' to rpc_command

It's required, so at least hint about its presence!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
travis-debug
Rusty Russell 5 years ago
committed by Christian Decker
parent
commit
f8d8348c9f
  1. 2
      doc/PLUGINS.md

2
doc/PLUGINS.md

@ -703,6 +703,7 @@ the received JSON-RPC request to the registered plugin,
```json
{
"rpc_command": {
"id": 3,
"method": "method_name",
"params": {
"param_1": [],
@ -727,6 +728,7 @@ Replace the request made to `lightningd`:
```json
{
"replace": {
"id": 3,
"method": "method_name",
"params": {
"param_1": [],

Loading…
Cancel
Save