Skip to content

Retrieve an XRP Ledger in JSON by sequence number

License

Notifications You must be signed in to change notification settings

5l1v3r1/getLedger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getLedger

Retrieve an XRP Ledger in JSON by sequence number

Run the "build" script. Edit it if necessary.

It will produce two executables: ledger.compact will get ledgers in compact JSON ledger.pretty will get ledgers in pretty JSON

Both programs take a single parameter, the ledger index to be retrieved.

They will produce a file called ledger. which contains the ledger header, transactions (if any), and full state tree.

This is quick and dirty code that has not been well-tested or thoroughly debugged. In particular, it does not handle error conditions well.

About

Retrieve an XRP Ledger in JSON by sequence number

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.8%
  • Other 0.2%