GrpcEventFilter
Namespace: IotaSdk
A filter over events, used to narrow the events returned for a checkpoint.
public class GrpcEventFilter : IGrpcEventFilter, System.IDisposable
Inheritance Object → GrpcEventFilter
Implements IGrpcEventFilter, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
GrpcEventFilter(UInt64)
public GrpcEventFilter(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
All(GrpcEventFilter[])
Matches events that satisfy every one of the given filters.
public static GrpcEventFilter All(GrpcEventFilter[] filters)
Parameters
filters GrpcEventFilter[]
Returns
Any(GrpcEventFilter[])
Matches events that satisfy at least one of the given filters.
public static GrpcEventFilter Any(GrpcEventFilter[] filters)
Parameters
filters GrpcEventFilter[]
Returns
MoveEventPackageAndModule(ObjectId, String)
Matches events whose struct is defined in the given Move package (and optional module).
public static GrpcEventFilter MoveEventPackageAndModule(ObjectId packageId, string? module = null)
Parameters
packageId ObjectId
module String?
Returns
MoveEventType(StructTag)
Matches events with the given Move event struct tag, e.g. 0xabcd::my_module::Foo.
public static GrpcEventFilter MoveEventType(StructTag structTag)
Parameters
structTag StructTag
Returns
MovePackageAndModule(ObjectId, String)
Matches events emitted in the given Move package (and optional module).
public static GrpcEventFilter MovePackageAndModule(ObjectId packageId, string? module = null)
Parameters
packageId ObjectId
module String?
Returns
Negation(GrpcEventFilter)
Matches events that do not satisfy the given filter.
public static GrpcEventFilter Negation(GrpcEventFilter filter)
Parameters
filter GrpcEventFilter
Returns
Sender(Address)
Matches events emitted by transactions sent from the given address.
public static GrpcEventFilter Sender(Address sender)
Parameters
sender Address