Created
November 4, 2021 12:22
-
-
Save carsontang/7fec00fcb822f83e5b5c8908bbd57be8 to your computer and use it in GitHub Desktop.
Command to pull SAMO hodlers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://api.mainnet-beta.solana.com -X POST -H "Content-Type: application/json" -d ' | |
{ | |
"jsonrpc": "2.0", | |
"id": 1, | |
"method": "getProgramAccounts", | |
"params": [ | |
"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU", | |
{ | |
"encoding": "jsonParsed", | |
"filters": [ | |
{ | |
"dataSize": 165 | |
}, | |
{ | |
"memcmp": { | |
"offset": 32, | |
"bytes": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU" | |
} | |
} | |
] | |
} | |
] | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment