Bitcoin
Bitcoin
Pronto para usar isso em produção?
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
Bitcoin
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
getmempoolentry is a Bitcoin Core JSON-RPC method that returns the full mempool record for a single unconfirmed BTC transaction. Given a txid that is currently in the node's mempool, it reports detailed metadata: virtual size and weight, the time it was first seen, the block height at entry, ancestor and descendant counts and sizes, the depends and spentby links to neighbouring transactions, the bip125-replaceable flag, and a fees object whose base, modified, ancestor, and descendant amounts are denominated in BTC (1 BTC = 100,000,000 satoshis). Send the request to https://bitcoin.therpc.io/YOUR_API_KEY with the txid as the single positional parameter.
base fee and vsize of a pending transaction to derive its sat/vB fee rate and estimate how it ranks against the rest of the mempool.ancestor and descendant fee and size totals before a child-pays-for-parent (CPFP) or replace-by-fee (RBF) bump, so the bump targets the true package fee rather than the single transaction.bip125-replaceable flag before you attempt an RBF replacement.| # | Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
| 1 | txid | string | Sim | Transaction id, which must be in the mempool. |
| Tipo | Descrição |
|---|---|
| object | Per-tx data: vsize, weight, time, height, descendantcount, descendantsize, ancestorcount, ancestorsize, wtxid, fees {base, modified, ancestor, descendant}, depends, spentby, bip125-replaceable, unbroadcast. |
| Código | Mensagem | Causa |
|---|---|---|
-5 | Transaction not in mempool | The txid is not currently in this node's mempool — it may be confirmed, evicted, or never seen. |
-5 (Transaction not in mempool).fees object is expressed in BTC, not satoshis. Multiply by 100,000,000 (1e8) to convert to satoshis before doing sat/vB fee-rate math.