GrpcCommandFilter
GrpcCommandFilter Objects
class GrpcCommandFilter(GrpcCommandFilterProtocol)
A filter over the commands of a programmable transaction.
make_move_vec
@classmethod
def make_move_vec(cls) -> GrpcCommandFilter
Matches a MakeMoveVec command.
merge_coins
@classmethod
def merge_coins(cls) -> GrpcCommandFilter
Matches a MergeCoins command.
move_call
@classmethod
def move_call(
cls,
package_id: ObjectId,
module: typing.Union[object, typing.Optional[str]] = _DEFAULT,
function: typing.Union[object, typing.Optional[str]] = _DEFAULT
) -> GrpcCommandFilter
Matches a MoveCall command targeting the given package (and optional module and function).
publish
@classmethod
def publish(cls) -> GrpcCommandFilter
Matches a Publish command.
split_coins
@classmethod
def split_coins(cls) -> GrpcCommandFilter
Matches a SplitCoins command.
transfer_objects
@classmethod
def transfer_objects(cls) -> GrpcCommandFilter
Matches a TransferObjects command.
upgrade
@classmethod
def upgrade(
cls,
package_id: typing.Union[object, typing.Optional[ObjectId]] = _DEFAULT
) -> GrpcCommandFilter
Matches an Upgrade command, optionally restricted to the given package being upgraded.