Get all mempool transactions
Returns all pending transactions currently in the mempool.Get mempool size
Returns the number of transactions currently waiting in the mempool.Check if a transaction is in the mempool
You can check transaction status using the transactions endpoint, iftype is MemPooled the transaction is pending.
Remove transactions from the mempool
Removes specific transactions from the local mempool. This does not broadcast a cancellation to the network, the transaction may still be picked up by other nodes.Revalidate mempool transactions
Triggers the node to revalidate all transactions currently in the mempool against the current chain state.A note on mempool data
Mempool contents vary between nodes. A transaction visible in your node’s mempool may not be visible in another node’s mempool until it propagates through the network. For the most reliable confirmation tracking, poll the transaction status endpoint untiltype is Confirmed.
For production apps that need to track transaction confirmation, the recommended flow is:
- Submit the transaction and save the
txId - Poll
/transactions/status?txId={id}every few seconds - Once
typeisConfirmedandchainConfirmationsis at least1, treat the transaction as confirmed - For high-value transactions wait for at least
110confirmations

