Crypto Prices
Retrieve current cryptocurrency prices and exchange rates used for transaction calculations.
Get Current Prices
Section titled “Get Current Prices”curl -X GET https://quinix.byteconnect.us/crypto_pricesResponse
Section titled “Response”{ "success": true, "prices": { "BTC": 67500.00, "LTC": 85.50, "ETH": 3450.00, "BCH": 485.00, "DASH": 32.50, "DOGE": 0.125, "USDT": 1.00 }, "timestamp": "2024-03-15T14:30:00Z"}Response Fields
Section titled “Response Fields”| Field | Type | Description |
|---|---|---|
prices | object | Current USD price for each cryptocurrency |
timestamp | string | When prices were last updated |
Supported Cryptocurrencies
Section titled “Supported Cryptocurrencies”| Currency | Symbol | Description |
|---|---|---|
| Bitcoin | BTC | Primary cryptocurrency |
| Litecoin | LTC | Fast, low-fee transactions |
| Ethereum | ETH | Smart contract platform |
| Bitcoin Cash | BCH | Bitcoin fork with larger blocks |
| Dash | DASH | Privacy-focused cryptocurrency |
| Dogecoin | DOGE | Community-driven cryptocurrency |
| Tether | USDT | USD-pegged stablecoin |
Price Usage
Section titled “Price Usage”Prices are used to:
- Calculate crypto amounts - When creating a transaction, the USD amount is converted to crypto using these rates
- Display equivalents - Show customers the USD value of their payment
- Lock exchange rates - Rates are locked when a transaction is created
Rate Locking
Section titled “Rate Locking”When you create a transaction:
- Current exchange rate is captured
- Rate is locked for the transaction timeout period (typically 15 minutes)
- Customer pays the locked crypto amount regardless of price fluctuations
- You receive the exact USD equivalent specified
Refresh Interval
Section titled “Refresh Interval”Prices are updated approximately every 60 seconds. For the most accurate conversion, create transactions close to when the customer is ready to pay.