Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field

Description

Relationship

number

Block number as generated by FIO Node

transactions ->block→ block_num

id

Block ID as generated by FIO Node

timestamp

Timestamp as generated by FIO Node

producer

Account name of producer which produced the block

schedule_version

Version of BP schedule

...

Field

Description

Relationship

block_number

Block which contained this transaction

blocks ->number→ number

id

Transaction id

traces ->transaction→ transaction_id

action_account

Account name for action

action_name

Action name

account

Account which executed the transaction

tpid

TPID which was recorded in tranaction

fee

FIO Chain fee paid for this transaction

request_data

Raw request data for primary trace

response_data

Raw response data for primary trace

status

Transaction status

...

Field

Description

Relationship

id

Trace id. Auto-generated ID or transaction_id + action_ordinal, e.g. 770989df18fac96e48ca03d6702991d4462bebacceab8cf6b389507e998ca7fe-2

transaction_id

Transaction ID

transactions ->id→ id

action_ordinal

Sequential order of trace in transaction

action_account

Account name for trace

action_name

Action name fro trace

request_data

Raw request data for trace

...

Field

Description

Relationship

account

Account name

account_activity ->account→ account

domains ->account→ account

handles ->account→ account

token_transfers ->payer→ payer_account

token_transfers ->payee→ payee_account

token_staking → staker_account

fio_requests ->payee→ payee_account

fio_requests ->payer→ payer_account

fio_data ->payee→ payee_account

fio_data ->payer→ payer_account

public_key

Primary public key

...

Field

Description

Relationship

account

Account name

accounts ->account→ account

transaction_id

Transaction ID

transactions ->id→ id

type

Type of activity

domains

...

Field

Description

Relationship

domain

Domain name

domain_activity ->domain→ domain

account

Account name of current owner

accounts ->account→ account

is_public

Is domain public

expiration

Timestamp of domain expiration

status

Current status of domain

...

Field

Description

Relationship

domain

Domain name

domains ->domain→ domain

tracetransaction_id

Trace Transaction ID

traces->idtransactions → id

type

Type of activity

handles

...

Field

Description

Relationship

handle

Handle name

handle_activity ->handle→ handle

pub_addresses ->handle→ handle

nft_signatures ->handle→ handle

fio_requests ->payer→ payer_handle

fio_requests ->payee→ payee_handle

fio_data ->payer→ payer_handle

fio_data ->payee→ payee_handle

account

Account name of current owner

accounts ->account→ account

encryption_key

Encryption public key

encryption_key_set

Defines if encryption key was specifically set

bundled_tx

Bundled tx count

expiration

Timestamp of handle expiration

status

Current status of handle

...

Field

Description

Relationship

handle

Handle name

handles ->handle→ handle

tracetransaction_id

Trace Transaction ID

traces->idtransactions → id

type

Type of activity

pub_addresses

...

Field

Description

Relationship

handle

Handle name

handles ->handle→ handle

chain_code

Chain code

accounts->account

token_code

Token code

public_address

Public Address

...

Field

Description

Relationship

handle

Handle name

handles ->handle→ handle

chain_code

Chain code

accounts->account

contract_address

Contract address

token_id

Token ID

url

url

hash

hash

metadata

metadata

...

Field

Description

Relationship

payer_account

Account of payer (sender)

accounts ->account→ account

payee_account

Account of payee (receiver)

accounts ->account→ account

tracetransaction_id

Trace Transaction ID

traces->idtransactions → id

amount

Token amount in FIO

type

Type of transfer

memo

Memo in transfer

...

Field

Description

Relationship

staker_account

Account of staker

accounts ->account→ account

tracetransaction_id

Trace Transaction ID

traces->idtransactions → id

amount

Token amount in FIO, unstake will be negative

...

Field

Description

Relationship

id

FIO Request ID

fio_data ->request→ request_id

payee_handle

Handle of payer

handles ->handle→ handle

payer_handle

Handle of payee

handles ->handle→ handle

content

Encrypted blob

payee_pub_key

Public Key of payee

payer_pub_key

Public Key of payer

status

Status of request

tracetransaction_id

Trace Transaction ID

traces->idtransactions → id

fio_data

Add and update. Represents current state of FIO Data. Will be updated every time request status changes. Records will not be removed.

Field

Description

Relationship

request_id

FIO Request ID (optional)

fio_requests ->id→ id

payee_handle

Handle of payer

handles ->handle→ handle

payer_handle

Handle of payee

handles ->handle→ handle

content

Encrypted blob

payee_pub_key

Public Key of payee

payer_pub_key

Public Key of payer

status

Status of data

tracetransaction_id

Trace Transaction ID

traces->idtransactions → id

Parsing Rules

The parsing rules below are triggered by any of the following:

...

Table: traces
Status
colourGreen
titleNEW RECORD

Field

Source Data

idAuto-

generated ID or transaction_id + action_ordinal, e.g. 770989df18fac96e48ca03d6702991d4462bebacceab8cf6b389507e998ca7fe-2Trace ID

transaction_id

traceid

action_ordinal

traceaction_tracesaction_ordinal

action_account

traceaction_tracesactaccount

action_name

traceaction_tracesactname

request_data

traceaction_tracesactdata

...

Field

Source Data

account

traceaction_tracesactdataname

transaction_id

Transaction IDtraceid

type

“account_created”

Trigger: fio.token:trnsfiopubky and action_ordinal = 1

...

Field

Source Data

payer_account

traceaction_tracesactdataactor

payee_account

traceaction_tracesactdatapayee_public_key hashed to account

tracetransaction_id

Trace IDtraceid

amount

traceaction_tracesactdataamount / 1000000000

type

“transfer”

memo

...

Field

Source Data

payer_account

traceaction_tracesactdataactor

payee_account

traceaction_tracesactdatapayee_public_key hashed to account

tracetransaction_id

Trace IDtraceid

amount

traceaction_tracesactdataamount / 1000000000

type

“transfer_locked”

memo

...

Field

Source Data

payer_account

traceaction_tracesactdatafrom

payee_account

traceaction_tracesactdatato

tracetransaction_id

Trace IDtraceid

amount

traceaction_tracesactdataquantity (strip " FIO")

type

If memo:FIO fee* type is “blockchain_fee”

If memo:Paying TPID from treasury. type is “tpid_reward”

If memo:Paying Staking Rewards type is “staking_reward”

If memo:Paying producer from treasury. type is “bp_reward”

If memo:Paying foundation from treasury. type is “foundation_reward”

If memo:Token Wrapping Oracle Fee type is “oracle_fee”

If memo:Token Unwrapping type is “unwrap”

memo

traceaction_tracesactdatamemo

...

Field

Source Data

payer_account

“eosio”

payee_account

traceaction_tracesactdatato

tracetransaction_id

Trace IDtraceid

amount

traceaction_tracesactdataquantity (strip " FIO")

type

“token_mint”

memo

traceaction_tracesactdatamemo

...

Field

Source Data

payer_account

traceaction_tracesactdataactor

payee_account

“fio.oracle"

tracetransaction_id

Trace IDtraceid

amount

traceaction_tracesactdataamount / 1000000000

type

“wrap”

memo

...

Field

Source Data

staker_account

traceaction_tracesactdataactor

tracetransaction_id

Trace IDtraceid

amount

traceaction_tracesactdataamount / 1000000000

...

Field

Source Data

payer_account

traceaction_tracesactdataactor

payee_account

tracetransaction_id

Trace IDtraceid

amount

traceaction_tracesactdataquantity / 1000000000

type

“retire”

memo

traceaction_tracesactdatamemo

...

Field

Source Data

staker_account

traceaction_tracesactdataactor

tracetransaction_id

Trace IDtraceid

amount

Negative of (traceaction_tracesactdataamount / 1000000000)

...

Field

Source Data

domain

traceaction_tracesactdatafio_domain

tracetransaction_id

Trace IDtraceid

type

“register”

Trigger: fio.address:renewdomain and action_ordinal = 1

...

Field

Source Data

domain

traceaction_tracesactdatafio_domain

tracetransaction_id

Trace IDtraceid

type

“renew”

Trigger: fio.address:xferdomain and action_ordinal = 1

...

Field

Source Data

domain

traceaction_tracesactdatafio_domain

transaction_id

trace_ id

Trace ID

type

“transfer”

Trigger: fio.address:setdomainpub and action_ordinal = 1

...

Field

Source Data

domain

traceaction_tracesactdatafio_domain

tracetransaction_id

Trace IDtraceid

type

is_public: 1 type is “public”

is_public: 0 type is “non-public”

...

Field

Source Data

domain

traceaction_tracesactdatafio_domain

tracetransaction_id

Trace IDtraceid

type

“wrap”

Trigger: fio.address:xferescrow

...

Field

Source Data

domain

traceaction_tracesactdatafio_domain

tracetransaction_id

Trace IDtraceid

type

“unwrap”

Trigger: fio.address:regaddress and action_ordinal = 1

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“register”

Table: pub_addresses
Status
colourGreen
titleNEW RECORD

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“renew”

Trigger: fio.address:xferaddress and action_ordinal = 1

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“transfer”

Table: pub_addresses
Status
colourRed
titleDELETE
and
Status
colourGreen
titleNEW RECORD

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“add_bundles”

Trigger: fio.address:addaddress and action_ordinal = 1

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“add_pubbadd”

Table: pub_addresses
Status
colourGreen
titleNEW RECORD
or
Status
colourYellow
titleupdate
(if exists)

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“rem_pubbadd”

Table: pub_addresses
Status
colourRed
titleDELETE

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“rem_all_pubbadd”

Table: pub_addresses
Status
colourRed
titleDELETE

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

trace_ idTrace ID

type

“add_nft”

Table: nft_signatures
Status
colourGreen
titleNEW RECORD
or
Status
colourYellow
titleupdate
(if exists)

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“rem_nft”

Table: nft_signatures
Status
colourRed
titleDELETE

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“rem_all_nft”

Table: nft_signatures
Status
colourRed
titleDELETE

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“upd_encryptkey”

Trigger: fio.address:regdomadd and action_ordinal = 1

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“self_burn”

Table: pub_addresses
Status
colourRed
titleDELETE

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“new_request”

Table: fio_requests
Status
colourGreen
titleNEW RECORD

Field

Source Data

id

responsefio_request_id

payee_handle

traceaction_tracesactdatapayee_fio_address

payer_handle

traceaction_tracesactdatapayer_fio_address

content

traceaction_tracesactdatacontent

payee_pub_key

Look-up accountsencrypt_key where account is owner of traceaction_tracesactdatapayee_fio_address

payer_pub_key

Look-up accountsencrypt_key where account is owner of traceaction_tracesactdatapayer_fio_address

status

“pending”

tracetransaction_id

Trace IDtraceid

Trigger: fio.address:newfundsreq and action_ordinal = 1

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“cancel_request”

Table: fio_requests
Status
colourYellow
titleUPDATE

Field

Source Data

id

traceaction_tracesactdatafio_request_id

status

“cancelled”trace_id

Trace ID

Trigger: fio.address:recordobt and action_ordinal = 1

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

tracetransaction_id

Trace IDtraceid

type

“record_obt”

Table: fio_data
Status
colourGreen
titleNEW RECORD

Field

Source Data

request_id

traceaction_tracesactdatafio_request_id

payee_handle

traceaction_tracesactdatapayee_fio_address

payer_handle

traceaction_tracesactdatapayer_fio_address

content

traceaction_tracesactdatacontent

payee_pub_key

Look-up accountsencrypt_key where account is owner of traceaction_tracesactdatapayee_fio_address

payer_pub_key

Look-up accountsencrypt_key where account is owner of traceaction_tracesactdatapayer_fio_address

status

“sent_to_blockchain”

tracetransaction_id

Trace IDtraceid

Table: fio_requests
Status
colourYellow
titleUPDATE

...

Field

Source Data

id

traceaction_tracesactdatafio_request_id

status

“sent_to_blockchain”

trace_id

Trace ID