Domain Steem with JavaScript; Lesson #1 | Introduction to Steem Blockchain and RPC Nodes

daprado1999 -

edited with canva

Hello friends and welcome to my article in this great dynamics of SLC S22/W1 as organised by @alejos7ven and I would be attempting these tasks immediately.


What is your understanding about RPC Nodes?


RPC Nodes is an acronym for Remote Procedure Cells Contract which act as primary access point to network, providing ways to go about carrying specific functions without nodes infrastructure, suitable for access to account balance publication and modifying data on Blockchain too, aiding in spotting and supporting outstanding articles on platform. Basically sending request to RPC nodes receiving request and transmitting request to the Blockchain upon arrival of request, interpreting and executing operation.

Moreso, practically on steemit one most available fact is that RPC nodes consists of plugins that define performance of activities, containing common methods which communicated and relay message retrieving information or harnessing data accordingly. One of the most popular RPC nodes on steemit is source an interface that lets developers interact and relay messages using JSON data, communicating directly with steemit platform accordingly. The RPC nodes are generally the backbone, skeletal framework in which steemit platform thrives.


"Explore Steem Developer Portal https://developers.steem.io and fetch using JavaScript or python from at least 3 methods of condenser_api plugin (Dont use get_block method"

Steem Developer Portal

Exploring steem developer portal was possible as I retrieved useful data using get_discussion_by_created capacitor_api_get_chain_properties get_dynamic_global_properties


get_dynamic_global_properties


This particularly provided global information about the updated occurrence of the Blockchain. It shared documented time of creation of previous order block and process it got produced, the current rewards of active participants as statistical data contained in each account which is crucial to knowing and tracing activities in the account. It monitors the overall activities of the blockchain incorporated in harnessed programmed codes.


created code
output


get_discussion my_created method


This highlights recent posts which are yet to be rewarded on the Blockchain taking special charactered codes which specified which part you intend on retrieving


created code
output


capacitor_api.get_chain_properties


We obtain information about properties of chain when executed showing result of query and obtain information about properties of steemit

created code
output

Get information of a random block between 1,000,000 and 1,500,000 and write a program that shows who created that block and the date it was created

Using the interaction of the Nod.js_fetch library with the API via the condenser_api plugins custom_api functions allows you to sent HTTP post requests to steem API by taking as parameters the address of RPC nodes, method used was the condenser_api_get_block retrieving information of a given block.



A created block generated in specified range using this formula Math_floor(Math_random () (15000000-100000+1) + 1000000 cautiously executing program effectively. This is my own quota of research in the dynamics as organized by our tutor.


I have concluded my article and invite @lirvic @josepha @simonnwigwe @nanidi to join challenge