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.
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class ContractInfo : IEquatable<ContractInfo>
Properties
| Improve this Doc View SourceAddress
Address of the Crypto Currency Account owned by this contract instance.
Declaration
public Address Address { get; }
Property Value
Type | Description |
---|---|
Address |
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 |
Balance
Contract's Account's Crypto Balance in Tinybars
Declaration
public ulong Balance { get; }
Property Value
Type | Description |
---|---|
UInt64 |
Contract
ID of the contract instance.
Declaration
public Address Contract { get; }
Property Value
Type | Description |
---|---|
Address |
Deleted
True
if this contract has been deleted.
Declaration
public bool Deleted { get; }
Property Value
Type | Description |
---|---|
Boolean |
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 |
Memo
The memo associated with the contract instance.
Declaration
public string Memo { get; }
Property Value
Type | Description |
---|---|
String |
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 |
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 |
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 |
Tokens
Balances of tokens associated with this account.
Declaration
public ReadOnlyCollection<TokenBalance> Tokens { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<TokenBalance> |