1.2.1 • Published 4 years ago

coinspot-readonly-api v1.2.1

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Read Only Coinspot API

Forked from the original SDK which did not support read only at all, and has not been touched in 6 years.

Links & Resources

Example Usage

var coinspot = require('coinspot-api');

var key = ''; // insert your key here
var secret = ''; // insert your secret here

var coinspotClient = new coinspot(key, secret);

// Simple balance check
coinspotClient.balances((e, data) => {
    console.log(data);
});

// Check balance by coin
// eg: 'BTC', 'LTC', 'DOGE' -- appears to be case insensitive
coinspotClient.balanceByCoin('BTC', (e, data) => {
    console.log(data);
});

// List deposits - note empty params
coinspotClient.deposits({}, (e, data) => {
    console.log(data);
});

// List deposits - with start and/or end date
// Note lowercase startdate/enddate
coinspotClient.deposits({ startdate: '2020-01-01'}, (e, data) => {
    console.log(data);
});

// List referral payments
coinspotClient.referralPayments((e, data) => {
    console.log(data);
});

Supported Calls

QuerySupported
List My BalancesYes
List a Coins BalanceYes
List Deposit HistoryYes
List Withdrawal History🕑 Not yet
List Transaction History🕑 Not yet
List Coin Transaction History🕑 Not yet
List Open Transactions🕑 Not yet
List Coins Open Transactions🕑 Not yet
List Send & Receive Transactions🕑 Not yet
List My Affiliate Payments🕑 Not yet
List My Referral PaymentsYes

Support

Bitcoin (Coinspot!) address: 1J1PbX42RYYk1auWe1ujGunM9cdP1xW4wF

Bitcoin Address

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.2.1

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago