- accountStats(uuid) ⇒
Promise
Get an account stats.
- calculate(body) ⇒
Promise
Get calculated reward for a coin.
- coins(coin) ⇒
Promise
Get coins list | a coin info.
- news() ⇒
Promise
Get the pool news.
- pay(uuid) ⇒
Promise
Ask a payment for a coin.
- payouts(uuid, params) ⇒
Promise
Get a coin payouts.
- pool() ⇒
Promise
Get the pool info.
- referral(uuid) ⇒
Promise
Get your referral code.
- settings(body) ⇒
Promise
Set settings for a coin (1 at a time).
- stats() ⇒
Promise
Get the pool stats.
- version(params) ⇒
Promise
Get the website | miner version.
- wallet(params) ⇒
Promise
Get a wallet | account info.
- workers(uuid) ⇒
Promise
Get your workers stats.
Get an account stats.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
uuid | String |
uuid: can be found in client.wallet() |
Example
accountStats("0cc5691e-cedb-11eb-b8bc-0242ac130003");
Get calculated reward for a coin.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
algo | String |
algorithm |
coin | String |
coin symbol |
hashrate | Number |
hashrate for this algorithm |
Example
calculate("ethash", "DOGE", 30);
Get a coin info.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
coin | String |
coin symbol |
more | Boolean |
show more infos: payment info + rewards |
Example
coin("ETH");
coin("ETH", true);
Get all pool coins.
Kind: method
Returns: Promise
Example
coins();
Get the pool news.
Kind: method
Returns: Promise
Example
news();
Ask a payment for a coin.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
uuid | String |
uuid: can be found in client.wallet() |
Example
pay("0cc5691e-cedb-11eb-b8bc-0242ac130003");
Get a coin payouts.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
uuid | String |
uuid: can be found in client.wallet() |
page | Number |
payouts page |
Example
payouts("0cc5691e-cedb-11eb-b8bc-0242ac130003");
payouts("0cc5691e-cedb-11eb-b8bc-0242ac130003", 1);
Get the pool info.
Kind: method
Returns: Promise
Example
pool();
Get your referral code.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
uuid | String |
uuid: can be found in client.wallet() |
Example
referral("0cc5691e-cedb-11eb-b8bc-0242ac130003");
Set settings for a coin (1 at a time).
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
body | Object |
request body |
body.uuid | String |
uuid: can be found in client.wallet() |
body.autoPay | Boolean |
auto pay setting |
body.network | String |
network setting |
Example
settings({ uuid: "0cc5691e-cedb-11eb-b8bc-0242ac130003", autoPay: true });
settings({ uuid: "0cc5691e-cedb-11eb-b8bc-0242ac130003", network: "BSC" });
Get the pool stats.
Kind: method
Returns: Promise
Example
stats();
Get the website | miner version.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
params | Object |
query params |
params.type | String |
type: website / miner |
Example
version({ type: "website" });
version({ type: "miner" });
Get a wallet | account stats.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
params | Object |
query params |
params.address | String |
wallet address |
params.uuid | String |
uuid |
params.coin | String |
coin symbol |
Example
wallet({ address: "0xfd2D76F7Cf04863F2B221E56Af6fF94105EC2e5e", coin: "ETH" });
wallet({ uuid: "0cc5691e-cedb-11eb-b8bc-0242ac130003" });
Get your workers stats.
Kind: method
Returns: Promise
Param | Type | Description |
---|---|---|
uuid | String |
uuid: can be found in client.wallet() |
Example
workers("0cc5691e-cedb-11eb-b8bc-0242ac130003");