DBOp
Type DBOp
A DBOp
represents a database operation. They appear in the table_delta
and table_snapshot
WS responses. They are also found in the responses from the REST /v0/state/table.
Properties
op
required
String
Operation. One of
REM
(removal), UPD
(update) or INS
(insertion)
action_idx
required
Number (uint16)
Position of the action within the transaction, going depth-first in
inline_actions
. 0-based index.
account
required
AccountName
Contract account in which this database operation occurred.
scope
Optional
Name
Scope within the contract account, in which the database operation occurred. Not repeated within a Table, the table specifies the
scope
.
key
Optional
Name
Represents the primary key of the row in the table.
old
Optional
new
Optional