IGraphQlTransactionsFilter
Namespace: IotaSdk
Filter for transaction queries.
Holds at most one of the function, kind, address and object filters that the GraphQL service can only serve one of at a time, so each of those setters replaces whichever was set before; the sender, checkpoint and digest filters can be combined with them and with each other freely.
public interface IGraphQlTransactionsFilter
Attributes NullableContextAttribute
Methods
WithAffectedAddress(Address)
Select transactions that affected the given address.
Replaces the selector already set, if any.
GraphQlTransactionsFilter WithAffectedAddress(Address affectedAddress)
Parameters
affectedAddress Address
Returns
WithAfterCheckpoint(UInt64)
Limit to transactions executed after the given checkpoint, exclusive.
GraphQlTransactionsFilter WithAfterCheckpoint(ulong afterCheckpoint)
Parameters
afterCheckpoint UInt64
Returns
WithAtCheckpoint(UInt64)
Limit to transactions executed in the given checkpoint.
GraphQlTransactionsFilter WithAtCheckpoint(ulong atCheckpoint)
Parameters
atCheckpoint UInt64
Returns
WithBeforeCheckpoint(UInt64)
Limit to transactions executed before the given checkpoint, exclusive.
GraphQlTransactionsFilter WithBeforeCheckpoint(ulong beforeCheckpoint)
Parameters
beforeCheckpoint UInt64
Returns
WithChangedObject(ObjectId)
Select transactions that output a version of the given object.
Replaces the selector already set, if any.
GraphQlTransactionsFilter WithChangedObject(ObjectId changedObject)
Parameters
changedObject ObjectId
Returns
WithFunction(String)
Select by package, module, or function name, e.g. "0x03", "0x03::iota_system", or
"0x03::iota_system::request_add_stake".
Replaces the selector already set, if any.
GraphQlTransactionsFilter WithFunction(string function)
Parameters
function String
Returns
WithInputObject(ObjectId)
Select transactions that used the given object as an input.
Replaces the selector already set, if any.
GraphQlTransactionsFilter WithInputObject(ObjectId inputObject)
Parameters
inputObject ObjectId
Returns
WithKind(GraphQlTransactionBlockKindInput)
Select by transaction kind.
Replaces the selector already set, if any.
GraphQlTransactionsFilter WithKind(GraphQlTransactionBlockKindInput kind)
Parameters
kind GraphQlTransactionBlockKindInput
Returns
WithRecvAddress(Address)
Select transactions that sent an object to the given address.
Replaces the selector already set, if any.
GraphQlTransactionsFilter WithRecvAddress(Address recvAddress)
Parameters
recvAddress Address
Returns
WithSentAddress(Address)
Filter by sender address.
GraphQlTransactionsFilter WithSentAddress(Address sentAddress)
Parameters
sentAddress Address
Returns
WithTransactionIds(TransactionDigest[])
Select by transaction digests.
GraphQlTransactionsFilter WithTransactionIds(TransactionDigest[] transactionIds)
Parameters
transactionIds TransactionDigest[]
Returns
WithWrappedOrDeletedObject(ObjectId)
Select transactions that wrapped or deleted the given object.
Replaces the selector already set, if any.
GraphQlTransactionsFilter WithWrappedOrDeletedObject(ObjectId wrappedOrDeletedObject)
Parameters
wrappedOrDeletedObject ObjectId