Help Center/
Web3 Node Engine Service/
Developer Guide/
BNB Smart Chain/
BNB Smart Chain APIs/
Shared Edition/
txpool_status
Updated on 2024-11-14 GMT+08:00
txpool_status
Introduction
This API returns the number of transactions in pending and queued states. It consumes 120 CUs.
Parameter Description
This method does not accept any parameters.
Return Value
Object: A transaction object with the following fields:
- pending: the total number of pending transactions in the transaction pool (txpool), represented in hexadecimal format.
- queued: the total number of queued transactions in the txpool, represented in hexadecimal format.
Request
curl https://your-http-endpoint/v1/<API-KEY> \ -X POST \ -H "Content-Type: application/json" \ --data '{"method":"txpool_status","params":[],"id":1,"jsonrpc":"2.0"}'
Parent topic: Shared Edition
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot