Skip to main content

GrpcTransactionFilter

GrpcTransactionFilter​

class GrpcTransactionFilter

A filter over transactions, used to narrow the transactions returned for a checkpoint.

affectedObject(objectId:)​

static func affectedObject(objectId: ObjectId) -> GrpcTransactionFilter

Matches transactions that touch the given object.

all(filters:)​

static func all(filters: [GrpcTransactionFilter]) -> GrpcTransactionFilter

Matches transactions that satisfy every one of the given filters.

any(filters:)​

static func any(filters: [GrpcTransactionFilter]) -> GrpcTransactionFilter

Matches transactions that satisfy at least one of the given filters.

command(command:)​

static func command(command: GrpcCommandFilter) -> GrpcTransactionFilter

Matches transactions containing a command that satisfies the given command filter.

event(filter:)​

static func event(filter: GrpcEventFilter) -> GrpcTransactionFilter

Matches transactions that emit an event satisfying the given event filter.

executionStatus(success:)​

static func executionStatus(success: Bool) -> GrpcTransactionFilter

Matches transactions by execution status: true for successful transactions, false for failed ones.

kinds(kinds:)​

static func kinds(kinds: [GrpcTransactionKind]) -> GrpcTransactionFilter

Matches transactions of any of the given kinds.

negation(filter:)​

static func negation(filter: GrpcTransactionFilter) -> GrpcTransactionFilter

Matches transactions that do not satisfy the given filter.

receiver(receiver:)​

static func receiver(receiver: Address) -> GrpcTransactionFilter

Matches transactions received by the given address (determined from the owners of mutated and unwrapped objects).

sender(sender:)​

static func sender(sender: Address) -> GrpcTransactionFilter

Matches transactions sent from the given address.