3

As the title states... what I mean is what does the json/rpc command look like and can someone give an example and explain it? I would like to use RPC to get blockchain information, then manually construct a transaction and sign it from that returned information. I understand this would involve a lot of work

Thanks in advance.

  • 1
    Can you clarify ? You want to use RPC to get blockchain info, then manually construct a tx and sign it from that returned info ? That'd be a LOT of manual work. – user36303 Oct 13 '16 at 8:32
  • Yes. For example, the information that someone might need to develop a new wallet using RPC. – Jeffrey Lebowski Oct 17 '16 at 11:00
  • @JeffreyLebowski I edited the question based on the comments to help clarify your intent. Not everyone reads question comments. – Drink Vodka Nov 8 '16 at 1:19
1

The wallet RPC has a method transfer which you can call with parameters do_not_relay:true and get_tx_metadata:true which will allow you to create a transaction but not relay to the network immediately. When you are ready to send, you can call the method relay_tx.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.