Show / Hide Table of Contents

Class ContractCallResult

Represents the results returned from a contract call.

Inheritance
object
ContractCallResult
Implements
IEquatable<ContractCallResult>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed record ContractCallResult : IEquatable<ContractCallResult>

Properties

| Edit this page View Source

Bloom

Bloom filter for record

Declaration
public ReadOnlyMemory<byte> Bloom { get; }
Property Value
Type Description
ReadOnlyMemory<byte>
| Edit this page View Source

Contract

ID of the contract that was called.

Declaration
public EntityId Contract { get; }
Property Value
Type Description
EntityId
| Edit this page View Source

Error

An error returned from the system if there was a problem.

Declaration
public EncodedParams Error { get; }
Property Value
Type Description
EncodedParams
| Edit this page View Source

Events

Log events returned by the function.

Declaration
public ReadOnlyCollection<ContractEvent> Events { get; }
Property Value
Type Description
ReadOnlyCollection<ContractEvent>
| Edit this page View Source

EvmAddress

The contract's 20-byte EVM address, may or may not
correspond to the shard.realm.num encoded, an
EIP-1014 derived address or 
None

if not returned from the network.

Declaration
public EvmAddress EvmAddress { get; }
Property Value
Type Description
EvmAddress
| Edit this page View Source

GasLimit

The amount of gas available for the call.

Declaration
public long GasLimit { get; }
Property Value
Type Description
long
| Edit this page View Source

GasUsed

The amount of gas that was used.

Declaration
public ulong GasUsed { get; }
Property Value
Type Description
ulong
| Edit this page View Source

Input

The encoded selector parameters passed into the contract call.

Declaration
public EncodedParams Input { get; }
Property Value
Type Description
EncodedParams
| Edit this page View Source

MessageSender

The account that is the "message.sender" of the contract call, if not present it is the transaction Payer.

Declaration
public EntityId MessageSender { get; }
Property Value
Type Description
EntityId
| Edit this page View Source

Nonces

A list of updated contract account nonces containing the new nonce value for each contract account involved in this transaction. For query transactions, this should be empty as a contract query call does not change the state of the EVM.

Declaration
public ReadOnlyDictionary<EntityId, long> Nonces { get; }
Property Value
Type Description
ReadOnlyDictionary<EntityId, long>
| Edit this page View Source

PayableAmount

Number of tinybars sent into this contract transaction call (the function must be payable if this is nonzero).

Declaration
public long PayableAmount { get; }
Property Value
Type Description
long
| Edit this page View Source

Result

The values returned from the contract call.

Declaration
public EncodedParams Result { get; }
Property Value
Type Description
EncodedParams

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph