blockpays.io

Blockpays.io Api Integration Library

Usage no npm install needed!

<script type="module">
  import blockpaysIo from 'https://cdn.skypack.dev/blockpays.io';
</script>

README

Blockpays.io Application Programming Interface.

This library let integrate your application to our platform then use all service of cripto currencies that us have for you

Install

$ npm i blockpays.io

Usage

Javascrypt

Example: Checking validity of address BTCTEST

const Blockpays = require('blockpays.io')

const blockpays = new Blockpays('myblockpaysapikey')

blockpays.isValidAddress(
{
  'address': '2NC99GtVQ3r6M38h2LQ6wHmgJwFbiq93Fr5',
  'currencyId': 5
}).then((response) => {
console.log(response)
})

Json response:

{
  status: 'success',
  data: {
    network: 5,
    address: '2NC99GtVQ3r6M38h2LQ6wHmgJwFbiq93Fr5',
    is_valid: true
  }
}

License

MIT © Labsatoshi