<p>There is no cli API as <code>searchrawtransaction</code> in the core bitcoin client. I guess what you are talking about is <code>getrawtransaction</code>. <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow noreferrer">This</a> would be place where you would find all the API's aggregated in one page and you can search for the API you are concerned with.</p>

CC BY-SA 3.0
2016-12-28T11:02:42.387Z
No, I'm talking about searchrawtransactions available in this BTC core version: https://github.com/btcdrak/bitcoin/tree/addrindex-0.12
Nucklear
CC BY-SA 3.0
2016-12-28T11:07:02.500Z
@Nucklear Oh, I am sorry. Did you check the issues? https://github.com/btcdrak/bitcoin/issues/12
Shabahat M. Ayubi
CC BY-SA 3.0
2016-12-28T13:42:59.313Z
Yes I already checked but I did not get anything usefull
Nucklear
CC BY-SA 3.0
2016-12-28T10:56:15.497Z
2016-12-28T11:19:23.133Z
2016-12-28T11:19:23.133Z
Shabahat M. Ayubi
<p>some days ago I installed bitcoin core patched with the addrindex option ( <a href="https://github.com/btcdrak/bitcoin/tree/addrindex-0.12" rel="nofollow noreferrer">btcdrak version</a> ), after indexing the entire blockchain for 5 days, I tried to use the <strong>searchrawtransactions</strong> parameter on bitcoin-cli in order to query some addresses, but it is returning the following error:</p>

<pre><code>error code: -32601
error message:
Method not found
</code></pre>

<p>In github I saw the following statement:</p>

<blockquote>
  <p>First run will require a full reindex of the blockchain. After that, the searchrawtransactions will be available.</p>
</blockquote>

<p>But it's not working for me. Anyone has experience with this or with any other bitcoin core patched version?</p>

CC BY-SA 3.0
2017-02-26T17:14:21.980Z
To me it sounds like you're not actually running the addrindex patched branch.
Pieter Wuille
<bitcoind><bitcoin-core><client><nodes><bitcoin-cli>
searchrawtransactions in bitcoin-cli returning "Method not found" error
Nucklear
# searchrawtransactions in bitcoin-cli returning "Method not found" error

(Asked by: username_0 on 2016-12-28)

some days ago I installed bitcoin core patched with the addrindex option ( btcdrak version ), after indexing the entire blockchain for 5 days, I tried to use the searchrawtransactions parameter on bitcoin-cli in order to query some addresses, but it is returning the following error:
error code: -32601
error message:
Method not found

In github I saw the following statement:

First run will require a full reindex of the blockchain. After that, the searchrawtransactions will be available.

But it's not working for me. Anyone has experience with this or with any other bitcoin core patched version?

**Tags:** bitcoind, bitcoin-core, client, nodes, bitcoin-cli

> **Comments:**
> **username_1**: To me it sounds like you're not actually running the addrindex patched branch.  

---

## 1 answers

### Answer by username_2 on 2016-12-28. Score: 2

There is no cli API as `searchrawtransaction` in the core bitcoin client. I guess what you are talking about is `getrawtransaction`. [This](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list) would be place where you would find all the API's aggregated in one page and you can search for the API you are concerned with.

> **Comments:**
> **username_0**: No, I'm talking about searchrawtransactions available in this BTC core version: https://github.com/btcdrak/bitcoin/tree/addrindex-0.12  
> **username_2**: @username_0 Oh, I am sorry. Did you check the issues? https://github.com/btcdrak/bitcoin/issues/12  
> **username_0**: Yes I already checked but I did not get anything usefull  

---

