...
and are organized by defining the table where record needs to be added as well as data source, typically from the trace.
Trigger: every block
...
Table: blocks
Field | Source Data |
---|
number
| block_num
|
id
| block_id
|
timestamp
| block_timestamp
|
producer
| producer
|
schedule_version
| schedule_version
|
Trigger: every transaction
Table: transactions
Field | Source Data |
---|
block_number
| block_num
|
id
| trace → id
|
action_account
| trace → action_traces → act → account
|
action_name
| trace → action_traces → act → name
|
account
| trace → action_traces → act → authorization → actor
for action_ordinal = 1 |
tpid
| trace → action_traces → act → data → tpid
|
fee
| response → fee_collected
|
request_data
| trace → action_traces → act → data
for action_ordinal = 1 |
response_data
| response
|
status
| trace → status
|
Trigger: every trace
Table: traces
Field | Source Data |
---|
id
| Auto-generated ID |
transaction_id
| trace → id
|
action_account
| trace → action_traces → act → account
|
action_name
| trace → action_traces → act → name
|
request_data
| trace → action_traces → act → data
|
Trigger: eosio:newaccount
Table: accounts
Field | Source Data |
---|
account
| trace → action_traces → act → data → name
|
public_key
| trace → action_traces → act → data → ( fio_public_key OR owner_fio_public_key OR new_owner_fio_public_key OR payee_public_key )
for action_ordinal = 1 |
Table: account_activity
Field | Source Data |
---|
account
| trace → action_traces → act → data → name
|
trace_id
| Reference to trace table record |
type
| account_created
|