RPC
rpc.start
Start the JSON-RPC service. Only available in console mode.
Parameters: None
Console Example
rpc_stop
Stop the JSON-RPC service. Available in console and attach mode.
Private: Requires authentication.
Parameters: None
Curl Example:
Console Example
Returns:
Boolean
Output:
rpc_methods
Get all JSON-RPC methods.
Parameters: None
Curl Example:
Console Example
Returns:
Array<Object>
Field
Type
Description
name
String
The name of the method. (format: <namespace>_<method_name>)
description
String
A brief description of the method.
private
Boolean
Indicate that the method is private or not.
Output:
rpc_echo
Send a value to the server and have it resent back. Used for testing.
Parameters:
Argument
Type
Description
value
Any
The value to be sent and echoed.
Curl Example:
Console Example
Returns:
Any
Output:
Last updated