Skip to main content

GrpcCommandFilter

Namespace: IotaSdk

A filter over the commands of a programmable transaction.

public class GrpcCommandFilter : IGrpcCommandFilter, System.IDisposable

Inheritance Object → GrpcCommandFilter
Implements IGrpcCommandFilter, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

GrpcCommandFilter(UInt64)​

public GrpcCommandFilter(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

MakeMoveVec()​

Matches a MakeMoveVec command.

public static GrpcCommandFilter MakeMoveVec()

Returns​

GrpcCommandFilter

MergeCoins()​

Matches a MergeCoins command.

public static GrpcCommandFilter MergeCoins()

Returns​

GrpcCommandFilter

MoveCall(ObjectId, String, String)​

Matches a MoveCall command targeting the given package (and optional module and function).

public static GrpcCommandFilter MoveCall(ObjectId packageId, string? module = null, string? function = null)

Parameters​

packageId ObjectId

module String?

function String?

Returns​

GrpcCommandFilter

Publish()​

Matches a Publish command.

public static GrpcCommandFilter Publish()

Returns​

GrpcCommandFilter

SplitCoins()​

Matches a SplitCoins command.

public static GrpcCommandFilter SplitCoins()

Returns​

GrpcCommandFilter

TransferObjects()​

Matches a TransferObjects command.

public static GrpcCommandFilter TransferObjects()

Returns​

GrpcCommandFilter

Upgrade(ObjectId)​

Matches an Upgrade command, optionally restricted to the given package being upgraded.

public static GrpcCommandFilter Upgrade(ObjectId? packageId = null)

Parameters​

packageId ObjectId?

Returns​

GrpcCommandFilter