<p>Originally I installed <code>.bitcoind</code> using <code>--disable-wallet</code> then I later recompiled it with wallet. Not sure if that's to blame or how to troubleshoot.</p>
<p>Commands like this work:</p>
<pre><code>bitcoin-cli getbestblockhash
</code></pre>
<blockquote>
<p>0000000000000000000a40b6716fdd46ba98e238c58d3d686c653eeeb94aa759</p>
</blockquote>
<p>but several others do not:</p>
<pre><code>bitcoin-cli gettransaction &quot;1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d&quot;
</code></pre>
<blockquote>
<pre><code>error code: -32601
error message:
Method not found
</code></pre>
</blockquote>
<p><code>bitcoin-cli getbalance</code>
&gt;error code: -32601
&gt;error message:
&gt;Method not found</p>
<p>Using curl, i.e.</p>
<p><code>curl --user bitcoinuser --data-binary '{&quot;jsonrpc&quot;: &quot;1.0&quot;, &quot;id&quot;:&quot;curltest&quot;, &quot;method&quot;: &quot;getinfo&quot;, &quot;params&quot;: [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332</code></p>
<p>also results in &quot;method not found&quot;.</p>

CC BY-SA 4.0
2020-09-05T05:37:26.900Z
`1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d` does not appear to be a valid transaction on either Bitcoin or Bitcoin Testnet. What happens when you look up a valid transaction?
Murch
CC BY-SA 4.0
2020-09-05T06:04:32.090Z
Did you restart bitcoind after reinstalling? The `Method not found` error means that `gettransaction` is not a method built into the currently running instance of bitcoind.
Ava Chow
<bitcoind><json-rpc>
bitcoind RPC methods missing on Debian
April Ward
# bitcoind RPC methods missing on Debian

(Asked by: username_0 on 2020-09-05)

Originally I installed .bitcoind using --disable-wallet then I later recompiled it with wallet. Not sure if that's to blame or how to troubleshoot.
Commands like this work:
bitcoin-cli getbestblockhash


0000000000000000000a40b6716fdd46ba98e238c58d3d686c653eeeb94aa759

but several others do not:
bitcoin-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"


error code: -32601
error message:
Method not found


bitcoin-cli getbalance
>error code: -32601
>error message:
>Method not found
Using curl, i.e.
curl --user bitcoinuser --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332
also results in "method not found".

**Tags:** bitcoind, json-rpc

> **Comments:**
> **username_1**: `1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d` does not appear to be a valid transaction on either Bitcoin or Bitcoin Testnet. What happens when you look up a valid transaction?  
> **username_2**: Did you restart bitcoind after reinstalling? The `Method not found` error means that `gettransaction` is not a method built into the currently running instance of bitcoind.  

---

## 0 answers

