ChangellyJS
Unofficial Javascript SDK for changelly cryptocurrency exchange service API. For more detail about this API, visit the official document.
Install
npm install changelly-js
Custom Build
npm run build
Example
// nodejs // install this package to use fetch in nodejsconst Changelly = const apiKey = 'your api key'const apiSecret = 'your api secret'const changelly = apiKey apiSecret; changelly// 6.881168762500000000 changelly/** { id: '6308bn10e13o97m7', apiExtraFee: '0.5', changellyFee: '0.5', payinExtraId: null, amountExpectedFrom: '0.23', status: 'new', currencyFrom: 'eth', currencyTo: 'btc', amountTo: 0, amountExpectedTo: '0.00455935', payinAddress: '0xda6e060cdedd5ecdfe650b68e04c278ac0fee244', payoutAddress: '3AT4CYbw8UVNPhPNBrr5YwCrxLquKtFWWx', createdAt: '2019-12-09T03:23:13.000Z', kycRequired: false }**/