Show / Hide Table of Contents

Class ContractInfo

The information returned from the GetContractInfoAsync Client method call.
It represents the details concerning a Hedera Network Contract instance, including the public key value to use in smart contract interaction.

Inheritance
Object
ContractInfo
Implements
IEquatable<ContractInfo>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class ContractInfo : IEquatable<ContractInfo>

Properties

| Improve this Doc View Source

Address

Address of the Crypto Currency Account owned by this contract instance.

Declaration
public Address Address { get; }
Property Value
Type Description
Address
| Improve this Doc View Source

Administrator

An optional endorsement that can be used to modify the contract details.
If null, the contract is immutable.

Declaration
public Endorsement Administrator { get; }
Property Value
Type Description
Endorsement
| Improve this Doc View Source

Balance

Contract's Account's Crypto Balance in Tinybars

Declaration
public ulong Balance { get; }
Property Value
Type Description
UInt64
| Improve this Doc View Source

Contract

ID of the contract instance.

Declaration
public Address Contract { get; }
Property Value
Type Description
Address
| Improve this Doc View Source

Deleted

True
if this contract has been deleted.
Declaration
public bool Deleted { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Expiration

The time at which this instance of the contract is (and associated account) is set to expire.

Declaration
public DateTime Expiration { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

Memo

The memo associated with the contract instance.

Declaration
public string Memo { get; }
Property Value
Type Description
String
| Improve this Doc View Source

RenewPeriod

Incremental period for auto-renewal of the contract and account. If account does not have sufficient funds to renew at the expiration time, it will be renewed for a period of time the remaining funds can support. If no funds remain, the contract instance and associated account will be deleted.

Declaration
public TimeSpan RenewPeriod { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

Size

The number of bytes of required to store this contract instance. This value impacts the cost of extending the expiration time.

Declaration
public long Size { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

SmartContractId

The identity of both the contract ID and the associated crypto currency Hedera Account in a form to be used with smart contracts.

Declaration
public string SmartContractId { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Tokens

Balances of tokens associated with this account.

Declaration
public ReadOnlyCollection<TokenBalance> Tokens { get; }
Property Value
Type Description
ReadOnlyCollection<TokenBalance>

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph