Protocol Documentation - Monitor
Name
Number
Description
WARN
0
Identifyh a warning
ERROR
1
Identify an error
FATAL
2
Identify a fatal error
PANIC
3
Identify a panic
Field
Type
Description
field
string
Identifier for an arbitrary log field
value
string
string encoded payload of an arbitrary field
Field
Type
Description
level
Leve
The log level set for this alert
msg
string
The text message carried by the alert
timestampMillis
string
Hex-encoded hash of the transaction that the caller wants to see
file
string
File name where the error was generated (can be empty)
line
uint32
Line number where the error was triggered (0 means no line available)
function
string
Name of the function where the error was triggered (can be null)
fields
Field (repeated)
An array of fields added by the user to the log entry
Field
Type
Description
timeSinceLastBlockSec
uint32
Amount of seconds since the last block was produced
lastKnownHeight
uint64
Height of last known block
lastKnownHash
bytes
Hash of the last known block
Field
Type
Description
height
uint64
Block height
hash
bytes
Block Hash
timestamp
int64
Unix timestamp - amount of seconds from 1st of January 1970
txAmount
uint32
Amount of transactions in the block
blockTimeSec
uint32
Time taken to accept the block
Just an empty message, for requests that do not need parameters.
Just an empty message, for responses that carry only the status code