After you have created your first app in MegaNode, it's time to make your first RPC request. You can use any REST API testing tool, e.g. Postman, to test your MegaNode JSON-RPC request. However, there's a built-in tool in our portal to make things easier.
You can very easily find the Composer from the top menu. It's a built-in free tool on MegaNode to test every supported JSON-RPC method.
Composer consists of two parts i.e. Configure Request and Request Result. Configure Request is where you can choose your app and the method you want to test. If you cannot find any app from the menu, please go to create your first app.
- App: List of the apps you created.
- Method: List of supported JSON-RPC method.
- Params: If you selected a method with params, you will see some additional text fields required to input. Please ensure you've input all necessary params before sending the request.
Once you have input all the required params, the Preview will show you the request content you composed. Also, the "Send Request" button will become available, which you can simply click on to send the request.
Please note that all the requests you've sent will cost you the CU accordingly. See what is CU and how does it work.
After you send a request, you can easily find the result from the Response.
Archive data is also available in Composer as long as you submit a historical block number.
Composer is an easy, simple and straightforward tool for you to test the JSON-RPC request. Please go create your first app and send the request to enjoy the fastest blockchain infrastructure service!
Updated 11 months ago