The "r.f" is written in jq, a Turing complete data processing language.
Thanks to this additional step, this will respond with:
To summarize, with bitquery:
Flexible Query: You can write a portable JSON query to read from the blockchain.
Response Processing: You can also add additional step to represent the processing logic, which will return your own custom immutable stream of data from bitcoin, or also known as API.
Interoperable: When you mix and match these APIs together, you can create applications that trigger and talk to one another in a deterministic manner.
Let you interact with bitdb using the bitquery language.
2. prerequisites
bitqueryd is a query engine that directly interfaces with a BitDB node. You must have direct access to a BitDB node through either a local or remote MongoDB URL. (An HTTP based module to come soon)
This library is for connecting directly to a BitDB MongoDB instance through mongodb:// url and is not for HTTP access. If you're looking for a public HTTP endpoint, this library is not what you're looking for. You can instead use the HTTP-based API endpoint at bitdb.network, which takes only a couple of minutes to get your app up and running.
3. install
npm install --save bitqueryd
4. usage
First initialize, and use the returned db object to make the query.