Ripple XRP Ledger Dev Portal revealed an updated version of the WebSocket API Tool. The latest development in the Ripple ecosystem will enable users to directly communicate with rippled servers, which is responsible for powering the XRP Ledger Network.
An official post detailing the WebSocket update stated that the tool has been incorporated with unique functionalities to the existing tool structure. The “refreshed tool” which was launched as part of the recent site relaunch, allow users to choose which servers to connect, which will include public servers that Ripple operates, XRP Test Net servers or any server that the user locally runs on its computer. This feature is called Server Selector.
The refreshed tool provides options to connect to Ripple’s general-purpose public XRP Ledger servers, full-history public servers, Test Net servers, or to your own server running locally. This list can also change to provide more options in the future.
Another feature incorporated in the latest update is the new Permalink button. The button provides a link wherein users can use to share the current state of their inputs, which includes the request body and the selected server. The official post detailed that the Permalink feature is similar to other web tools such as JSFiddle or CodePen, which “provides a way to prepare a set of inputs and share it with others.”
Another feature is the curl Syntax Button, represented by “>_ ” icon. The button is designed to load a popup with the current inputs of the request box, which is converted into a JSON-RPC call which can be made with the curl utility.
To eliminate simple syntax errors, the upgraded tool has incorporated a feature called Error Highlighting, which as the name suggests, highlights lines with errors by placing red circled X marks.
The Message History Management will display all types of messages in one single stream, which maintains a history of the user’s previous calls until the page is closed or a different server is selected or the history is cleared by selecting the “Clear History” button. The blog further detailed,
“The amount of history the tool keeps at a time isn’t unlimited, which is another change from the previous version. By default, any time the tool receives a new message, it deletes any messages older than the most recent 50, though you can set this to be any amount you like.”
Subscribe to AMBCrypto’s Newsletter