Bitcoin Forum

Bitcoin => Electrum => Topic started by: byt411 on May 08, 2014, 06:11:01 PM



Title: Fetching Raw Transaction with Electrum?
Post by: byt411 on May 08, 2014, 06:11:01 PM
This is a bit of a stupid question, but how do I use getrawtransaction with electrum? getrawtransaction transactionID doesn't work, getrawtransaction (transactionID) doesn't work, and neither does getrawtransaction(transactionID).

It keeps giving me "invalid syntax" on the console.


Title: Re: Fetching Raw Transaction with Electrum?
Post by: ThomasV on May 09, 2014, 05:46:40 PM
in a terminal it is
Code:
 > getrawtransaction txid

if you use the python console, you need to comply with the python syntax:

Code:
getrawtransaction("txid")  
  (with quotes)

In the gui you can also use the menu: Tools -> Load Transaction -> From the blockchain