Versions Compared

Key

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

...

Field

Description

Relationship

number

Status
colourGreen
titleFROM CHAIN DATA
Block number as generated by FIO Node

transactions → block_num

id

Status
colourGreen
titleFROM CHAIN DATA
Block ID as generated by FIO Node

timestamp

Status
colourGreen
titleFROM CHAIN DATA
Timestamp as generated by FIO Node

producer

Status
colourGreen
titleFROM CHAIN DATA
Account name of producer which produced the block

schedule_version

Status
colourGreen
titleFROM CHAIN DATA
Version of BP schedule

transactions

...

Field

Description

Relationship

block_number

Status
colourGreen
titleFROM CHAIN DATA
Block which contained this transaction

blocks → number

id

Status
colourGreen
titleFROM CHAIN DATA
Transaction id

traces → transaction_id

action_account

Account name for action

action_name

Status
colourGreen
titleFROM CHAIN DATA
Account name for action

action_name

Status
colourGreen
titleFROM CHAIN DATA
Action name

account

Status
colourGreen
titleFROM CHAIN DATA
Account which executed the transaction

tpid

Status
colourGreen
titleFROM CHAIN DATA
TPID which was recorded in tranaction

fee

Status
colourGreen
titleFROM CHAIN DATA
FIO Chain fee paid for this transaction

request_data

Status
colourGreen
titleFROM CHAIN DATA
Raw request data for primary trace

response_data

Status
colourGreen
titleFROM CHAIN DATA
Raw response data for primary trace

statusTransaction

Status

traces

colourGreen
titleFROM CHAIN DATA
Transaction status

traces

Add only. Every trace is a new entry.

Field

Description

Relationship

id

Status
colourYellow
titleGENERATED
Trace ID - generated.

transaction_id

Status
colourGreen
titleFROM CHAIN DATA
Transaction ID

transactions → id

action_ordinal

Status
colourGreen
titleFROM CHAIN DATA
Sequential order of trace in transaction

action_account

Status
colourGreen
titleFROM CHAIN DATA
Account name for trace

action_name

Status
colourGreen
titleFROM CHAIN DATA
Action name fro trace

request_data

Status
colourGreen
titleFROM CHAIN DATA
Raw request data for trace

...

Field

Description

Relationship

account

Account name

account_activity → account

Status
colourGreen
titleFROM CHAIN DATA
Account name

account_activity → account

domains → account

handles → account

token_transfers → payer_account

token_transfers → payee_account

token_staking → staker_account

fio_requests → payee_account

fio_requests → payer_account

fio_data → payee_account

fio_data → payer_account

public_key

Status
colourGreen
titleFROM CHAIN DATA
Primary public key

account_activity

...

Field

Description

Relationship

account

Status
colourGreen
titleFROM CHAIN DATA
Account name

accounts → account

transaction_id

Status
colourGreen
titleFROM CHAIN DATA
Transaction ID

transactions → id

type

Status
colourBlue
titleDEFINED BY RULES
Type of activity. Options:

  • sender

  • receiver

domains

Add and update. Represents current state of domains. Will be updated every time domain info changes. Records will not be removed, just marked burned.

Field

Description

Relationship

domain

Status
colourGreen
titleFROM CHAIN DATA
Domain name

domain_activity → domain

account

Account name of current owner

Status
colourGreen
titleFROM CHAIN DATA
Status
colourBlue
titleDEFINED BY RULES
Account name of current owner

accounts → account

is_public

Status
colourGreen
titleFROM CHAIN DATA
Is domain public

expiration

Status
colourGreen
titleFROM CHAIN DATA
Timestamp of domain expiration

status

Status
colourBlue
titleDEFINED BY RULES
Current status of domain. Options:

  • active

  • burnt

domain_activity

Add only. Every activity is a new entry

Field

Description

Relationship

domain

Status
colourGreen
titleFROM CHAIN DATA
Domain name

domains → domain

transaction_id

Transaction ID

transactions → id

type

Type of activity

Status
colourGreen
titleFROM CHAIN DATA
Transaction ID

transactions → id

type

Status
colourBlue
titleDEFINED BY RULES
Type of activity. Options:

  • register

  • renew

  • transfer

  • wrap

  • unwrap

  • auto_burn

handles

Add and update. Represents current state of handles. Will be updated every time handle info changes. Records will not be removed, just marked burned.

Field

Description

Relationship

handle

Status
colourGreen
titleFROM CHAIN DATA
Handle name

handle_activity → handle

pub_addresses → handle

nft_signatures → handle

fio_requests → payer_handle

fio_requests → payee_handle

fio_data → payer_handle

fio_data → payee_handle

account

Status
colourGreen
titleFROM CHAIN DATA
Account name of current owner

accounts → account

encryption_key

Status
colourGreen
titleFROM CHAIN DATA
Encryption public key

encryption_key_set

Defines if encryption key was specifically set

bundled_tx

Status
colourBlue
titleDEFINED BY RULES
Defines if encryption key was specifically set. Options:

  • false (default)

  • true

bundled_tx

Status
colourGreen
titleFROM CHAIN DATA
Status
colourBlue
titleDEFINED BY RULES
Bundled tx count

expiration

Status
colourGreen
titleFROM CHAIN DATA
Status
colourBlue
titleDEFINED BY RULES
Timestamp of handle expiration

status

Status
colourBlue
titleDEFINED BY RULES
Current status of handle

...

. Options:

  • active

  • burnt

handle_activity

Add only. Every activity is a new entry

Field

Description

Relationship

handle

Status
colourGreen
titleFROM CHAIN DATA
Handle name

handles → handle

transaction_id

Status
colourGreen
titleFROM CHAIN DATA
Transaction ID

transactions → id

type

Status
colourBlue
titleDEFINED BY RULES
Type of activity

pub_addresses

Add, update, delete. Represents current state of mapped public addresses. Will be updated every time mapping changes. Records will be removed if needed.

...

Field

...

Description

...

Relationship

...

handle

...

Handle name

...

handles → handle

...

chain_code

...

Chain code

...

token_code

...

Token code

...

public_address

...

Public Address

...

. Options:

  • register

  • renew

  • transfer

  • add_bundles

  • add_pubbadd

  • rem_pubbadd

  • rem_all_pubbadd

  • add_nft

  • rem_nft

  • rem_all_nft

  • upd_encryptkey

  • self_burn

  • new_request

  • cancel_request

  • record_obt

pub_addresses

Add, update, delete. Represents current state of NFT signaturesmapped public addresses. Will be updated every time signatures are changedmapping changes. Records will be removed if needed.

Field

Description

Relationship

handle

Status
colourGreen
titleFROM CHAIN DATA
Handle name

handles → handle

chain_code

Status
colourGreen
titleFROM CHAIN DATA
Chain code

contract

token_

address

Contract address

token_id

Token ID

url

url

hash

hash

metadata

metadata

token_transfers

...

code

Status
colourGreen
titleFROM CHAIN DATA
Token code

public_address

Status
colourGreen
titleFROM CHAIN DATA
Public Address

nft_signatures

Add, update, delete. Represents current state of NFT signatures. Will be updated every time signatures are changed. Records will be removed if needed.

...

amount

...

Token amount in FIO, unstake will be negative

fio_requests

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

...

Field

...

Description

...

Relationship

...

id

...

FIO Request ID

...

fio_data → request_id

...

payee_handle

...

Handle of payer

...

handles → handle

...

payer_handle

...

Handle of payee

...

handles → handle

...

content

...

Encrypted blob

...

payee_pub_key

...

Public Key of payee

...

payer_pub_key

...

Public Key of payer

...

status

...

Status of request

...

transaction_id

...

Transaction ID

...

transactions → 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

payee_handle

Handle of payer

handles → handle

payer_handle

Handle of payee

handles → handle

content

Encrypted blob

payee_pub_key

Public Key of payee

payer_pub_key

Public Key of payer

status

Status of data

transaction_id

Field

Description

Relationship

payer_account

Account of payer (sender)

accounts → account

payee_account

Account of payee (receiver)

accounts → account

transaction_id

Transaction ID

transactions → id

amount

Token amount in FIO

type

Type of transfer

memo

Memo in transfer

token_staking

Add only. Every stake or unstake is a new entry. Includes internal transfers.

...

Field

...

Description

...

Relationship

...

staker_account

...

Account of staker

...

accounts → account

...

transaction_id

...

Transaction ID

...

transactions → id

handle

Status
colourGreen
titleFROM CHAIN DATA
Handle name

handles → handle

chain_code

Status
colourGreen
titleFROM CHAIN DATA
Chain code

contract_address

Status
colourGreen
titleFROM CHAIN DATA
Contract address

token_id

Status
colourGreen
titleFROM CHAIN DATA
Token ID

url

Status
colourGreen
titleFROM CHAIN DATA
url

hash

Status
colourGreen
titleFROM CHAIN DATA
hash

metadata

Status
colourGreen
titleFROM CHAIN DATA
metadata

token_transfers

Add only. Every transfer is a new entry. Includes internal transfers.

Field

Description

Relationship

payer_account

Status
colourGreen
titleFROM CHAIN DATA
Status
colourBlue
titleDEFINED BY RULES
Account of payer (sender)

accounts → account

payee_account

Status
colourGreen
titleFROM CHAIN DATA
Status
colourBlue
titleDEFINED BY RULES
Account of payee (receiver)

accounts → account

transaction_id

Status
colourGreen
titleFROM CHAIN DATA
Transaction ID

transactions → id

Parsing Rules

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

  • block

  • transaction

  • trace

  • specific account and name inside traceaction_tracesact. It will be presented as Trigger: action_account:action:name, e.g. Trigger: eosio:newaccount

and are organized by defining the table where record needs to be added as well as data source, typically from the trace.

Note

Please pay attention to sequence of traces to accommodate relationships, e.g. when transferring tokens to a new account, the account has to be inserted into accounts table, before transfer is recorded.

Trigger: every block

...

amount

Status
colourGreen
titleFROM CHAIN DATA
Status
colourBlue
titleDEFINED BY RULES
Token amount in FIO

type

Status
colourBlue
titleDEFINED BY RULES
Type of transfer. Options:

  • transfer

  • transfer_locked

  • blockchain_fee

  • tpid_reward

  • staking_reward

  • bp_reward

  • foundation_reward

  • oracle_fee

  • unwrap

  • token_mint

  • wrap

  • retire

memo

Status
colourGreen
titleFROM CHAIN DATA
Memo in transfer

token_staking

Add only. Every stake or unstake is a new entry. Includes internal transfers.

Field

Description

Relationship

staker_account

Status
colourGreen
titleFROM CHAIN DATA
Account of staker

accounts → account

transaction_id

Status
colourGreen
titleFROM CHAIN DATA
Transaction ID

transactions → id

amount

Status
colourGreen
titleFROM CHAIN DATA
Status
colourBlue
titleDEFINED BY RULES
Token amount in FIO, unstake will be negative

fio_requests

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

Field

Description

Relationship

id

Status
colourGreen
titleFROM CHAIN DATA
FIO Request ID

fio_data → request_id

payee_handle

Status
colourGreen
titleFROM CHAIN DATA
Handle of payer

handles → handle

payer_handle

Status
colourGreen
titleFROM CHAIN DATA
Handle of payee

handles → handle

content

Status
colourGreen
titleFROM CHAIN DATA
Encrypted blob

payee_pub_key

Status
colourGreen
titleFROM CHAIN DATA
Public Key of payee

payer_pub_key

Status
colourGreen
titleFROM CHAIN DATA
Public Key of payer

status

Status
colourGreen
titleFROM CHAIN DATA
Status
colourBlue
titleDEFINED BY RULES
Status of request. Options:

  • pending

  • cancelled

  • sent_to_blockchain

transaction_id

Status
colourGreen
titleFROM CHAIN DATA
Transaction ID

transactions → 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

Status
colourGreen
titleFROM CHAIN DATA
FIO Request ID (optional)

fio_requests → id

payee_handle

Status
colourGreen
titleFROM CHAIN DATA
Handle of payer

handles → handle

payer_handle

Status
colourGreen
titleFROM CHAIN DATA
Handle of payee

handles → handle

content

Status
colourGreen
titleFROM CHAIN DATA
Encrypted blob

payee_pub_key

Status
colourGreen
titleFROM CHAIN DATA
Public Key of payee

payer_pub_key

Status
colourGreen
titleFROM CHAIN DATA
Public Key of payer

status

Status
colourGreen
titleFROM CHAIN DATA
Status of data. Currently always “sent_to_blockchain”.

transaction_id

Status
colourGreen
titleFROM CHAIN DATA
Transaction ID

transactions → id

Parsing Rules

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

  • block

  • transaction

  • trace

  • specific account and name inside traceaction_tracesact. It will be presented as Trigger: action_account:action:name, e.g. Trigger: eosio:newaccount

and are organized by defining the table where record needs to be added as well as data source, typically from the trace.

Note

Please pay attention to sequence of traces to accommodate relationships, e.g. when transferring tokens to a new account, the account has to be inserted into accounts table, before transfer is recorded.

Trigger: every block

Table: blocks
Status
colourGreen
titleNEW RECORD

Field

Source Data

number

block_num

id

block_id

timestamp

block_timestamp

producer

producer

schedule_version

schedule_version

Trigger: every trace where action_ordinal = 1

Table: transactions
Status
colourGreen
titleNEW RECORD

Field

Source Data

block_number

block_num

id

traceid

action_account

traceaction_tracesactaccount

action_name

traceaction_tracesactname

account

traceaction_tracesactauthorizationactor

tpid

traceaction_tracesactdatatpid

fee

responsefee_collected

request_data

traceaction_tracesactdata

response_data

response

status

tracestatus

Table: account_activity ​
Status
colourGreen
titleNEW RECORD

Field

Source Data

account

traceaction_tracesactdataactor

transaction_id

Transaction ID

type

“sender”

Trigger: every trace where action_ordinal > 1

Table: traces
Status
colourGreen
titleNEW RECORD

Field

Source Data

id

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

transaction_id

traceid

action_ordinal

traceaction_tracesaction_ordinal

action_account

traceaction_tracesactaccount

action_name

traceaction_tracesactname

request_data

traceaction_tracesactdata

Trigger: fio.address:bind2eosio

Table: accounts
Status
colourGreen
titleNEW RECORD

Field

Source Data

account

traceaction_tracesactdataaccount

public_key

traceaction_tracesactdataclient_key

Table: account_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

account

traceaction_tracesactdataname

transaction_id

traceid

type

“receiver”

Trigger: fio.token:trnsfiopubky and action_ordinal = 1

Table: token_transfers
Status
colourGreen
titleNEW RECORD

Field

Source Data

payer_account

traceaction_tracesactdataactor

payee_account

traceaction_tracesactdatapayee_public_key hashed to account

transaction_id

traceid

amount

traceaction_tracesactdataamount / 1000000000

type

“transfer”

memo

Trigger: fio.token:trnsloctoks and action_ordinal = 1

Table: token_transfers
Status
colourGreen
titleNEW RECORD

Field

Source Data

payer_account

traceaction_tracesactdataactor

payee_account

traceaction_tracesactdatapayee_public_key hashed to account

transaction_id

traceid

amount

traceaction_tracesactdataamount / 1000000000

type

“transfer_locked”

memo

Trigger: fio.token:transfer and receiver = fio.token

Table: token_transfers
Status
colourGreen
titleNEW RECORD

Field

Source Data

payer_account

traceaction_tracesactdatafrom

payee_account

traceaction_tracesactdatato

transaction_id

traceid

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

Trigger: fio.token:issue and receiver = fio.token

Table: token_transfers
Status
colourGreen
titleNEW RECORD

Field

Source Data

number

block_num

id

block_id

timestamp

block_timestamp

producer

producer

schedule_version

schedule_version

...

payer_account

“eosio”

payee_account

traceaction_tracesactdatato

transaction_id

traceid

amount

traceaction_tracesactdataquantity (strip " FIO")

type

“token_mint”

memo

traceaction_tracesactdatamemo

Trigger: fio.token:wraptokens and action_ordinal = 1

Table:

...

token_transfers
Status
colourGreen
titleNEW RECORD

Field

Source Data

block_number

block_num

payer_account

traceaction_tracesactdataactor

payee_account

“fio.oracle"

transaction_id

traceid

action_account

amount

traceaction_tracesact

account

action_name

traceaction_tracesactname

dataamount / 1000000000

type

“wrap”

memo

Trigger: fio.token:stakefio and action_ordinal = 1

Table: token_staking
Status
colourGreen
titleNEW RECORD

Field

Source Data

staker_account

traceaction_tracesact

authorization

data actor

tpid

transaction_id

trace

action_tracesactdatatpid

fee

responsefee_collected

request_data

id

amount

traceaction_tracesactdata

response_data

response

status

tracestatus

amount / 1000000000

Trigger: fio.token:retire and action_ordinal = 1

Table:

...

token_

...

transfers
Status
colourGreen
titleNEW RECORD

...

Field

Source

Dataaccount

Data

payer_account

traceaction_tracesactdataactor

payee_account

transaction_id

traceid

amount

traceaction_tracesactdata

actor

transaction_id

Transaction ID

type

“sender”

...

quantity / 1000000000

type

“retire”

memo

traceaction_tracesactdatamemo

Trigger: fio.token:unstakefio and action_ordinal = 1

Table:

...

token_staking
Status
colourGreen
titleNEW RECORD

Field

Source Data

id

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

transaction_id

traceid

action_ordinal

traceaction_tracesaction_ordinal

action

staker_account

traceaction_tracesact data

account

actor

action

transaction_

name

id

trace

action_tracesactname

request_data

id

amount

Negative of (traceaction_tracesactdata amount / 1000000000)

Trigger: fio.address:

...

regdomain and action_ordinal = 1

Table:

...

domains
Status
colourGreen
titleNEW RECORD
or
Status
colourYellow
titleupdate
(if exists based on domain)

Field

Source Data

account

domain

traceaction_tracesactdatafio_domain

account

public_key

traceaction_tracesactdata

client_key

owner_fio_public_key hashed to account

is_public

“false”

expiration

responseexpiration

status

“active"

Table:

...

domain_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

account

domain

traceaction_tracesactdata

name

fio_domain

transaction_id

traceid

type

“account_created”

...

“register”

Table:

...

account_

...

activity
Status
colourGreen
titleNEW RECORD

...

Field

...

Source Data

...

payer_account

...

Only insert if traceaction_tracesactdataactor is not traceaction_tracesactdata

...

owner_fio_public_key hashed to account.

Field

Source Data

account

traceaction_tracesactdata

payee

owner_fio_public_key hashed to account

transaction_id

traceid

amount

trace

action_tracesactdataamount / 1000000000

id

type

“transfer”

memo

“receiver”

Trigger: fio.

...

address:

...

renewdomain and action_ordinal = 1

Table:

...

domains
Status
colour

...

Yellow
title

...

update

Field

Source Data

payer_account

domain

traceaction_tracesactdata

actorpayee_account

fio_domain

expiration

responseexpiration

Table: domain_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

traceaction_tracesactdata

payee_public_key hashed to account

fio_domain

transaction_id

traceid

amount

traceaction_tracesactdataamount / 1000000000

type

“transfer_locked”

memo

“renew”

Trigger: fio.

...

address:

...

xferdomain and

...

action_ordinal = 1

Table:

...

domains
Status
colour

...

Yellow
title

...

update

Field

Source Data

payer_account

domain

traceaction_tracesactdata

from

fio_domain

payee_

account

traceaction_tracesactdata

to

transaction_id

traceid

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

new_owner_fio_public_key hashed to account

Table: domain_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

traceaction_tracesactdata

memo

...

fio_domain

transaction_id

traceid

type

“transfer”

Table:

...

account_

...

activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

payer_account

“eosio”

payee_

account

traceaction_tracesactdatanew_owner_fio_public_key hashed to account

transaction_id

traceid

amount

traceaction_tracesactdataquantity (strip " FIO")

type

“token_mint”

memo

traceaction_tracesactdatamemo

type

“receiver”

Trigger: fio.

...

address:

...

setdomainpub and action_ordinal = 1

Table:

...

domains
Status
colour

...

Yellow
title

...

update

Field

Source Data

payer_account

domain

traceaction_tracesactdata

actorpayee

fio_

account

“fio.oracle"

transaction_id

traceid

amount

domain

is_public

traceaction_tracesactdata

amount / 1000000000

type

“wrap”

memo

...

is_public (1 - true; 0 - false)

Table:

...

domain_

...

activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

staker_account

domain

traceaction_tracesactdata

actortraceaction_tracesactdataamount / 1000000000

fio_domain

transaction_id

traceid

amount

type

is_public: 1 type is “public”

is_public: 0 type is “non-public”

Trigger: fio.

...

address:

...

wrapdomain and action_ordinal = 1

Table:

...

domains
Status
colour

...

Yellow
title

...

update

Field

Source Data

payer_account

domain

traceaction_tracesactdata

actor

fio_domain

payee_account

transaction_id

traceid

amount

traceaction_tracesactdataquantity / 1000000000

type

“retire”

memo

traceaction_tracesactdatamemo

Trigger: fio.token:unstakefio and action_ordinal = 1

...

account

“fio.oracle”

Table: domain_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

staker_account

domain

traceaction_tracesactdata

actor

fio_domain

transaction_id

traceid

amount

Negative of (traceaction_tracesactdataamount / 1000000000)

Trigger: fio.address:regdomain and action_ordinal = 1

...

type

“wrap”

Table: account_activity
Status
colourGreen
titleNEW RECORD

...

Field

Source Data

account

“fio.oracle”

transaction_id

traceid

type

“receiver”

Trigger: fio.address:xferescrow

Table: domains
Status
colourYellow
titleupdate

...

Field

Source Data

domain

traceaction_tracesactdatafio_domain

account

traceaction_tracesactdata

owner_fio_

public_key hashed to account

is_public

“false”

expiration

responseexpiration

status

“active"

Table: domain_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

traceaction_tracesactdatafio_domain

transaction_id

traceid

type

“register”

“unwrap”

Trigger: fio.address:renewdomain and action_ordinal = 1

...

Table: account_activity ​
Status
colour

...

Green
title

...

NEW RECORD

...

Field

Source Data

domain

account

traceaction_tracesactdata

fio_domain

expiration

responseexpiration

...

public_key hashed to account

transaction_id

traceid

type

“receiver”

Field

Source Data

domain

traceaction_tracesactdatafio_domain

account

“fio.oracle”

transaction_id

traceid

type

“renew”

“sender”

Trigger: fio.address:

...

regaddress and action_ordinal = 1

Table:

...

handles
Status
colourGreen
titleNEW RECORD
or
Status
colourYellow
titleupdate
(if exists based on handle)

Field

Source Data

domain

handle

traceaction_tracesactdatafio_

domain

address

account

traceaction_tracesactdata

new_

owner_fio_public_key hashed to account

...

encryption_key

traceaction_tracesactdataowner_fio_public_key

encryption_key_set

“false”

bundled_tx

“100”

expiration

responseexpiration

status

“active"

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

handle

traceaction_tracesactdatafio_

domain

address

transaction_id

traceid

type

“transfer”

“register”

Trigger: fio.address:setdomainpub and action_ordinal = 1

...

Table: account_activity
Status
colour

...

Green
title

...

Field

...

Source Data

...

domain

NEW RECORD

Only insert if traceaction_tracesactdata

...

is_public

...

traceaction_tracesactdatais_public (1 - true; 0 - false)

Table: domain_activity
Status
colourGreen
titleNEW RECORD

...

Field

...

Source Data

...

domain

...

transaction_id

...

traceid

...

type

...

is_public: 1 type is “public”

is_public: 0 type is “non-public”

Trigger: fio.address:wrapdomain and action_ordinal = 1

Table: domains
Status
colourYellow
titleupdate

actor is not traceaction_tracesactdata

...

owner_fio_public_key hashed to account.

Field

Source Data

domain

account

traceaction_tracesact

datafio_domain

account

“fio.oracle”

dataowner_fio_public_key hashed to account

transaction_id

traceid

type

“receiver”

Table:

...

pub_

...

addresses
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

handle

traceaction_tracesactdatafio

_domain

transaction_id

traceid

type

“wrap”

_address

chain_code

“FIO”

token_code

“FIO”

public_address

traceaction_tracesactdataowner_fio_public_key

Trigger: fio.address:

...

renewaddress and action_ordinal = 1

Table:

...

handles
Status
colourYellow
titleupdate

Field

Source Data

domain

handle

traceaction_tracesactdatafio_

domain

account

traceaction_tracesactdatapublic_key hashed to account

...

address

bundled_tx

Increment current value by “100”

expiration

responseexpiration

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

handle

traceaction_tracesactdatafio_

domain

address

transaction_id

traceid

type

“unwrap”

“renew”

Trigger: fio.address:

...

xferaddress and action_ordinal = 1

Table: handles

Status
colourGreen
titleNEW RECORD

...

Status
colourYellow
titleupdate

...

Field

Source Data

handle

traceaction_tracesactdatafio_address

account

traceaction_tracesactdatanew_owner_fio_public_key hashed to account

encryption_key

traceaction_tracesactdatanew_owner_fio_public_key

encryption_key_set

“false”

bundled_tx

“100”

expiration

responseexpiration

status

“active"

...

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

traceid

type

“transfer”

Table: account_activity ​
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

account

traceaction_tracesactdatanew_owner_fio_

address

public_key hashed to account

transaction_id

traceid

type

“register”

“receiver”

Table: pub_addresses
Status
colourRed
titleDELETE
and
Status
colourGreen
titleNEW RECORD

Remove all objects matching in traceaction_tracesactdatafio_address and add:

Field

Source Data

handle

traceaction_tracesactdatafio_address

chain_code

“FIO”

token_code

“FIO”

public_address

traceaction_tracesactdatanew_owner_fio_public_key

Table: nft_signatures
Status
colourRed
titleDELETE

Remove all objects matching in traceaction_tracesactdatafio_address

Trigger: fio.address:

...

addbundles and action_ordinal = 1

Table: handles
Status
colourYellow
titleupdate

Field

Source Data

handle

Field

Source Data

handle

traceaction_tracesactdatafio_address

bundled_tx

Increment current value by

“100”

expiration

responseexpiration

Table: handle_activity
Status
colourGreen
titleNEW RECORD

traceaction_tracesactdata

fio

bundle_

address

transaction_id

traceid

type

“renew”

Trigger: fio.address:xferaddress and action_ordinal = 1

...

sets * 100

Table: handle_activity
Status
colour

...

Green
title

...

NEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

account

traceaction_tracesactdata

new_owner_

fio_

public_key hashed to accountencryption_key

address

transaction_id

trace

action_tracesactdatanew_owner_fio_public_key

encryption_key_set

“false”

id

type

“add_bundles”

Trigger: fio.address:addaddress and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

traceid

type

“transfer”

“add_pubbadd”

Table: pub_addresses
Status
colour

...

Green
title

...

NEW RECORD

...

or
Status
colour

...

Yellow
title

...

update
(if exists)

For each object in traceaction_tracesactdatafio_address and add: public_addresses update or insert new record

Field

Source Data

handle

traceaction_tracesactdatafio_address

chain

_code

“FIO”

token

public_address

_code

“FIO”

Field

Source Data

handle

traceaction_tracesactdata

new_owner_fio_public_key

Table: nft_signatures
Status
colourRed
titleDELETE

Remove all objects matching in traceaction_tracesactdatafio_address

Trigger: fio.address:addbundles and action_ordinal = 1

Table: handles
Status
colourYellow
titleupdate

public_addresseschain_code

token_code

traceaction_tracesactdata public_addresses

fio

token_

address

code

bundled

public_

tx

address

Increment current value by

traceaction_tracesactdata public_addresses

bundle

public_

sets * 100

address

Table:

...

handles
Status
colour

...

Yellow
title

...

update

Update only if encryption_key_set = false and chain_code = “FIO” and (token_code = “FIO” or token_code = “*”)

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction

encryption_

id

key

trace

id

type

“add_bundles”

action_tracesactdatapublic_addressespublic_address

Trigger: fio.address:

...

remaddress and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

traceid

type

“add

“rem_pubbadd”

Table: pub_addresses
Status
colour

...

Red
title

...

Status
colourYellow
titleupdate

...

DELETE

Remove each object in traceaction_tracesactdatapublic_addresses update or insert new record which matches

Field

Source Data

handle

traceaction_tracesactdatafio_address

chain_code

traceaction_tracesactdatapublic_addresseschain_code

token_code

traceaction_tracesactdatapublic_addressestoken_code

public_address

traceaction_tracesactdatapublic_addressespublic_address

Trigger: fio.address:remalladdr and action_ordinal = 1

Table:

...

handle_activity
Status
colour

...

Green
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

encryption

transaction_

key

id

traceid

type

“rem_all_pubbadd”

Table: pub_addresses
Status
colourRed
titleDELETE

Remove all objects matching in traceaction_tracesactdata

...

fio_address

Trigger: fio.address:

...

addnft and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

traceid

type

“rem

“add_

pubbadd”

nft”

Table:

...

nft_signatures
Status
colourGreen
titleNEW RECORD
or
Status
colour

...

Yellow
title

...

update
(if exists)

For each object in traceaction_tracesactdatapublic_addresses which matches nfts update or insert new record

traceaction_tracesactdatapublic_addresses

Field

Source Data

handle

traceaction_tracesactdatafio_address

chain_code

chain

_codetoken

_code

traceaction_tracesactdata

public_addressestoken_code

public_address

traceaction_tracesactdatapublic_addressespublic_address

Trigger: fio.address:remalladdr and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

nfts-> chain_code

contract_address

traceaction_tracesactdata

fio

nftscontract_address

transaction

token_id

trace action_tracesactdata nftstoken_id

type

url

“rem_all_pubbadd”

Table: pub_addresses
Status
colourRed
titleDELETE

...

traceaction_tracesactdatanftsurl

hash

traceaction_tracesactdatanftshash

metadata

traceaction_tracesact

...

datanftsmetadata

Trigger: fio.address:

...

remnft and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

traceid

type

“add

“rem_nft”

Table: nft_signatures
Status
colour

...

Red
title

...

Status
colourYellow
titleupdate

...

DELETE

Remove each object in traceaction_tracesactdatanfts update or insert new record which matches

Field

Source Data

handle

traceaction_tracesactdatafio_address

chain_code

traceaction_tracesactdatanfts-> chain_code

contract_address

traceaction_tracesactdatanftscontract_address

token_id

traceaction_tracesactdatanftstoken_id

url

traceaction_tracesactdatanftsurl

hash

traceaction_tracesactdatanftshash

metadata

traceaction_tracesactdatanftsmetadata

Trigger: fio.address:

...

remallnfts and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

traceid

type

“rem_nft”

...

“rem_all_nft”

Table: nft_signatures
Status
colourRed
titleDELETE

Remove all objects matching in traceaction_tracesactdatafio_address

Trigger: fio.address:updcryptkey and action_ordinal = 1

Table: handles
Status
colour

...

Yellow
title

...

update

Field

Source Data

handle

traceaction_tracesactdatafio_address

chain

encryption_

code

key

traceaction_tracesactdata

nfts-> chain_code

contract_address

traceaction_tracesactdatanftscontract_address

token_id

encrypt_public_key

encryption_key_set

“true”

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdata

nfts→ token

fio_address

transaction_id

url

trace

action_tracesactdatanftsurl

hash

traceaction_tracesactdatanftshash

metadata

traceaction_tracesactdatanftsmetadata

id

type

“upd_encryptkey”

Trigger: fio.address:regdomadd and action_ordinal = 1

Execute same as for trigger fio.address:regdomain and fio.address:regaddress except insert only once into account_activity with type “receiver”.

Trigger: fio.address:

...

burnaddress and action_ordinal = 1

Table:

...

handles
Status
colour

...

Yellow
title

...

update

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

traceid

type

“rem_all_nft”

status

“burnt”

Table:

...

handle_

...

activity
Status
colour

...

Green
title

...

NEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

...

Trigger: fio.address:updcryptkey and action_ordinal = 1

...

transaction_id

traceid

type

“self_burn”

Table: pub_addresses
Status
colour

...

Red
title

...

Field

...

Source Data

...

handle

DELETE

Remove all objects matching in traceaction_tracesactdatafio_address

...

encryption_key

Table: nft_signatures
Status
colourRed
titleDELETE

Remove all objects matching in traceaction_tracesactdata

...

fio_

...

encryption_key_set

...

“true”

address

Trigger: fio.address:newfundsreq and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatapayee_fio_address

transaction_id

traceid

type

“upd_encryptkey”

Trigger: fio.address:regdomadd and action_ordinal = 1

Execute same as for trigger fio.address:regdomain and fio.address:regaddress

Trigger: fio.address:burnaddress and action_ordinal = 1

...

type

“new_request”

Table: account_activity
Status
colour

...

Green
title

...

NEW RECORD

Field

Source Data

account

traceaction_tracesactdataactor

transaction_id

traceid

type

“receiver”

Field

Source Data

account

handle

Look-up handlesaccount where handle is traceaction_tracesactdatapayer_fio_address

status

“burnt”

transaction_id

traceid

type

“receiver”

Table:

...

fio_

...

requests
Status
colourGreen
titleNEW RECORD

Field

Source Data

id

responsefio_request_id

payee_handle

traceaction_tracesactdatapayee_fio_address

transaction

payer_

id

handle

trace

id

type

“self_burn”

Table: pub_addresses
Status
colourRed
titleDELETE

...

action_tracesactdatapayer_fio_address

content

traceaction_tracesactdatacontent

payee_pub_key

Look-up accountsencrypt_key where account is owner of traceaction_tracesactdatapayee_fio_address

Table: nft_signatures
Status
colourRed
titleDELETE

...

payer_pub_key

Look-up accountsencrypt_key where account is owner of traceaction_tracesactdatapayer_fio_address

status

“pending”

transaction_id

traceid

Trigger: fio.address:

...

cancelfndreq and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdatafio_address

transaction_id

traceid

type

“new

“cancel_request”

Table: fio_requests
Status
colour

...

Yellow
title

...

UPDATE

Field

Source Data

id

response

traceaction_tracesactdata fio_request_id

payee_

status

“cancelled”

Trigger: fio.address:recordobt and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

traceaction_tracesactdata

payee_

fio_address

payer

transaction_

handle

id

trace

action_tracesactdatapayer_fio_addresscontent

id

type

“record_obt”

Table: account_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

account

traceaction_tracesactdata

content

actor

payee

transaction_

pub_key

Look-up accountsencrypt_key where account is owner of traceaction_tracesactdatapayee_fio_address

payer_pub_key

id

traceid

type

“receiver”

Field

Source Data

account

Look-up

accounts

handles

encrypt_key

account where

account

handle is

owner of

traceaction_tracesactdatapayer_fio_address

status

“pending”

transaction_id

traceid

...

type

“receiver”

Table:

...

fio_

...

data
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

request_id

traceaction_tracesactdatafio_

address

request_id

transaction

payee_

id

handle

trace

id

type

“cancel_request”

Table: fio_requests
Status
colourYellow
titleUPDATE

Field

Source Data

id

action_tracesactdatapayee_fio_address

payer_handle

traceaction_tracesactdatapayer_fio_

request_id

address

status

“cancelled”

Trigger: fio.address:recordobt and action_ordinal = 1

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

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”

transaction_id

traceid

type

“record_obt”

Table: fio_

...

requests
Status
colour

...

Yellow
title

...

Field

...

Source Data

...

request_id

UPDATE

Update only if traceaction_tracesactdatafio_request_id

...

is present

Field

Source Data

id

traceaction_tracesactdata

payee_fio_addresspayer_handle

fio_request_id

status

“sent_to_blockchain”

Trigger: fio.address:burndomain

Table: domains
Status
colourYellow
titleupdate

Field

Source Data

domain

traceaction_tracesactdata

payer_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

domainname

status

“burnt”

Table: domain_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

traceaction_tracesactdata

payer_fio_address

status

“sent_to_blockchain”

transaction_id

traceid

...

domainname

transaction_id

traceid

type

“auto_burn”

API

/get_blocks

Returns block information.

Request

Parameter

Description

time_start

Status
colourGreen
titleOPTIONAL
Filters block by timestamp

time_end

Status
colourGreen
titleOPTIONAL
Filters block by timestamp

producer

Status
colourGreen
titleOPTIONAL
Filters block by producer

sort

Status
colour

...

Green
title

...

Update only if traceaction_tracesactdatafio_request_id is present

Field

Source Data

id

traceaction_tracesactdatafio_request_id

status

“sent_to_blockchain”

Trigger: fio.address:burndomain

...

OPTIONAL
Sorting:

  • block_num_asc (default)

  • block_num_desc

  • timestamp_asc (default)

  • timestamp_desc

Query

Return records from blocks which match all request parameters.

Sort by:

  • block_num_asc: blocksnumber ASC

  • block_num_desc: blocksnumber DESC

  • timestamp_asc: blockstimestamp ASC

  • timestamp_desc: blockstimestamp DESC

Response

Field

Source Data

domain

number

traceaction_tracesactdatadomainname

status

“burnt”

Table: domain_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

traceaction_tracesactdatadomainname

transaction_id

traceid

type

“auto_burn”

API

/get_blocks

...

blocksnumber

id

blocksid

timestamp

blockstimestamp

producer

blocksproducer

schedule_version

blocksschedule_version

Example
Code Block
languagejson
[
	{
		"number": "2",
		"id": "00000002953a8ab87a1855c0c40786e6a910a86cb2dd160f181418d05d233ea7",
		"timestamp": "2020-03-25T00:05:21.000",
		"producer": "eosio",
		"schedule_version": "1"
	}
]

/get_transactions

Returns transaction information.

Request

Parameter

Description

time_start

Status
colourGreen
titleOPTIONAL
Filters block by timestamp

time_end

Status
colourGreen
titleOPTIONAL
Filters block by timestamp

producer

sort

Status
colourGreen
titleOPTIONAL
Sorting:

timestamp_asc

Status
colourGreen
titleOPTIONAL
Filters block by

producer

timestamp

_desc

Response

Field

Source Data

number

blocksnumber

id

blocksid

timestamp

blockstimestamp

producer

blocksproducer

schedule_version

blocksschedule_version

Example
Code Block
languagejson
[
	{
		"number": "2",
		"id": "00000002953a8ab87a1855c0c40786e6a910a86cb2dd160f181418d05d233ea7",
		"timestamp": "2020-03-25T00:05:21.000",
		"producer": "eosio",
		"schedule_version": "1"
	}
]

/get_transactions

Returns transaction information from transactions table.

Request

Parameter

Description

time_start

block_number

Status
colourGreen
titleOPTIONAL
Filters block by block_number

action_account

Status
colourGreen
titleOPTIONAL
Filters block by action_account

action_name

Status
colourGreen
titleOPTIONAL
Filters block by action_name

impacted_account

Status
colourGreen
titleOPTIONAL
Filters by impacted account (see below)

impacted_account_direction

Status
colourGreen
titleOPTIONAL
Filters block by timestamptime_endby impacted account direction (see below). Must also supply impacted_account

  • both (default)

  • sender

  • receiver

sort

Status
colourGreen
titleOPTIONAL
Filters block by timestamp

block_number

Status
colourGreen
titleOPTIONAL
Filters block by block_number

action_account

Status
colourGreen
titleOPTIONAL
Filters block by action_account

action_name

Status
colourGreen
titleOPTIONAL
Filters block by action_name

sort

Status
colourGreen
titleOPTIONAL
Sorting:

timestamp_asc

timestamp_desc

Sorting of results:

  • timestamp_asc (default)

  • timestamp_desc

Query

Return records from transactions which match all request parameters and:

  • impacted_account is supplied:

    • Constrains transactions to those that are present in account_activityaccount and:

      • impacted_account_direction is supplied and is “sender”

        • type is “sender”

      • impacted_account_direction is supplied and is “receiver”

        • type is “receiver”

      • impacted_account_direction is not supplied or is “both”

        • type is “receiver” OR type is “sender”

    • Please note: a single transaction can be affecting the same account as sender and receiver! In this case the same transaction should be returned twice.

Also include related data from:

  • blocks

    • timestamp

  • traces

    • All traces for transaction

Sort by:

  • timestamp_asc: blockstimestamp ASC

  • timestamp_desc: blockstimestamp DESC

Response

Field

Source Data

id

transactionsid

block_number

transactionsblock_number

timestamp

blockstimestamp

action_account

transactionsaction_account

action_name

transactionsaction_name

account

transactionsaccountaction_name

sender_account

transactionsaccount

receiver_account

account_activityaccount where type is “receiver”

impacted_account_direction

See impacted_account above:

  • “sender”

  • “receiver”

Blank is impacted_account not supplied.

tpid

transactionstpid

fee

transactionsfee

request_data

transactionsrequest_data

request_data

transactionsresponse_data

status

transactionsstatus

type_specific_data

This element contains data which is specific to certain types of transactions as follows

  • transfer_in

    • Definition

  • transfer_out

  • domain

  • handle

  • request

  • stake

traces array

traces where tracestransaction_id matches.

For each trace:

  • id

  • action_ordinal

  • action_account

  • action_name

  • request_data

Example
Code Block
[
	{
		
	}
]

TODO

  • burned addresses and domains pre JAN-2024 - maybe table deltas?

  • reverse handle look-up