PumpFun API - Cryptoscan
A TypeScript API wrapper for interacting with PumpFun on Solana blockchain.
Current Price: $900 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
Create buy/sell transactions for PumpFun tokens
Get real-time rates and price information
Fetch coin details
WebSocket support for real-time updates
Built-in retry mechanisms and error handling
Proxy support for requests
Installation
Quick Start
API Methods
Get Coin Information
Get Exchange Rate
Create Transaction
Listen to Price Updates
REST API Endpoints
The package includes a Hono-based HTTP server with the following endpoints:
GET /coin?address=<address>
- Get coin informationGET /rate?from=<from>&to=<to>&amount=<amount>
- Get exchange rateGET /createTransaction
- Create a new transaction
Configuration
Default parameters:
Buy slippage: 1%
Sell slippage: 5%
Network: Solana Mainnet
Error Handling
The API includes built-in retry mechanisms for network requests and comprehensive error messages. All methods will throw errors with descriptive messages when operations fail.
WebSocket Support
Real-time updates are available through WebSocket connections, with automatic reconnection handling and error recovery.
Requirements
Node.js 14+
Solana Web3.js
Active internet connection
License
ISC
Last updated