eth_getTransactionCount
Introduction
This API returns the number of transactions sent from an address. It consumes 15 CUs.
Parameter Description
Parameter |
Type |
Description |
---|---|---|
Address |
String |
The address from which the transaction count to be checked. |
Block number |
String |
A hexadecimal block number, or the string (earliest, latest, or pending). |
Return Value
The number of transactions sent from an address encoded as hexadecimal.
Request
curl https://your-http-endpoint/v1/<API-KEY> \ -X POST \ -H "Content-Type: application/json" \ --data '{"method":"eth_getTransactionCount","params":["0x8D97689C9818892B700e27F316cc3E41e17fBeb9", "latest"],"id":1,"jsonrpc":"2.0"}'
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot