I have been trying to get block information and other block level queries using QSCC. Can someone please help me with the steps/ or direct me to a helpful resource. So far I haven't come across any helpful information apart from the docs system-chaincode
Asked
Active
Viewed 525 times
1
-
Are you using any sdk or trying out through peer commands? – Mrudav Shukla Jan 08 '20 at 09:59
-
java sdk and also trying with peer commands as well. So far I tried with the peer chaincode query command on qscc chaincode but it returns some gibberish results. – Saif Ali Jan 08 '20 at 10:52
-
Ok. And which sdk method are you using to get the block information? – Mrudav Shukla Jan 08 '20 at 12:53
-
I havent found any sdk method for that unfortunately. – Saif Ali Jan 08 '20 at 13:15
-
Have you tried running queryBlockByNumber or queryBlockByTransactionID or queryBlockByHash from java-sdk? – Mrudav Shukla Jan 09 '20 at 05:07
-
I have tried those from cli, but it returns gibberish results. Will try from sdk as well. – Saif Ali Jan 09 '20 at 05:45