Socket
Socket
Sign inDemoInstall

coinspot-readonly-api

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

coinspot-readonly-api


Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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.

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

Keywords

FAQs

Last updated on 16 Mar 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc