GrpcTransactionFilter
GrpcTransactionFilter Objects
class GrpcTransactionFilter(GrpcTransactionFilterProtocol)
A filter over transactions, used to narrow the transactions returned for a checkpoint.
affected_object
@classmethod
def affected_object(cls, object_id: ObjectId) -> GrpcTransactionFilter
Matches transactions that touch the given object.
all
@classmethod
def all(cls,
filters: typing.List[GrpcTransactionFilter]) -> GrpcTransactionFilter
Matches transactions that satisfy every one of the given filters.
any
@classmethod
def any(cls,
filters: typing.List[GrpcTransactionFilter]) -> GrpcTransactionFilter
Matches transactions that satisfy at least one of the given filters.
command
@classmethod
def command(cls, command: GrpcCommandFilter) -> GrpcTransactionFilter
Matches transactions containing a command that satisfies the given command filter.
event
@classmethod
def event(cls, filter: GrpcEventFilter) -> GrpcTransactionFilter
Matches transactions that emit an event satisfying the given event filter.
execution_status
@classmethod
def execution_status(cls, success: bool) -> GrpcTransactionFilter
Matches transactions by execution status: true for successful transactions, false for
failed ones.
kinds
@classmethod
def kinds(cls,
kinds: typing.List[GrpcTransactionKind]) -> GrpcTransactionFilter
Matches transactions of any of the given kinds.
negation
@classmethod
def negation(cls, filter: GrpcTransactionFilter) -> GrpcTransactionFilter
Matches transactions that do not satisfy the given filter.
receiver
@classmethod
def receiver(cls, receiver: Address) -> GrpcTransactionFilter
Matches transactions received by the given address (determined from the owners of mutated and unwrapped objects).
sender
@classmethod
def sender(cls, sender: Address) -> GrpcTransactionFilter
Matches transactions sent from the given address.