econds. }
E3Trace:
description: An `E3Summary` with the fields below added at the same level.
allOf:
- $ref: '#/components/schemas/E3Summary'
- type: object
required: [phases, committee, tickets, rewards, reward_allocations, events]
properties:
phases:
type: array
items: { $ref: '#/components/schemas/PhaseView' }
committee:
type: array
items: { $ref: '#/components/schemas/CommitteeMemberView' }
tickets:
type: array
items: { $ref: '#/components/schemas/TicketView' }
rewards:
type: array
items: { $ref: '#/components/schemas/RewardView' }
reward_allocations:
type: array
items:
type: object
required: [operator, amount]
properties:
operator: { type: string }
amount: { type: string }
failure: { type: object, description: Failure details. Not present if the E3 did not fail. }
local_failure: { type: object }
chain_failure: { type: object }
events:
type: array
items: { $ref: '#/components/schemas/EventView' }
PhaseView:
type: object
required: [id, label, state, event_count, sources, errors, warnings]
properties:
id: { $ref: '#/components/schemas/E3Phase' }
label: { type: string, description: 'Display name, for example "DKG · C0".' }
state: { type: string, enum: [pending, active, complete, failed, stalled] }
event_count: { type: integer }
sources:
type: object
required: [local, net, evm]
properties:
local: { type: integer }
net: { type: integer }
evm: { type: integer }
errors: { type: integer }
warnings: { type: integer }
CommitteeMemberView:
type: object
required: [address, party_id, expelled]
properties:
address: { type: string }
party_id: { type: integer }
score: { type: string }
expelled: { type: boolean }
TicketView:
type: object
required: [node, ticket_id, score]
properties:
node: { type: string }
ticket_id: { type: integer }
score: { type: string }
RewardView:
type: object
required: [account, amount, claimed]
properties:
account: { type: string }
token: { type: string }
amount: { type: string }
claimed: { type: boolean }
EventView:
type: object
required:
- seq
- aggregate_id
- timestamp_us
- logical_counter
- producer_fingerprint
- source
- producer
- event_type
- severity
- event_id
- causation_id
- origin_id
- payload
properties:
seq: { type: integer }
aggregate_id: { type: integer }
timestamp_us: { type: integer, description: Unix time in microseconds. }
logical_counter: { type: integer }
producer_fingerprint: { type: string }
block: { type: integer, description: Block number. Only present for chain events. }
source:
type: string
enum: [local, network, evm]
description: The `net` key in `PhaseView.sources` counts `network` events.
producer: { type: string }
event_type: { type: string }
e3_id: { type: string }
phase: { $ref: '#/components/schemas/E3Phase' }
severity: { type: string, enum: [debug, info, warn, error] }
event_id: { type: string }
causation_id: { type: string }
origin_id: { type: string }
payload: { description: Event data. The structure depends on `event_type`. }
LogQueryResult:
type: object
required: [entries, next_cursor, oldest_cursor, total_stored]
properties:
entries:
type: array
items: { $ref: '#/components/schemas/LogEntry' }
next_cursor: { type: integer, description: Send as `since` in the next request. }
oldest_cursor: { type: integer, description: Sequence number of the oldest entry in the buffer. }
total_stored: { type: integer }
LogEntry:
type: object
required: [seq, timestamp_ms, level, target, message, node]
properties:
seq: { type: integer }
timestamp_ms: { type: integer, description: Unix time in milliseconds. }
level: { type: string }
target: { type: string }
message: { type: string }
node: { type: string }
fields:
type: object
additionalProperties: true
description: Structured tracing fields. Not present when empty.
UpdateSnapshot:
type: object
required: [current_version, latest, update_available, releases_url, checked_at_ms]
properties:
current_version: { type: string }
latest:
oneOf:
- $ref: '#/components/schemas/ReleaseInfo'
- type: 'null'
update_available: { type: boolean }
releases_url: { type: string, format: uri }
checked_at_ms: { type: integer, description: Unix time in milliseconds. }
error: { type: string }
ReleaseInfo:
type: object
required: [tag, name, url, published_at, notes]
properties:
tag: { type: string }
name: { type: string }
url: { type: string, format: uri }
published_at: { type: [string, 'null'] }
notes: { type: string, description: Release notes in Markdown. }프로젝트로 돌아가기