<p>Doesnt work for transactions that are not your own.</p>

CC BY-SA 3.0
2014-02-20T12:45:03.393Z
2014-02-20T12:45:03.393Z
Evelie
<p>Im trying to get how many confirmations a transaction has. However I just get error when I try to get gettransaction.</p>

<p><a href="http://block-explorer.com/tx/e15e0edd6d6b07531c146a91528ba628b28d37acb28e6a271a563a2284092e16" rel="nofollow">http://block-explorer.com/tx/e15e0edd6d6b07531c146a91528ba628b28d37acb28e6a271a563a2284092e16</a>
GetBlock works fine with the transaction here.. also getrawtransaction works.</p>

<p>However when I try gettransaction I get this error.
The remote server returned an error: (500) Internal Server Error.</p>

<p>This is how my request looks like
{"id":"0","method":"gettransaction","params":["e15e0edd6d6b07531c146a91528ba628b28d37acb28e6a271a563a2284092e16"]}</p>

<p>Any ideas of what Im doing wrong here?</p>

<api><json-rpc>
gettransaction (The remote server returned an error: (500) Internal Server Error.)
Evelie
# gettransaction (The remote server returned an error: (500) Internal Server Error.)

(Asked by: username_0 on 2014-02-17)

Im trying to get how many confirmations a transaction has. However I just get error when I try to get gettransaction.

<http://block-explorer.com/tx/e15e0edd6d6b07531c146a91528ba628b28d37acb28e6a271a563a2284092e16>
GetBlock works fine with the transaction here.. also getrawtransaction works.

However when I try gettransaction I get this error.
The remote server returned an error: (500) Internal Server Error.

This is how my request looks like
{"id":"0","method":"gettransaction","params":["e15e0edd6d6b07531c146a91528ba628b28d37acb28e6a271a563a2284092e16"]}

Any ideas of what Im doing wrong here?

**Tags:** api, json-rpc


---

## 1 answers

### Answer by username_0 on 2014-02-20. Score: 1 | Accepted answer

Doesnt work for transactions that are not your own.


---

