Jupiter API - Cryptoscan
A TypeScript wrapper for Jupiter DEX API on Solana blockchain with proxy support and rate fetching capabilities.
Current Price: $120 Contacts: https://t.me/dan_cryptoscan
What you get:
Free setup into your hosting
Free help to integrate app to your server
Full access to the codebase and code updates
Free updates for app, you can request for free updates via access to issues
Full access to Project Time tracking by developers
Features
Get exchange rates for Solana tokens
Create swap transactions
Automatic retry mechanism for failed requests
Proxy support for requests
Price impact and fee calculations
Multi-route swaps support
Installation
Usage
Basic Setup
Getting Exchange Rates
Creating a Transaction
Rate Response Structure
The getRate method returns a Rate object with the following structure:
API Endpoints
The service exposes two HTTP endpoints:
GET /
Gets the exchange rate for specified tokens
Query Parameters:
from
(optional): Source token address (defaults to USDC)to
: Target token addressamount
(optional): Amount to swap (defaults to 1)slippage
(optional): Slippage tolerance in percentage (defaults to 1)
GET /createTransaction
Creates a swap transaction
Query Parameters:
from
: Source token addressto
: Target token addressamount
: Amount to swapwalletAddress
: Solana wallet address
Development
Dependencies
@cryptoscan/solana-sdk: Solana blockchain interaction
@javeoff/proxy-fetch: Proxy support for API requests
bs58: Base58 encoding/decoding
hono: HTTP server framework
p-retry: Retry mechanism for failed requests
License
ISC
Last updated