<p>using <code>pycoin</code> and <code>greenadderss</code> you can't <code>getrawtransaction</code>. </p>

<p>using bitcoin-core you can getrawtrasnaction as hex or encoded. </p>

<pre><code>bitcoin-cli getrawtransaction "mytxid" true
</code></pre>

CC BY-SA 3.0
2018-03-10T02:40:37.253Z
Thanks for your answer. I will refer to it. I have a question. Using pycoin, is it difficult to implement greenaddress api?
Coder HHC
CC BY-SA 3.0
2018-03-10T07:42:54.133Z
I don't have any experiments with greenaddress, But AFAICT blockchain.info is fully compatible with pycoin and i'm pretty sure that you can get rawtransaction from blockchain.
Tailer
CC BY-SA 3.0
2018-03-09T14:11:02.573Z
2018-03-09T14:11:02.573Z
Tailer
<p>I'm developing python project using <code>greenaddress</code> API. I use <code>pycoin</code> package.
I almost completed, but I can't resolve notification problem.
Using <code>greenaddress</code> API, the notification received is as follow.</p>

<pre><code>{'wallet_id': '139183', 'txhash':    '0fd5cdf75d8a9979b454b36ba8dc36917dfc5b3726622f5291a24f0dcd4ab27f',    'subaccounts': [37], 'value': '-207'}
</code></pre>

<p>I want to get raw tx from this information, but I can't.
Can I get raw tx from this information by using <code>pycoin</code> and <code>greenaddress</code> API?
Pls, help me.</p>

<blockchain><python><green-address><pycoin>
GreenAddress: Noticfication of receiving transaction
Coder HHC
# GreenAddress: Noticfication of receiving transaction

(Asked by: username_0 on 2018-03-09)

I'm developing python project using `greenaddress` API. I use `pycoin` package.
I almost completed, but I can't resolve notification problem.
Using `greenaddress` API, the notification received is as follow.

```
{'wallet_id': '139183', 'txhash':    '0fd5cdf75d8a9979b454b36ba8dc36917dfc5b3726622f5291a24f0dcd4ab27f',    'subaccounts': [37], 'value': '-207'}

```

I want to get raw tx from this information, but I can't.
Can I get raw tx from this information by using `pycoin` and `greenaddress` API?
Pls, help me.

**Tags:** blockchain, python, green-address, pycoin


---

## 1 answers

### Answer by username_1 on 2018-03-09. Score: 0 | Accepted answer

using `pycoin` and `greenadderss` you can't `getrawtransaction`.

using bitcoin-core you can getrawtrasnaction as hex or encoded.

```
bitcoin-cli getrawtransaction "mytxid" true

```

> **Comments:**
> **username_0**: Thanks for your answer. I will refer to it. I have a question. Using pycoin, is it difficult to implement greenaddress api?  
> **username_1**: I don't have any experiments with greenaddress, But AFAICT blockchain.info is fully compatible with pycoin and i'm pretty sure that you can get rawtransaction from blockchain.  

---

