1.0.5 • Published 11 months ago
cp-library v1.0.5
cp-library is used to get the coinpayments deposit address.
const coinPaymentsDotNet = require('./')
let client = new coinPaymentsDotNet({
publicKey: '',
privateKey: '',
primaryCurrency: 'USDT.BEP20',
ipnUrl: 'https://domain.com/webhook',
successUrl: '',
cancelUrl: ''
})
client.getDepositAddress(1).then(x => {
console.log(x)
})
Added items
-> getWithdrawalInfo -> getTranscation