
Eos API
Application programming interface to EOS blockchain nodes. This is mostly for read-only API calls. If you decide you need to sign transactions, your better off using this API in the eosjs package.
Status: Beta
Usage
Testnet = require('eosjs-api/testnet')
assert = require('assert')
testnet = Testnet()
testnet.getInfo()
callback = (err, res) => {err ? console.error(err) : console.log(res)}
testnet.getInfo(callback)
testnet.getBlock(1, callback)
testnet.getBlock({block_num_or_id: 1}, callback)
API Documentation
The API methods and documentation are stored in JSON files in this folder.
Environment
Node 6+ and browser (browserify, webpack, etc)
TODO
Automate code-coverage after a public testnet is available.