Wednesday, November 6, 2024

Zebra Open API

/*! elementor – v3.20.0 – 20-03-2024 */
.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;colour:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{colour:#69727d;border:3px stable;background-color:clear}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;top:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:heart;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{show:inline-block}

by Alfredo

It was actually enjoyable for me to take part within the final Zebra Hackathon Dash, a 2-week interval to be artistic, discover new concepts and construct some proof of idea tasks. This time I labored on an OpenAPI specification for Zebra RPC strategies.

Zebra OpenAPI Specification

With a purpose to present a documentation useful resource for Zebra RPC strategies, an openapi.yaml specification was added to Zebra, situated on the root of the venture. This file might be pasted into Swagger Editor to mechanically render documentation for Zebra’s RPC strategies.

 

Zebra API in Swagger
Zebra API in Swagger
 

In case you have a zebrad node operating at http://localhost:8232 it is possible for you to to ship instructions to the blockchain and retrieve knowledge. In any other case, you’ll be able to nonetheless view the documentation for the strategies within the Swagger interface. Extra data might be discovered on the Zebra OpenAPI e book web page. The OpenAPI proof of idea pull request is on the market right here.

If there’s curiosity, this documentation might be hosted someplace just like https://zcash.github.io/rpc/, and be saved updated with adjustments and additions to Zebra’s RPC interface. Within the meantime, please strive it out and tell us what you assume! 

 

The publish Zebra Open API appeared first on Zcash Basis.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles