Skip to content

glambeth/zchain-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zchain-api

💰 a node.js wrapper for the zchain api

npm version Build Status

A simple way to access the Zchain api using promises

install

npm install --save zchain-api

example

var zchain_api = require('zchain-api').zchain();

var network = zchain_api.network()
network.then(function(data) {
	console.log(data);
});

var blocks = zchain_api.getBlocks('height', 'descending', 1, 0);
blocks.then(function(data) {
	console.log(data);
});

For more examples see examples.js

About

💰 a node.js wrapper for the zchain api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published