GithubHelp home page GithubHelp logo

explorer's Introduction

currencytx by explorer

Pay futbol

Multiple third-party channel currencies are consolidated to allow simultaneous query of multiple currencies

  • Pay futbol blockchain explorer search tools
logo id name ver doc certified
block.io block.io block.io 2 Api payfutbol Certified
btc.com btc.com btc.com 3 Api payfutbol Certified
SoChain SoChain SoChain 2 Api payfutbol Certified
Etherscan Etherscan Etherscan * Api payfutbol Certified
blockchair Blockchair Blockchair 2.0.39 Api payfutbol Certified
blockcypher BlockCypher Blockcypher 1 Api

INSTALL

npm install payfutbol-currencytx

Run Code

import explorer from "payfutbol-currencytx";
    let btcExplorer = new explorer.btcExplorer('btc');
    
    btcExplorer.getUnTx().then(res=>{
      console.log(res);
    });
    
    let blockIoExplorer = new explorer.blockIoExplorer('Your Api KEY');
    
    blockIoExplorer.getBalance().then(res=>{
      console.log(res);
    });
    
    let etherscanIoExplorer = new explorer.etherscanIoExplorer('mainnetcn');
    etherscanIoExplorer.getSupply().then(res=>{
      'use strict'
      console.log(res);
    });
    let sochainExplorer = new explorer.sochainExplorer('btc');
    sochainExplorer.getInfo().then(res=>{
      'use strict'
      console.log(res);
    });
    let blockchairExplorer = new explorer.blockchainExplorer('YourApiKey');
    blockchairExplorer.setChain('erc20'); //Setting network
    blockchairExplorer.getStats().then(res=>{
        console.log(res);
    })
     
    let blockchairExplorer = new model.blockcypherExplorer('');
    let chain =  process.argv[2] ? process.argv[2] : 'btc';
    blockchairExplorer.setChain(chain, 'main');
    let cmd = process.argv[3] ? process.argv[3] : 'getHelper';
    let params = process.argv[4] ? process.argv[4] : "";
    eval(`blockchairExplorer.${cmd}('${params}')`).then(res=>{
      console.log(JSON.stringify(res));
    });

    

Object initialize

  • We need different parameters when initializing each channel, so let's give a brief introduction.

btcExplorer from BTC.com

This object requires that you initialize the supplied parameter as currency type. It includes BTC, LTC, BCH and ETH.

  1. BTC
  2. ETH
  3. BCH
  4. LTC

blockIoExplorer from Block.io

  • This object requires you to initialize the supplied parameter as api-key.

etherscanIoExplorer from etherscan.io

  • This object requires that you provide two parameters for initialization, namely network type and API-KEY.
network type desc
mainnetcn CN mainnet
mainnet Common mainnet
rinkeby Rinkeby
ropsten Ropsten
kovan Kovan
goerli Goerli
ewc Ewc

sochainExplorer from sochain.com

  • This object requires that you initialize the supplied parameter as currency networks type. It includes BTC,LTC, DOGE, DASH,ZEC, BTCTEST,DASHTEST,ZECTEST,DOGETEST,LTCTEST
Blockchain(Network) Acronym Info
Bitcoin BTC The main Bitcoin network. Currency has value.
Dash DASH The main Dash network. Currency has value.
Zcash ZEC The main Zcash network. Currency has value.
Dogecoin DOGE The main Dogecoin network. Currency has value.
Litecoin LTC The main Litecoin network. Currency has value.
Bitcoin (Test Net) BTCTEST The Bitcoin test network. Currency has no value.
Dash (Test Net) DASHTEST The Dash test network. Currency has no value.
Zcash (Test Net) ZECTEST The Zcash test network. Currency has no value.
Dogecoin (Test Net) DOGETEST The Dogecoin test network. Currency has no value.
Litecoin (Test Net) LTCTEST The Litecoin test network. Currency has no value.

blockchairExplorer from blockchair.com

  • This object requires that you initialize the supplied parameter as api_key. if you does not support api_key , Your request will be limited

support network

Blockchain(Netework) Acronym Group Support status
Bitcoin BTC Bitcoin-like Full support
Bitcoin cash BCH Bitcoin-like Full support
Ethereum ETH Ethereum-like Full support
Litecoin LTC Bitcoin-like Full support
Bitcoin SV BSV Bitcoin-like Full support
Dogecoin DOGE Bitcoin-like Full support
Dash DASH Bitcoin-like Full support
Ripple XRP Ripple-like Alpha mode, possible compatibility-breaking changes
Groestlcoin GRS Groestlcoin Full support, community-backed till June 18th, 2020
Stellar XLM Stellar-like Alpha mode, possible compatibility-breaking changes
Omni Layer OMNI Omni-like Alpha support
ERC-20 ERC20 ERC-20-like Beta support

Test network support

Blockchain(Network) Acronym Group Support
Bitcoin Testnet BTCTEST Bitcoin-like Full support

blockcypherExplorer from blockcypher.com

  • This object requires that you initialize the supplied parameter as api_key. if you does not support api_key , Your request will be limited

support network

Coin Chain Resource
Bitcoin Main api.blockcypher.com/v1/btc/main
Bitcoin Testnet3 api.blockcypher.com/v1/btc/test3
Dogecoin Main api.blockcypher.com/v1/doge/main
Litecoin Main api.blockcypher.com/v1/ltc/main
BlockCypher Test api.blockcypher.com/v1/bcy/test

Update remark

1. add a blockchain api(**sochain.com**)
2. update initialize params check
3. update donation address.
4. add a blockchain api(**blockcypher.com**)

donation

  • BCH bitcoincash:qqm65p0mvuutegqene9g9ya3v6rv7vxra5278v95gm
  • BTC 12rX8FQLop9jJtUKWJm3USXJ9q64NJAoNr
  • ETH 0x41a2caf1bc82c022327a949a5b1867d42a0e786c
  • LTC LcrUgfLYYAD7JY7WMk4Y7wuineTRvLsUz4
  • DOGE DKk4cx6bCoRTArbhbNbvtjKMcP4Pv2gSo9

explorer's People

Contributors

phpjourney avatar

Forkers

phpjourney

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.