Bitcoin
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Bitcoin
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
getrawmempool is a Bitcoin Core JSON-RPC method that lists the transaction ids of every unconfirmed BTC transaction currently held in the node's mempool — the full set of payments waiting for a Proof-of-Work miner to include them in a block. Send the request to https://bitcoin.therpc.io/YOUR_API_KEY using positional params. By default it returns a flat array of txid strings, which is the lightest way to enumerate the pool. Pass verbose = true to instead receive an object keyed by txid, where each value carries per-transaction detail such as vsize, weight, time, the fees object (in BTC), depends and spentby links, ancestor and descendant counts, and the bip125-replaceable flag.
verbose = true to drive fee-bumping decisions such as CPFP or RBF without a separate getmempoolentry call per transaction.| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | verbose | boolean | لا | false = array of txids; true = object keyed by txid with per-tx data.الافتراضي: false |
| 2 | mempool_sequence | boolean | لا | Return { txids, mempool_sequence } instead; cannot combine with verbose=true.الافتراضي: false |
| النوع | الوصف |
|---|---|
| array | Array of txid strings, or (verbose) object keyed by txid with vsize, weight, time, fees, depends, spentby, ancestor/descendant counts, bip125-replaceable. |
| الكود | الرسالة | السبب |
|---|---|---|
-8 | Invalid parameter | A parameter is out of range or the wrong shape — check verbosity levels, conf_target bounds, and required fields. |
verbose = true builds a full detail object for every transaction in the pool, which can be a heavy response when the mempool holds tens of thousands of entries. Prefer the plain txid array and fetch detail only for the txids you actually need.mempool_sequence option cannot be combined with verbose = true; requesting both at once is rejected. Use mempool_sequence only with the plain (non-verbose) txid list.