PySolscan
It's a minimal wrapper around Solscan.io API
Block -
get_last_block(limit=10)Get last [limit] blocks (Default Limit: 10)get_block_transactions(limit=10,offset=0,block=None)Get block transactions.get_block_info(block=None)Detail information of given block.
Transaction -
get_last_transaction(limit=10)Get last [limit] transactionsget_transaction_signature_info(signature=None)Detail information of given transaction signature
Account -
get_account_token(account=None)Get token balances of the given accountget_account_transaction(account=None,beforeHash=None,limit=10)Get list of transactions of the given account.get_account_stakeAccounts(account=None)Get staking accounts of the given accountget_account_splTransfers(account=None,limit=10,offset=0,fromTime=None,toTime=None)Get list of transactions make tokenBalance changes.get_account_solTransfers(account=None,limit=10,offset=0,fromTime=None,toTime=None)Get list of SOL transfersget_account_exportTransactions(account=None,type='all',fromTime=None,toTime=None)Export transactions to CSV. Returns Blob URLget_account_info(account=None)Get overall account information, including program account, NFT metadata information
Token -
get_token_holder(tokenaddr=None,limit=10,offset=0)Get token holdersget_token_meta(tokenaddr=None)Get metadata of given tokenget_token_list(sortBy='market_cap',direction='desc',limit=10,offset=0)Get list of tokens.
Market -
get_market_token_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
Metadata
Release files for pysolscan 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysolscan-0.0.6.tar.gz | 4.3 kB | Without provenance | Details for pysolscan-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysolscan-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for pysolscan-0.0.6-py3-none-any.whl |
Total release size: 8.8 kB
Release files / pysolscan-0.0.6.tar.gz
| Download URL | pysolscan-0.0.6.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
535bb3940cd220286822cd48c338b09ac47fdc956afa45e2720155e1547d3fb4
|
|
BLAKE2b-256 checksum How to use checksums |
598ca438635fdc4747a326ce3245f7abea213c8b5be2372007ea985aa62ca40b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / pysolscan-0.0.6-py3-none-any.whl
| Download URL | pysolscan-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81d6b177626a702724356b44db341f4304050ba1011604216ccb7b067dbd7d5c
|
|
BLAKE2b-256 checksum How to use checksums |
c8785eeb6c2397a9a774a88e1c19a28f248d423d0460f37c6de353e7d6869df3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for pysolscan 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.