RAMOp
Type RAMOp
A RAMOp
is a modification to the RAM consumed by an account. RAM operations on dfuse are scoped down to the action
.
Properties
op
required
String
Operation. See enum below.
action_idx
required
Number (uint16)
Position of the action within the transaction, going depth-first in
inline_actions
. 0-based index.
payer
required
AccountName
Payer that is credited or debited some RAM usage
delta
required
Number (int64)
Number of bytes freed (negative) or consumed (positive) by
payer
.
usage
required
Number (uint64)
Number of bytes available to
payer
after this operation affects his RAM balance.
Here is a list of operations with the reasons for the consumption:
create_table
: creation of a tabledeferred_trx_add
: storing deferred transactiondeferred_trx_cancel
: canceling deferred transactiondeferred_trx_pushed
: creating deferred transactiondeferred_trx_removed
: executing deferred transaction. NOTE: that this one is the only one that is really scoped to the transaction, and not the action. You can ignore the value ofaction_idx
whenop
isdeferred_trx_removed
.deleteauth
: deleting authoritylinkauth
: linking authoritynewaccount
: creating new accountprimary_index_add
: storing row (primary)primary_index_remove
: removing row (primary)primary_index_update
: updating row (primary)primary_index_update_add_new_payer
: storing payer (primary)primary_index_update_remove_old_payer
: removing payer (primary)remove_table
: removing a tablesecondary_index_add
: storing row (secondary)secondary_index_remove
: removing row (secondary)secondary_index_update_add_new_payer
: storing payer (secondary)secondary_index_update_remove_old_payer
: removing payer (secondary)setabi
: updating ABI for accountsetcode
: updating contract for accountunlinkauth
: unlinking authorityupdateauth_create
: creating new permissionupdateauth_update
: updating permission