Skip to main content

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​

Argument[]

Function()​

The function to be called.

public Identifier Function()

Returns​

Identifier

Module()​

The specific module in the package containing the function.

public Identifier Module()

Returns​

Identifier

Package()​

The package containing the module and function.

public ObjectId Package()

Returns​

ObjectId

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

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​

String

ToJson()​

Convert this type to a JSON encoded string.

public string ToJson()

Returns​

String

Exceptions​

SdkFfiException

TypeArguments()​

The type arguments to the function.

public TypeTag[] TypeArguments()

Returns​

TypeTag[]

Equals(MoveCall)​

public bool Equals(MoveCall? other)

Parameters​

other MoveCall?

Returns​

Boolean

Equals(Object)​

public override bool Equals(object? obj)

Parameters​

obj Object?

Returns​

Boolean

FromBcs(Byte[])​

Create this type from BCS encoded bytes.

public static MoveCall FromBcs(Byte[] bcs)

Parameters​

bcs Byte[]

Returns​

MoveCall

Exceptions​

SdkFfiException

FromJson(String)​

Create this type from a JSON encoded string.

public static MoveCall FromJson(string json)

Parameters​

json String

Returns​

MoveCall

Exceptions​

SdkFfiException