Invoice Transcript
Description
Execution Lifecycle Messages
root message
The root message serves as the initial entry in the Function Invoice transcript. It includes critical details like the execution ID, taskId, and a list of liteItems, which capture all recorded operations on the invoice, such as "charge," "pay," and "penalty."
executionId
Current execution ID
Text
taskId
Executed Function task
Text
taskCreated_timeStamp
Timestamp for task creation message
unixTimestamp
invoiceId
InvoiceId
Number
stepGasPrice / byteGasPrice
stepGasPrice: Amount of GAS paid for each execution step
byteGasPrice: Amount of GAS paid for each transferred byte.
Number
accounting_signature
Truebit Verify Hub
v: Text r: Text s: Text
lineItem
List of all operations generated during the task execution.
Array
lineItem Function Task
For each participant in the Task execution, there is a lineItem representing an action applied to an "address".
Charge: The Task requester is billed for the execution request.
Pay: The Truebit Verify node is rewarded for executing and submitting the Task result.
Penalty: The Truebit Verify node is penalized for submitting an incorrect response.
operation
Operation Type
["charge","pay","penalty"]
account
If messageType is "charge", you will see the Task Requester Address
If messageType is "pay" or "penalty", you will see the Truebit Verify Address*
Text
total_steps_computed
Total amount of steps executed by the Truebit Verify Node.
Text
peak_memory_used
Peak memory used by the Truebit Verify Node.
Text
Last updated
Was this helpful?