Skip to main content

GrpcCommandFilter

GrpcCommandFilter​

class GrpcCommandFilter

A filter over the commands of a programmable transaction.

makeMoveVec()​

static func makeMoveVec() -> GrpcCommandFilter

Matches a MakeMoveVec command.

mergeCoins()​

static func mergeCoins() -> GrpcCommandFilter

Matches a MergeCoins command.

moveCall(packageId:module:function:)​

static func moveCall(packageId: ObjectId, module: String? = nil, function: String? = nil) -> GrpcCommandFilter

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

publish()​

static func publish() -> GrpcCommandFilter

Matches a Publish command.

splitCoins()​

static func splitCoins() -> GrpcCommandFilter

Matches a SplitCoins command.

transferObjects()​

static func transferObjects() -> GrpcCommandFilter

Matches a TransferObjects command.

upgrade(packageId:)​

static func upgrade(packageId: ObjectId? = nil) -> GrpcCommandFilter

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