Minimal python wrapper for Solscan.io Api
Last updated Nov 26, 2025
31
Stars
7
Forks
0
Issues
0
Stars/day
Attention Score
17
Topics
Language breakdown
Python 100.0%
▸ Files
click to expand
README
PySolscan
It's a minimal wrapper around Solscan.io API
Block -
Get last [limit] blocks (Default Limit: 10)(limit=10)
Get block transactions.(limit=10,offset=0,block=None)
Detail information of given block.(block=None)
Transaction -
Get last [limit] transactions(limit=10)
Detail information of given transaction signature(signature=None)
Account -
Get token balances of the given account(account=None)
Get list of transactions of the given account.(account=None,beforeHash=None,limit=10)
Get staking accounts of the given account(account=None)
Get list of transactions make tokenBalance changes.(account=None,limit=10,offset=0,fromTime=None,toTime=None)-
Get list of SOL transfers(account=None,limit=10,offset=0,fromTime=None,toTime=None) -
Export transactions to CSV. Returns Blob URL(account=None,type='all',fromTime=None,toTime=None) -
Get overall account information, including program account, NFT metadata information(account=None)
Token -
Get token holdersgettokenholder(tokenaddr=None,limit=10,offset=0)
Get metadata of given tokengettokenmeta(tokenaddr=None)
Get list of tokens.gettokenlist(sortBy='market_cap',direction='desc',limit=10,offset=0)
Market -
Get market information of the given tokengetmarkettoken_info(tokenaddr=None)
Chain Information -
Get market information of the given tokenget_chaininfo()
Installation
PySolscan package is available via Pipy or Github.pip install pysolscan
Plugins
PySolscan doesn't require many packages except Python Requests
| Package | Pipy | | ------ | ------ | | Python Requests | https://pypi.org/project/requests/ |
License
MIT🔗 More in this category