You are viewing a single comment's thread from:

RE: Dhive to MongoDB Typescript Example

in #hivedevs4 years ago

So then, I guess that it's an array of size 1? (probably most recent block)

It then returns the id of that block. My guess is that the Javascript Devs made the getBlocks() function return an array for future flexibility. I'm still a novice so I might be reading the javascript wrong ...