blockpays.io
v1.0.3
Published
Blockpays.io Api Integration Library
Downloads
9
Maintainers
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