Versions Compared

Key

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

...

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

domain

Status
colourBlue
titleDEFINED BY RULES
Domain on which handle is registered. Right of @ in user@domain

domains → domain

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

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

...

  • 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

  • table deltas

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

...

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

Field

Source Data

handle

traceaction_tracesactdatafio_address

domain

Domain from (traceaction_tracesactdatafio_address) split by @ and take second param.

account

traceaction_tracesactdataowner_fio_public_key hashed to account

encryption_key

traceaction_tracesactdataowner_fio_public_key

encryption_key_set

“false”

bundled_tx

“100”

expiration

responseexpiration

status

“active"

...

Field

Source Data

id

traceaction_tracesactdatafio_request_id

status

“sent_to_blockchain”

Trigger

...

: Table Deltas: added:false and kvo->table:domains

Table: domains
Status
colourYellow
titleupdate

Field

Source Data

domain

trace kvoaction_tracesactdatadomainname valuename

status

“burnt”

Table: domain_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

domain

trace kvoaction_tracesactdatadomainname valuename

transaction_id

traceid

type

“auto_burn”

API

/get_blocks

Returns block information.

Request

...

Parameter

...

Description

...

time_start

Trigger: Table Deltas: added:false and kvo->table:fionames

Additional check needs to be performed:

  • If this handle burn was already processed as a result of Trigger: fio.address:burnaddress and action_ordinal = 1 do not process this trigger.

Table: handles
Status
colour

...

Yellow
title

...

time_end

update

Field

Source Data

handle

kvovaluename

status

“burnt”

Table: handle_activity
Status
colourGreen
titleNEW RECORD

Field

Source Data

handle

kvovaluename

transaction_id

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
colourGreen
titleOPTIONAL
Sorting:

  • block_num_asc (default)

  • block_num_desc

  • timestamp_asc (default)

  • timestamp_desc

...

Parameter

Description

time_start

Status
colourGreen
titleOPTIONAL
Filters block by timestamp

time_end

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

impacted_account

Status
colourGreen
titleOPTIONAL
Filters by impacted account (see below)

impacted_account_direction

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

both (

  • both (default)

  • sender

  • receiver

sort

Status
colourGreen
titleOPTIONAL
Sorting of results:

  • timestamp_asc (default)

  • timestamp_desc

...

Return records from transactions which match all request parameters andexcept:

  • impacted_account is supplied:

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

      impacted_account_direction is supplied and is “sender”

      • Records from transactions where impacted_account = account_activity->account and type is “sender”

    • impacted_account_direction is supplied and is “receiver”

      • Records from transactions where impacted_account = account_activity->account and type is “receiver”

    • impacted_account_direction is

      not

      supplied

      or

      and is “both”

      type is “receiver” OR type is “sender”

      or not supplied

      • Records from transactions where impacted_account = account_activity->account

    • 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 transactiontransaction should be returned twice.

Also include related data from:

  • blocks

    • timestamp

  • traces

    • All traces for transaction

  • token_transfers

    • id matches transaction_id

    • Include

      • payer_account

      • payee_account

      • amount

      • type

      • memo

  • domain_activity

    • id matches transaction_id

    • Include

      • domain

      • type

  • handle_activity

    • id matches transaction_id

    • Include

      • handle

      • type

  • token_staking

    • id matches transaction_id

    • Include

      • staker_account

      • amount

  • fio_requests

    • id matches transaction_id

    • Include

      • id

      • payee_handle

      • payer_handle

      • content

      • payee_pub_key

      • payer_pub_key

      • status

  • fio_data

    • id matches transaction_id

    • Include

      • request_id

      • payee_handle

      • payer_handle

      • content

      • payee_pub_key

      • payer_pub_key

      • status

Sort by:

  • timestamp_asc: blockstimestamp ASC

  • timestamp_desc: blockstimestamp DESC

...

Field

Source Data

id

transactionsid

block_number

transactionsblock_number

timestamp

blockstimestamp

action_account

transactionsaction_account

action_name

transactionsaction_name

sender_account

transactionsaccount_activityaccount where type is “sender”

receiver_account

account_activityaccount where type is “receiver”

impacted_account_direction

See impacted_account above:

  • “sender”

  • “receiver”

Blank is if 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

  • transfertoken_intransfers

  • Definition

    domain_activity

  • transferhandle_outactivity

  • domain

  • handle

  • request

  • staketoken_staking

  • fio_requests

  • fio_data

traces array

traces where tracestransaction_id matches.

For each trace:

  • id

  • action_ordinal

  • action_account

  • action_name

  • request_data

Example
Code Block
[
	{
		
	}
]

TODO

...

  • reverse handle look-up