Skip to main content

SubscriptionTransactionFilter

Namespace: IotaSdk

Filter incoming transactions in a subscription. Exactly one field must be set.

public record class SubscriptionTransactionFilter : System.IDisposable, System.IEquatable`1[[IotaSdk.SubscriptionTransactionFilter, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → SubscriptionTransactionFilter
Implements IDisposable, IEquatable<SubscriptionTransactionFilter>
Attributes NullableContextAttribute, NullableAttribute

Properties​

Kind​

Filter incoming transactions by kind.

public TransactionBlockKindInput? Kind { get; init; }

Property Value​

TransactionBlockKindInput?

SigningAddress​

Filter incoming transactions by sender address.

Only the sender is compared, despite the name — a sponsored transaction is not matched by its sponsor's (gas owner's) address, even though the sponsor also signed it.

public Address? SigningAddress { get; init; }

Property Value​

Address

Function​

Filter incoming transactions by package, module, or function name, e.g. "0x03", "0x03::iota_system", or "0x03::iota_system::request_add_stake".

public string? Function { get; init; }

Property Value​

String

Constructors​

SubscriptionTransactionFilter(TransactionBlockKindInput?, Address, String)​

Filter incoming transactions in a subscription. Exactly one field must be set.

public SubscriptionTransactionFilter(TransactionBlockKindInput? Kind = null, Address? SigningAddress = null, string? Function = null)

Parameters​

Kind TransactionBlockKindInput?
Filter incoming transactions by kind.

SigningAddress Address?
Filter incoming transactions by sender address.

Only the sender is compared, despite the name — a sponsored transaction is not matched by its sponsor's (gas owner's) address, even though the sponsor also signed it.

Function String?
Filter incoming transactions by package, module, or function name, e.g. "0x03", "0x03::iota_system", or "0x03::iota_system::request_add_stake".

Methods​

Dispose()​

public void Dispose()