MoveCall
Namespace: IotaSdk
Command to call a move function
Functions that can be called by a MoveCall command are those that have a function signature
that is either entry or public (which don't have a reference return type).
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public class MoveCall : IMoveCall, System.IEquatable`1[[IotaSdk.MoveCall, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → MoveCall
Implements IMoveCall, IEquatable<MoveCall>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
MoveCall(UInt64)
public MoveCall(ulong pointer)
Parameters
pointer UInt64
MoveCall(ObjectId, Identifier, Identifier, TypeTag[], Argument[])
public MoveCall(ObjectId package, Identifier module, Identifier function, TypeTag[] typeArguments, Argument[] arguments)
Parameters
package ObjectId
module Identifier
function Identifier
typeArguments TypeTag[]
arguments Argument[]
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Arguments()
The arguments to the function.
public Argument[] Arguments()
Returns
Function()
The function to be called.
public Identifier Function()
Returns
Module()
The specific module in the package containing the function.
public Identifier Module()
Returns
Package()
The package containing the module and function.
public ObjectId Package()
Returns
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToDisplayString()
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
public string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
public string ToJson()
Returns
Exceptions
TypeArguments()
The type arguments to the function.
public TypeTag[] TypeArguments()
Returns
Equals(MoveCall)
public bool Equals(MoveCall? other)
Parameters
other MoveCall?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
FromBcs(Byte[])
Create this type from BCS encoded bytes.
public static MoveCall FromBcs(Byte[] bcs)
Parameters
bcs Byte[]
Returns
Exceptions
FromJson(String)
Create this type from a JSON encoded string.
public static MoveCall FromJson(string json)
Parameters
json String