Class ContractStateData
Represents the data for a slot on a contract.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class ContractStateData
Properties
| Edit this page View SourceEvmAddress
The contract's EVM Address
Declaration
[JsonPropertyName("address")]
public EvmAddress EvmAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| EvmAddress |
HapiAddress
The contract's HAPI Address
Declaration
[JsonPropertyName("contract_id")]
public EntityId HapiAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Slot
Slot ID
Declaration
[JsonPropertyName("slot")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Slot { get; set; }
Property Value
| Type | Description |
|---|---|
| BigInteger |
StakePeriodStart
Timestamp when data was retrieved.
Declaration
[JsonPropertyName("timestamp")]
public ConsensusTimeStamp StakePeriodStart { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Value
The slot data value
Declaration
[JsonPropertyName("value")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> Value { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |