GET
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getpendingsize
wallet/getpendingsize
curl --request GET \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getpendingsize
{
  "pendingSize": 1247
}
TRON API method that returns the current size of the pending transaction pool (mempool). This provides insight into network congestion and the number of unconfirmed transactions awaiting processing.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method requires no parameters. It returns the current size of the pending transaction pool.

Response

  • pendingSize — number representing the current count of pending transactions in the mempool

Use case

The wallet/getpendingsize method is used for:
  • Monitoring network congestion by tracking the number of pending transactions.
  • Building network analytics dashboards that display mempool statistics.
  • Implementing adaptive fee strategies based on current network load.
  • Creating alerts for high network congestion periods.
  • Optimizing transaction timing for applications based on mempool size.
The pending pool size fluctuates constantly as new transactions are submitted and existing ones are confirmed or dropped. A larger pending size typically indicates higher network congestion and may suggest longer confirmation times.

Response

200 - application/json

Current size of the pending transaction pool

The response is of type object.