Skip to content

solana validator history: retrieve and store solana vote account transactions in batches, saving them to json.

License

Notifications You must be signed in to change notification settings

1000xsh/solana-validator-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solana-validator-history

fetches the transaction history for a solana vote account and saves it to a local json file. it queries the solana blockchain in batches and respects the rate limit.

config

change VOTE_ACCOUNT_ADDRESS

requirements

  • node
  • npm, yarn or pnpm
  • solana vote account public key

install

npm install

run

npx ts-node index.ts

json output

  {
    "blockTime": 1711007833,
    "confirmationStatus": "confirmed",
    "err": null,
    "memo": null,
    "signature": "2WdyahigjqwQ9f8e5QDnQuS2v8o722Vo1k7HCWVtLMw342vGHrCWNY8zkG7PfiHKfd14xt3NRdahNfRc6Nc51sEt",
    "slot": 255506148
  },

About

solana validator history: retrieve and store solana vote account transactions in batches, saving them to json.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published