Operations

Blockchain state can be accessed using state access operations. There are two types of operations, read operation and write operation, and they are again classified into two categories: simple operation and composite operation. Simple operations are those that have only one access reference point (i.e., data path in the blockchain database), while composite operations have multiple access reference points.

Read Operations

There is no permission required for read operations.

Simple Operations

Composite Operations

Write Operations

Each write operation has permission requirements depending on its type and path reference.

Simple Operations

Composite Operations

There are two composite write operations, SET and BATCH:

The SET and BATCH operations can be compared as follows:

Last updated