Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
mathcoin-api
Advanced tools
MathCoin API Node js package
Создать апи ключ - https://m.vk.com/app6995668#create_merchant
Установить
npm i mathcoin-api
Использование
const MathCoinAPI = require ('mathcoin-api');
const api = new MathCoinAPI('апи ключ','vk id бота');
Функции
@summa - сумма
let transfer_link = api.get_link(summa);
@last_tx_id - номер последнего перевода после которого показать переводы
api.txList(last_tx_id,(err,resp)=>{
if(err) return;
if(resp.length>0){
console.log('Получено '+resp.length+' транзакций');
}
});
@id - чей баланс узнать @cb - ответ от сервера
api.score(1234 ,(score)=>{
console.log('Получен баланс: '+score);
});
api.send(1234, 10000, (res)=>{
console.log('Результат отправки: '+res['success']);
});
FAQs
MathCoin Api Wrapper
The npm package mathcoin-api receives a total of 0 weekly downloads. As such, mathcoin-api popularity was classified as not popular.
We found that mathcoin-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.