1.2.4 • Published 1 year ago

dc-push-rank-api v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

FaucethubAPI

Unofficial module for Faucethub API

Constructor

    /**
     * @param api_key Faucethub API Key
     * @param currency A valid currency acronym
     */
    constructor (api_key, currency = 'BTC')

send

    /**
     * @description The method to send coins to an address
     * @param to The coin address you are sending to
     * @param amount The amount to send in satoshi
     * @param referral Set this value to true, 1, or simply leave it blank. Use it to indicate that this payout is a referral earning
     * @param ip_address Include the user's IP address to help contribute to the fight against bots and malicious users
     * @param callback The callback
     */
    public send(to, amount, referral, ip_address, callback)

getPayouts

    /**
     * @description The method to get the last few payouts you did, up to 10.
     * @param count A value between 1 and 10, defaults to 1
     * @param callback The callback
     */
    public getPayouts(count, callback)

getCurrencies

    /**
     * @description The method to get a list of all the currencies we support on our platform and their status
     * @param callback The callback
     */
    public getCurrencies(callback)

getBalance

    /**
     * @description The method to get your account balance in any supported currency
     * @param callback The callback
     */
    public getBalance(callback) 

checkAddress

    /**
     * @description The method to check if their currency address belongs to an account
     * @param address The coin address you checking
     * @param callback The callback
     */
    public checkAddress(address, callback)

Example

    const FaucethubAPI = require('faucethubapi');

	let faucethubapi = new FaucethubAPI('azertyuiopqsdfghjklmwxcvbn', 'DOGE')
	
	// Send 0.5 DOGE
	faucethub.send('DN2G517mi4snqc3eewBRLgdATVCfQwPQ6f', 50000000, false, "", (res) => {
       console.log(res);
    });
   
	
tak-ada-garuda-di-dadakutantang-tiraniwikon-wibukontol-appweb3-based-linuxweb3-music-makerwota-wibu-bersatu-appwibu-watcher-appiso-ora-toolkids-and-code-mobilekids-need-codingkids-on-chain-appkentot-lah-appkappa-brand-nftmonstrada-roda-empat-projectstussy-brand-nftsupreme-brand-nftsurvive-from-police-appsong-nft-onchainsong-finder-androidsong-finder-iostutorial-kripto-appterra-angkaravirtual-dj-androidzksync-nft-builder-app@richxprams/dc-push-rank-new@richxprams/discord-push-rank-api@richxprams/mencarimusic-on-web3-webmusic-onchain-appmode-nft-builder-appmorbid-funknakama-project-appoptimism-nft-builder-apppackage-name-1package-name-3opbnb-nft-builder-apppecahan-tengkorakpanoptikanubispajatkan-doa-doa-appsarang-semut-projectsenayan-track-mapsnike-brand-nftnew-way-to-learn-crypto-appnew-app-from-cronosnft-for-lifenft-builder-cronospenak-jamanku-toh-apppolygon-nft-builder-apppuncalau-projectpukimax-max-propuma-brand-nftpurgatori-martirrabbit-project-oneradio-raheemradio-raheem-remixsinger-streamer-appsinger-web3-karaokegratisan-kripto-apkiiisurreskhunillsurrekshunhidup-indah-projectgrew-up-with-cro-iohangout-designer-nfthangout-discord-gamer-appintro-6-6-6list-lagu-hip-hoplinux-for-cronoslinux-for-web3life-with-cronos-applinux-nft-onchainlens-cronos-applearn-way-to-rich-booklearn-new-way-to-die-mobileklandestinmendang-mending-climendang-mending-appmekitot-mekitut-iomencari-cara-baru-toolmencari-harun-masiku-gamemencari-jati-diri-appmencari-kripto-gratismencari-wibu-bangsadmelihat-jendela-projectmegatukadandroid-cronos-miningaku-mah-nubi-osa-c-a-gadidas-brand-nftafter-milk-appa-way-to-heaven-appa-way-to-projectanime-cronos-nftanime-discord-botanime-for-all-appanime-nft-builder-croanime-builder-cronos-chainback-to-crypto-projectanjailani-scriptassc-brand-nftbait-kematian
1.2.4

1 year ago