UNPKG

coinpayments

Version:

CoinPayments is a cloud wallet solution that offers an easy way to integrate a checkout system for numerous cryptocurrencies. Coinpayments now also offers coin conversion via Shapeshift.io.

38 lines (37 loc) 1.45 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CMDS = exports.API_VALID_RESPONSE = exports.API_FORMAT = exports.API_PATH = exports.API_HOST = exports.API_PROTOCOL = exports.API_VERSION = void 0; exports.API_VERSION = 1; exports.API_PROTOCOL = 'https:'; exports.API_HOST = 'www.coinpayments.net'; exports.API_PATH = '/api.php'; exports.API_FORMAT = 'json'; exports.API_VALID_RESPONSE = 'ok'; exports.CMDS = Object.freeze({ RATES: 'rates', GET_BASIC_INFO: 'get_basic_info', CREATE_TRANSACTION: 'create_transaction', GET_CALLBACK_ADDRESS: 'get_callback_address', GET_TX: 'get_tx_info', GET_TX_MULTI: 'get_tx_info_multi', GET_TX_LIST: 'get_tx_ids', BALANCES: 'balances', GET_DEPOSIT_ADDRESS: 'get_deposit_address', CREATE_TRANSFER: 'create_transfer', CREATE_WITHDRAWAL: 'create_withdrawal', CREATE_MASS_WITHDRAWAL: 'create_mass_withdrawal', CANCEL_WITHDRAWAL: 'cancel_withdrawal', CONVERT: 'convert', CONVERT_LIMITS: 'convert_limits', GET_WITHDRAWAL_HISTORY: 'get_withdrawal_history', GET_WITHDRAWAL_INFO: 'get_withdrawal_info', GET_CONVERSATION_INFO: 'get_conversion_info', GET_TAG_INFO: 'get_pbn_info', GET_TAG_LIST: 'get_pbn_list', BUY_TAG: 'buy_pbn_tags', CLAIM_TAG: 'claim_pbn_tag', UPDATE_TAG: 'update_pbn_tag', RENEW_TAG: 'renew_pbn_tag', DELETE_TAG: 'delete_pbn_tag', CLAIM_COUPON: 'claim_pbn_coupon', });