Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in Blockchain by (4.1k points)

As ledger contains a sequence of transaction, How can I query the current state of ledger and Historic data from ledger?

1 Answer

0 votes
by (14.4k points)

For querying the ledger and historic data in Hyperledger Fabric, you can use QSCC. QSCC is a system chain code that is leveraged to query peers. Numerous queries can be performed including get block by number, get block by the transaction ID, etc. 

Browse Categories