Pump Fun API Wrapper is a Python package designed to facilitate interaction with the pump.fun frontend API. It provides a comprehensive set of functions for retrieving transaction data, managing user and coin information.
- Retrieve the latest trades and transaction history.
- Query information about available coins.
- User management and information retrieval.
TO DO: Get to work the post, put, delete methods
You can install this package via pip using:
pip install pumpfun
import pumpfun
from pumpfun import get_all_trades, get_sol_price
# Retrieve the latest trades for a given mint
trades = get_all_trades(mint="7vJY...pump", limit=10)
print(trades)
# Get the current SOL price
sol_price = get_sol_price()
print(f"Current SOL Price: {sol_price}")
This project is licensed under the MIT License. See the LICENSE
file for more details.
Contact: [email protected]