RPC

By Raven Rebels

Sir, what is this?

As a developer, if you want to build something for/on Ravencoin, you can kickstart your development with this RPC service.

The node is fully indexed and runs on .

You can send remote procedure calls (RPC) the same way you would if you hade a local node. Whitelisted procedure calls are listed below.

Endpoint

Sir, what about perfomance?

To get low latency and to support a massive amount of concurrent requests we Cache and Queue

Queue-Based Load Leveling
The queue acts as a buffer between the public API endpoint and the Raven core node in order to smooth intermittent heavy loads that can cause Raven to fail. This minimize the impact of peaks in demand on availability and responsiveness.

Cache
Requests are cached for the lifetime of the current block. This makes the cache completely consistent with the data on the blockchain.

Whitelisted methods/procedures

Example - Web / JavaScript

Live example

 

Example - JavaScript/Node.js

 

Result