Bitcoin Forum
May 12, 2024, 06:11:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: jsonrpc-cli - a simple CLI tool for one-off jsonrpc queries and debugging.  (Read 115 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
danda (OP)
Full Member
***
Offline Offline

Activity: 201
Merit: 157


View Profile WWW
August 05, 2019, 03:56:10 PM
Merited by ABCbits (1)
 #1

I was having issues with c-lightning and spruned a while back and I wanted to execute queries and see the raw http request and response.  I couldn't find such a tool, so I made one, jsonrpc-cli.   Maybe some others will find it useful when querying bitcoind, etc.

This first release has the following significant features:

  • perform arbitrary jsonrpc requests to any jsonrpc server over http
  • pass method name and arguments as command line args
  • supports http basic auth
  • log raw http request/response to a file
  • raw or pretty printed json results, or display other structured formats: yaml, php print_r, etc
  • colorized results (syntax highlighting)
  • configurable request timeout
  • option to display/hide jsonrpc response wrapper/envelope.
  • detailed logging of each request

I intend to announce any new releases in this thread.

Please report issues or enhancement requests on github.

mybitprices.info - wallet auditing   |  hd-wallet-derive - derive keys locally |  hd-wallet-addrs - find used addrs
lightning-nodes - list of LN nodes  |  coinparams - params for 300+ alts  |  jsonrpc-cli - cli jsonrpc client
subaddress-derive-xmr - monero offline wallet tool
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!