Saturday, October 5, 2024

OpenAPI – gRPC Spec

/*! 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:middle;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 inventive, 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 view to present a documentation useful resource for Zebra RPC strategies, an openapi.yaml specification was added to Zebra, positioned on the root of the mission. This file may be pasted into Swagger Editor to routinely render documentation for Zebra’s RPC strategies.

 

Zebra API in Swagger
Zebra API in Swagger
 

When you have a zebrad node working at http://localhost:8232 it is possible for you to to ship instructions to the blockchain and retrieve knowledge. In any other case, you may nonetheless view the documentation for the strategies within the Swagger interface. Extra info may be discovered on the Zebra OpenAPI ebook web page. The OpenAPI proof of idea pull request is accessible right here.

If there may be curiosity, this documentation may very well be hosted someplace just like https://zcash.github.io/rpc/, and be stored updated with modifications and additions to Zebra’s RPC interface. Within the meantime, please attempt it out and tell us what you suppose! 

 

The submit OpenAPI – gRPC Spec appeared first on Zcash Basis.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles