How Can I Deduce the API's Required JSON Data Structures?

+1 vote
Hi,

First of all, thanks for all previous help with my questions.

I'm using the API via a nodejs package called, "multichain-node", but it's lacking the more recent APIs, the most important of which is "createrawsendfrom".  I'd like to add it to multichain-node, but I can't figure out exactly what the JSON data structure has to look like.  How can I figure that out?  

Todd
related to an answer for: How Do I Use the JSON RPC API?
asked Mar 20, 2017 by Bullsear

1 Answer

0 votes

Work through one of the tutorials that uses createrawsendfrom, such as:

http://www.multichain.com/developers/external-key-management/

http://www.multichain.com/developers/multisignature-transactions/

http://www.multichain.com/developers/raw-transactions/

As you enter the commands into multichain-cli, you will be shown the exact JSON structure sent in the first line.

answered Mar 21, 2017 by MultiChain
...