New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathcoin-sdk

Модуль для работы с API MathCoin


Version published
Maintainers
1
Created

MathCoin API

Документация MathCoin API

Установка

$ npm install mathcoin-sdk

Пример использования

const MathCoin = require("mathcoin-sdk");

const api = new MathCoin ({ user_id: user_id, token "token" })

api.score().then((result) => {
    console.log(result);
}).catch((e) => {
    console.log(e);
});

(async function example() {
    try {
        result = await api.score();
        console.log(result);
    } catch (e) {
        console.log(e);
    }
})()

Методы SDK

API МетодМетод в коде
tx_listtxList
send_scoresendScore
scorescore
getLink
*call

FAQs

Package last updated on 07 Jun 2021

Did you know?

Socket

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.

Install

Related posts