Casper.Network.SDK
Show / Hide Table of Contents

Class ExecutionResult

Inheritance
object
ExecutionResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class ExecutionResult

Fields

| Edit this page View Source

_executionResultV1

Declaration
protected ExecutionResultV1 _executionResultV1
Field Value
Type Description
ExecutionResultV1
| Edit this page View Source

_version

Declaration
protected int _version
Field Value
Type Description
int

Properties

| Edit this page View Source

Consumed

How much gas was consumed executing this transaction.

Declaration
[JsonPropertyName("consumed")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Consumed { get; init; }
Property Value
Type Description
BigInteger
| Edit this page View Source

Cost

How much was paid for this transaction.

Declaration
[JsonPropertyName("cost")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Cost { get; init; }
Property Value
Type Description
BigInteger
| Edit this page View Source

CurrentGasPrice

The gas price of the era.

Declaration
[JsonPropertyName("current_price")]
public ushort CurrentGasPrice { get; init; }
Property Value
Type Description
ushort
| Edit this page View Source

Effect

A log of all transforms produced during execution.

Declaration
[JsonPropertyName("effects")]
[JsonConverter(typeof(GenericListConverter<Transform, Transform.TransformConverter>))]
public List<Transform> Effect { get; init; }
Property Value
Type Description
List<Transform>
| Edit this page View Source

ErrorMessage

If there is no error message, this execution was processed successfully. If there is an error message, this execution failed to fully process for the stated reason.

Declaration
[JsonPropertyName("error_message")]
public string ErrorMessage { get; init; }
Property Value
Type Description
string
| Edit this page View Source

IsSuccess

True if the transaction was completed without error.

Declaration
[JsonIgnore]
public bool IsSuccess { get; }
Property Value
Type Description
bool
| Edit this page View Source

Limit

What was the maximum allowed gas limit for this transaction?.

Declaration
[JsonPropertyName("limit")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Limit { get; init; }
Property Value
Type Description
BigInteger
| Edit this page View Source

Refund

How much was refunded (if any)

Declaration
[JsonPropertyName("refund")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Refund { get; init; }
Property Value
Type Description
BigInteger
| Edit this page View Source

SizeEstimate

The size estimate of the transaction

Declaration
[JsonPropertyName("size_estimate")]
public ulong SizeEstimate { get; init; }
Property Value
Type Description
ulong
| Edit this page View Source

Transfers

A record of transfers performed while executing this transaction.

Declaration
[JsonPropertyName("transfers")]
public List<Transfer> Transfers { get; init; }
Property Value
Type Description
List<Transfer>
| Edit this page View Source

Version

Returns the version of the block.

Declaration
public int Version { get; }
Property Value
Type Description
int

Operators

| Edit this page View Source

explicit operator ExecutionResultV1(ExecutionResult)

Declaration
public static explicit operator ExecutionResultV1(ExecutionResult executionResult)
Parameters
Type Name Description
ExecutionResult executionResult
Returns
Type Description
ExecutionResultV1
| Edit this page View Source

explicit operator ExecutionResult(ExecutionResultV1)

Declaration
public static explicit operator ExecutionResult(ExecutionResultV1 executionResult)
Parameters
Type Name Description
ExecutionResultV1 executionResult
Returns
Type Description
ExecutionResult
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC