<p>Usually it's fairly descriptive if you know what's going on, for example it looks for a  boolean on the end of that command, so this will do as you wish.</p>

<pre><code>bitcoin-cli getrawmempool true
</code></pre>

<p><code>bitcoin-cli</code> has replaced <code>bitcoind</code> for RPC commands, you'll need to get used to it as the RPC client is being removed from the <code>bitcoind</code> binary fairly soon.</p>

CC BY-SA 3.0
2014-05-18T00:36:36.063Z
2014-05-18T00:36:36.063Z
user13413
<p>to answer the original question:</p>

<pre><code>$ bitcoind getrawmempool true
</code></pre>

<p>will pass "true" to the verbose parameter (and will give you the verbose output)</p>

CC BY-SA 3.0
2014-10-13T22:04:28.683Z
2014-10-13T22:04:28.683Z
Vincent de Lagabbe
<p>Some bitcoind commands have optional params. For example, when doing "bitcoind help", it says the getrawmempool has a "verbose" param. </p>

<p>But no matter what I try, I can't seem to set this param on the command line. I've tried this:</p>

<pre><code>bitcoind -verbose getrawmempool
bitcoind getrawmempool verbose
bitcoind getrawmempool -verbose
bitcoind getrawmempool verbose=1
bitcoind getrawmempool -verbose=1
bitcoind getrawmempool {"verbose":"1"}
bitcoind getrawmempool {"verbose":"true"}
bitcoind getrawmempool {\"verbose\":\"1\"}
bitcoind getrawmempool {\"verbose\":\"true\"}
</code></pre>

<p>Especially notice how the last few result in "error: value type is obj, expected bool" whereas the others give "error parsing JSON".</p>

<p>What should I type on the command line <em>exactly</em> in order to execute the 'getrawmempool' with the 'verbose' parameter?</p>

<bitcoind>
Exactly how to add bitcoind params (e.g. "verbose") on command line?
Monty Carlo
# Exactly how to add bitcoind params (e.g. "verbose") on command line?

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

Some bitcoind commands have optional params. For example, when doing "bitcoind help", it says the getrawmempool has a "verbose" param. 
But no matter what I try, I can't seem to set this param on the command line. I've tried this:
bitcoind -verbose getrawmempool
bitcoind getrawmempool verbose
bitcoind getrawmempool -verbose
bitcoind getrawmempool verbose=1
bitcoind getrawmempool -verbose=1
bitcoind getrawmempool {"verbose":"1"}
bitcoind getrawmempool {"verbose":"true"}
bitcoind getrawmempool {\"verbose\":\"1\"}
bitcoind getrawmempool {\"verbose\":\"true\"}

Especially notice how the last few result in "error: value type is obj, expected bool" whereas the others give "error parsing JSON".
What should I type on the command line exactly in order to execute the 'getrawmempool' with the 'verbose' parameter?

**Tags:** bitcoind


---

## 2 answers

### Answer by username_1 on 2014-05-18. Score: 2

Usually it's fairly descriptive if you know what's going on, for example it looks for a  boolean on the end of that command, so this will do as you wish.
bitcoin-cli getrawmempool true

bitcoin-cli has replaced bitcoind for RPC commands, you'll need to get used to it as the RPC client is being removed from the bitcoind binary fairly soon.


---

### Answer by username_2 on 2014-10-13. Score: 0

to answer the original question:
$ bitcoind getrawmempool true

will pass "true" to the verbose parameter (and will give you the verbose output)


---

