A web based interface to the Bitcoin API JSON-RPC

Command: getrawmempool

The getrawmempool RPC returns a new Bitcoin address for receiving change. This is for use with raw transactions, not normal use.

Parameter—desired output format
Result (format false)—an array of TXIDs
Result (format: true)—a JSON object describing each transaction

Set to true to get verbose output describing each transaction in the memory pool; set to false (the default) to only get an array of TXIDs for transactions in the memory pool.
{
	"result": [
		"517a1994b27931cf3b80bdffbd7fab0580de0a1fe73b8eb7dcea398a37e72408",
		"d8ca8f72258228b3553a94875d713b993b3c890439d714ff9917cd873b9da61b",
		"e40a0083e2b22887c13394e11a6d908f45295261a60de706562fbac57908d35d",
		"85c3199dececeeaf96d3eea3a18f3cdb7dda961735447299898814749354db80",
		"687b9f917319c6810ff4e52186a0f78aff9e6454a32b968da3ef17085387bbe6",
		"f2710057aaa2dc7eafdc85227538a04242b123288b906f1664f1b987665faf68",
		"3516b6ea2b80147b49355a0d4cb3feccf3c2824e232633b07a867387101e532a",
		"ee5a7350a6a4a0a5e0b1b97a070d7a39f716350ba9344bf0bc883601772481f0",
		"d35c8ace4637024f888cf76d9e151fd4cd61af071b0166cf2304e10c1010a19c",
		"ebc8a9c77dc4605c459c705372d3b9adafb74fa7d0f162e3adbee546aad97249",
		"5c2515d7a1397400279ed512dc9ff50d87dda7aeb880aa7818c2e71336ce406f",
		"665d001334c232858b40d172cf029db168dd6c3c965cba78d369a6db7197b63f",
		"8cac56a8d5985e29ede1dbe561eed09ded09b3f33f6c617fb1e652085a395c3c",
		"bdad482b300818c92202fb4acbd4837f30aa84f5a44eb2eaa79ff140deae3737",
		"9b70d12abaf16a06719379795b881dc4ce188c3dc30e6de699814e95222be44d",
		"c2cd533f467f959e1ab737218ee74bc09e5527e6048c71d09f1e6774014ed2f5",
		"9c270aabdb6ce3c8204640ea30a3c396733ffd08c3d60c7adabdc687071d9a98",
		"69e4ca2964c8f1bc75df87309e1e5a1dc490d3350a5adc77919cad6dc12c858c",
		"81afe5638e04484ce9e42da159f6efe771f9c3cf141e4855ff6b6ec18da284f1",
		"1ea0f35f62d1b5c0160eaaf42544575b67b8c18eee6973122daac60c87e8b7a1",
		"cc917ddb5fba523b5e6af3799a2be96fbb083b0d7950844be7f56b02ee77b27b",
		"6554da6426f54c5992e9ae44b2670c0670a639e019816964fceb3182efd70cf7",
		"8ea4d47f861c365cb532d0cc8ea4eb6ed01a18d0ea3b06de1d6f35183a4aede8",
		"54f8da6bcbac07468314643c0a57596c7d79c2bccb4e1f42016dc4e37d730853",
		"25843542bdebdb6146f8312c8882d4c414a9a72e57ae6e7c4e23bfa8969b8852"
	],
	"error": null,
	"id": null
}
getrawmempool ( verbose )

Returns all transaction ids in memory pool as a json array of string transaction ids.

Hint: use getmempoolentry to fetch a specific transaction from the mempool.

Arguments:
1. verbose (boolean, optional, default=false) True for a json object, false for array of transaction ids

Result: (for verbose = false):
[                     (json array of string)
  "transactionid"     (string) The transaction id
  ,...
]

Result: (for verbose = true):
{                           (json object)
  "transactionid" : {       (json object)
    "size" : n,             (numeric) virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.
    "fee" : n,              (numeric) transaction fee in BTC
    "modifiedfee" : n,      (numeric) transaction fee with fee deltas used for mining priority
    "time" : n,             (numeric) local time transaction entered pool in seconds since 1 Jan 1970 GMT
    "height" : n,           (numeric) block height when transaction entered pool
    "descendantcount" : n,  (numeric) number of in-mempool descendant transactions (including this one)
    "descendantsize" : n,   (numeric) virtual transaction size of in-mempool descendants (including this one)
    "descendantfees" : n,   (numeric) modified fees (see above) of in-mempool descendants (including this one)
    "ancestorcount" : n,    (numeric) number of in-mempool ancestor transactions (including this one)
    "ancestorsize" : n,     (numeric) virtual transaction size of in-mempool ancestors (including this one)
    "ancestorfees" : n,     (numeric) modified fees (see above) of in-mempool ancestors (including this one)
    "depends" : [           (array) unconfirmed transactions used as inputs for this transaction
        "transactionid",    (string) parent transaction id
       ... ]
  }, ...
}

Examples:
> bitcoin-cli getrawmempool true
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawmempool", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/