flexpool
flexpool API
usage
const Flexpool = require("@surfingpikachu/flexpool")
const flexpool = new Flexpool({
address: process.env.FLEXPOOL_ADDRESS
})
methods
-
.getBalance()
- get your current balance -
.getChart()
- get miner statistics chart (hashrates and shares) -
.status("workerName")
- returns status of all workers. pass the name of a specific worker to return that worker's status