getrpcinfo none

The getrpcinfo RPC returns runtime details of the RPC server. At the moment, it returns an array of the currently active commands and how long they’ve been running.

bitcoin-cli getrpcinfo

*bitcoin-cli help getrpcinfo


Returns details of the RPC server.

 "active_commands" (array) All active commands
   {               (object) Information about an active command
    "method"       (string)  The name of the RPC command 
    "duration"     (numeric)  The running time in microseconds

> bitcoin-cli getrpcinfo 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;'