-1

i want to fetch data from blockchain ledger instead of statedb like couch and leveldb.i want to write chaincode method that count the total record from blockchain ledger.

Umeraqeel
  • 1
  • 6

1 Answers1

1

Chaincode API doesn't provide such functionality if I'm not mistaken, you can only get state by key or perform a rich query if you use couchdb for example.

MimoKrok
  • 121
  • 2