pub struct ExecutionOutcomeView {
pub executor_id: AccountId,
pub gas_burnt: u64,
pub logs: Vec<String>,
pub metadata: ExecutionMetadataView,
pub receipt_ids: Vec<CryptoHash>,
pub status: ExecutionStatusView,
pub tokens_burnt: String,
}
Expand description
ExecutionOutcomeView
JSON schema
{
"type": "object",
"required": [
"executor_id",
"gas_burnt",
"logs",
"receipt_ids",
"status",
"tokens_burnt"
],
"properties": {
"executor_id": {
"description": "The id of the account on which the execution happens. For transaction this is signer_id,\nfor receipt this is receiver_id.",
"allOf": [
{
"$ref": "#/components/schemas/AccountId"
}
]
},
"gas_burnt": {
"description": "The amount of the gas burnt by the given transaction or receipt.",
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"logs": {
"description": "Logs from this transaction or receipt.",
"type": "array",
"items": {
"type": "string"
}
},
"metadata": {
"description": "Execution metadata, versioned",
"default": {
"version": 1
},
"allOf": [
{
"$ref": "#/components/schemas/ExecutionMetadataView"
}
]
},
"receipt_ids": {
"description": "Receipt IDs generated by this transaction or receipt.",
"type": "array",
"items": {
"$ref": "#/components/schemas/CryptoHash"
}
},
"status": {
"description": "Execution status. Contains the result in case of successful execution.",
"allOf": [
{
"$ref": "#/components/schemas/ExecutionStatusView"
}
]
},
"tokens_burnt": {
"description": "The amount of tokens burnt corresponding to the burnt gas amount.\nThis value doesn't always equal to the `gas_burnt` multiplied by the gas price, because\nthe prepaid gas price might be lower than the actual gas price and it creates a deficit.\n`tokens_burnt` also contains the penalty subtracted from refunds, while\n`gas_burnt` only contains the gas that we actually burn for the execution.",
"type": "string"
}
}
}
Fields§
§executor_id: AccountId
The id of the account on which the execution happens. For transaction this is signer_id, for receipt this is receiver_id.
gas_burnt: u64
The amount of the gas burnt by the given transaction or receipt.
logs: Vec<String>
Logs from this transaction or receipt.
metadata: ExecutionMetadataView
Execution metadata, versioned
receipt_ids: Vec<CryptoHash>
Receipt IDs generated by this transaction or receipt.
status: ExecutionStatusView
Execution status. Contains the result in case of successful execution.
tokens_burnt: String
The amount of tokens burnt corresponding to the burnt gas amount.
This value doesn’t always equal to the gas_burnt
multiplied by the gas price, because
the prepaid gas price might be lower than the actual gas price and it creates a deficit.
tokens_burnt
also contains the penalty subtracted from refunds, while
gas_burnt
only contains the gas that we actually burn for the execution.
Trait Implementations§
Source§impl Clone for ExecutionOutcomeView
impl Clone for ExecutionOutcomeView
Source§fn clone(&self) -> ExecutionOutcomeView
fn clone(&self) -> ExecutionOutcomeView
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more