Skip to content

python notebook for calling solana rpc and parsing data

Notifications You must be signed in to change notification settings

Ben-Haslam/solana-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solana-rpc

python notebook for calling solana rpc and parsing data

Setup

virtualenv env
source env/bin/activate
pip install -r requirements.txt

Download a block to file using bash

'''bash curl https://api.mainnet-beta.solana.com -X POST -H "Content-Type: application/json" -d ' {"jsonrpc": "2.0","id":1,"method":"getBlock","params":[100356971, {"encoding": "json","transactionDetails":"full","rewards":false}]} ' -o block.json '''

Do some analysis with python

''' jupyter notebook '''

About

python notebook for calling solana rpc and parsing data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published