Class Method
Every method in the contract is described via a Method interface. This interface is an extension of the one defined in ARC-4.
Assembly: Algorand.dll
Syntax
Properties
|
Edit this page
View Source
Actions
an action is a combination of call/create and an OnComplete
Declaration
[JsonProperty("actions")]
public MethodActions Actions { get; set; }
Property Value
|
Edit this page
View Source
Args
Optional, user-friendly description for the method
Declaration
[JsonProperty("args")]
public List<MethodArgument> Args { get; set; }
Property Value
|
Edit this page
View Source
Description
Optional, user-friendly description for the method
Declaration
[JsonProperty("desc")]
public string Description { get; set; }
Property Value
|
Edit this page
View Source
Events
ARC-28 events that MAY be emitted by this method
Declaration
[JsonProperty("events")]
public List<Event> Events { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
|
Edit this page
View Source
ReadOnly
If this method does not write anything to the ledger (ARC-22)
Declaration
[JsonProperty("readonly")]
public bool? ReadOnly { get; set; }
Property Value
|
Edit this page
View Source
Recommendations
Information that clients can use when calling the method
Declaration
[JsonProperty("recommendations")]
public Recommendations Recommendations { get; set; }
Property Value
|
Edit this page
View Source
Returns
Information about the method's return value
Declaration
[JsonProperty("returns")]
public MethodReturn Returns { get; set; }
Property Value
Methods
|
Edit this page
View Source
ToARC4MethodSelector()
Declaration
public byte[] ToARC4MethodSelector()
Returns
|
Edit this page
View Source
ToARC4MethodSignature()
Declaration
public string ToARC4MethodSignature()
Returns