Show / Hide Table of Contents

Class CallContractParams

Provides the details of the request to the client when invoking a contract function.

Inheritance
Object
CallContractParams
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 class CallContractParams

Properties

| Improve this Doc View Source

Contract

The address of the contract to call.

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

FunctionArgs

The function arguments to send with the method call.

Declaration
public object[] FunctionArgs { get; set; }
Property Value
Type Description
Object[]
| Improve this Doc View Source

FunctionName

Name of the contract function to call.

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

Gas

The amount of gas that is allowed for the call.

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

PayableAmount

For payable function calls, the amount of tinybars to send to the contract.

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

Signatory

Additional private key, keys or signing callback method required to invoke this contract. Typically not used however there are some edge cases where it may send crypto to accounts that require a signature to receive funds.

Declaration
public Signatory Signatory { get; set; }
Property Value
Type Description
Signatory
Remarks

Keys/callbacks added here will be combined with those already identified in the client object's context when signing this transaction to change the state of this account. They will not be asked to sign transactions to retrieve the record if the "WithRecord" form of the method call is made. The client will rely on the Signatory from the context to sign the transaction requesting the record.

  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph