Extending the use cases
microRollup
object
actions
getSchema
returns the schema of the action
submit
submits an action to the micro-rollup
fetch
fetches an action from the micro-rollup using the action hash
usage example
state
get
returns the latest state
usage example
chain
getCurrentHeight
returns the current height of the chain
getBlockByHeight
returns the block at a given height
getBlockByHash
returns the block at a given hash
usage example
builder
{autorun: false}
for builder you can manually build a batch of actions like this
syncer
{autorun: false}
for syncer you can manually build a batch of actions like this
events