Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: kbyte
node v8.17.0
version:
1.0.2
endpoint
share
tweet
const kbyte = require("kbyte"); // Init WebSocket client const client = new kbyte.Client('wss://byteball.org/bb'); // Get peers client.request('get_peers', null, (err, result) => { console.log(err, result); }); // Get joint client.request('get_joint', 'q4i9v8JsEXHxnccZoe4kP35OBnDG986WFifU9eoM5s4=', (err, result) => { console.log(err, result); });
Created from: https://npm.runkit.com/kbyte
Loading…
no comments
sign in
to comment