getpendingsize - Tron
getpendingsize. Returns the current number of transactions waiting in the node's pending pool.
getpendingsize - tron [Value: 20CU]
Returns the current number of transactions waiting in the node's pending pool.
Use cases
- Also available as GET
- Monitor mempool congestion on a specific node
Constraints
- Reflects only the pending pool of the specific node queried, not a network-wide figure
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request POST \
--url https://lb.drpc.live/tron/{API-KEY}/wallet/getpendingsize \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{}'Response
200
{
"size": 37
}Request params
idinteger
jsonrpcstring
methodstring
This method does not accept any parameters.
int64_as_stringboolean
Only for GET. When true, returns pendingSize as a JSON string
Response
200
Returns the current number of transactions waiting in the node's pending pool.Response params
object
sizeinteger
Number of transactions currently in this node's pending pool