Socket
Socket
Sign inDemoInstall

faucetpayjs

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    faucetpayjs

NodeJS Based API collection of FaucetPay.io


Version published
Maintainers
1
Install size
404 kB
Created

Readme

Source

FaucetPayJS

NodeJS Based API collection of FaucetPay.io

Installation

npm i --save faucetpayjs

API Endpoints

How to start

const { API } = require('FaucetPayJS');
const myAPI = new API(process.env.API_KEY);
myAPI.getBalance().then(data => {
	console.dir(data)
})

Response

{
  status: 200,
  message: 'OK',
  currency: 'BTC',
  balance: '174',
  balance_bitcoin: '0.00000174'
}

API Methods

Get Balance

API.getBalance(currency='BTC')
Aliases
API.balance

List Currencies

API.getCurrencies()
Aliases
API.currencies
API.checkCurrencies

Check If Address Linked

API.checkAddress(address, currency='BTC')
Aliases
API.isAddressExist
API.findAddress

Send Funds

API.send(amount, to, currency='BTC', referral=false, ipaddress='0.0.0.0')
Aliases
API.tip
API.transfer
API.withdraw

API.withdrawto

List Your Faucet's Payout

API.payouts(currency='BTC', count=100)
Aliases
API.getPayouts
API.listPayouts
API.recentPayouts

List Faucets on Faucet List

API.faucetlist()
Aliases
API.faucetList
API.listFaucet
API.faucetLists
API.listFaucets
API.fetchFaucet
API.fetchFaucets
API.retrieveFaucets
API.fetchRotator

Contributing

  1. I use ' instead of " for string or character
  2. No semicolons, sorry.
  3. No trailing space (ex. a = 1 + 1 )
  4. Add space before and after curly-braces (except if its making trailing spaces)
  5. Minimum line changed is 2
  6. DO NOT CHANGE THE BRAND, that's stupid.

End Notes

Thank you for visiting this page! Appreciate my works by Following, being a Stargazer, Contribute to the project or Donate me via cryptocurrency down below

BTC, ETH, LTC, BCH, DASH, DGB, FEY via FaucetPay (username: Hanz)
DOGE : DFazapEWQNFBDMRN4Soo4iGDRgdqKqUSfR
WAVES : use alias (hanz, hanzhaxors, haxors)

Keywords

FAQs

Last updated on 02 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc