Billing Cases
Dedicated Edition
Assume that you have purchased an Ethereum node with the specifications of 16 vCPUs | 64 GB, used NES for 1 month (30 days), used 1024 GB memory, and made 3 million API calls. The bill will include:
- Monthly node fee = Duration x Price (USD)
- Monthly storage fee = Duration x Usage (GB) x Price (USD)
- Monthly API calling fee = Number of API calls x Price (USD)
Total fee = Node fee + Storage fee + API calling fee
In this case, the total fee is USD1373.1.
Shared Edition
- Calculation of the total fee
Assume that you have purchased a professional edition (monthly) package for one month. The package takes effect at 08:00:00 on January 01, 2024 and expires at 23:59:59 on February 01, 2024. So the package includes 600 million available CUs in current month. By January 25, 2024, you have used 601.005 million CUs. The billing mode is as follows:
- Package fee = USD49 x Number of months
- Fee of excess CUs = USD1.2 x (Number of used CUs – Number of available CUs in the package)/1,000,000
USD1.2 x (601,005,000 – 600,000,000)/1,000,000 = USD1.2 (round off to one decimal place)
Total fee = Package fee + Fee of excess CUs
In this case, the total fee is USD50.2.
- Calculation of the remaining CUs in the package
Assume that the CUs in the package are 10,000. The eth_blockNumber method is called 10 times via HTTP and consumes 10 CUs each time. The newHeads is subscribed to via WebSocket and 1 KB (1024 bytes) of subscription data is received, with each byte consumes 0.04 CUs. The bill will include:
Number of CUs consumed via HTTP + Number of CUs consumed via WebSocket = Consumed CUs
10 calls x 10 CUs + 1024 bytes x 0.04 CUs = 140.96 CUs
Remaining CUs = 10,000 – 140.96 = 9859.04
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