aryabhthakur
pysolscan
Python

Minimal python wrapper for Solscan.io Api

Last updated Nov 26, 2025
31
Stars
7
Forks
0
Issues
0
Stars/day
Attention Score
17
Language breakdown
Python 100.0%
Files click to expand
README

PySolscan


It's a minimal wrapper around Solscan.io API

Block -
  • (limit=10)
    Get last [limit] blocks (Default Limit: 10)
  • (limit=10,offset=0,block=None)
    Get block transactions.
  • (block=None)
    Detail information of given block.
Transaction -
  • (limit=10)
    Get last [limit] transactions
  • (signature=None)
    Detail information of given transaction signature
Account -
  • (account=None)
    Get token balances of the given account
  • (account=None,beforeHash=None,limit=10)
    Get list of transactions of the given account.
  • (account=None)
    Get staking accounts of the given account
  • (account=None,limit=10,offset=0,fromTime=None,toTime=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,type='all',fromTime=None,toTime=None)
    Export transactions to CSV. Returns Blob URL
  • (account=None)
    Get overall account information, including program account, NFT metadata information
Token -
  • gettokenholder(tokenaddr=None,limit=10,offset=0)
    Get token holders
  • gettokenmeta(tokenaddr=None)
    Get metadata of given token
  • gettokenlist(sortBy='market_cap',direction='desc',limit=10,offset=0)
    Get list of tokens.
Market -
  • getmarkettoken_info(tokenaddr=None)
    Get market information of the given token
Chain Information -
  • get_chaininfo()
    Get market information of the given token

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

© 2026 GitRepoTrend · aryabhthakur/pysolscan · Updated daily from GitHub