GraphQlTransactionsFilter
GraphQlTransactionsFilter Objects
class GraphQlTransactionsFilter(GraphQlTransactionsFilterProtocol)
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.
with_affected_address
def with_affected_address(
affected_address: Address) -> GraphQlTransactionsFilter
Select transactions that affected the given address.
Replaces the selector already set, if any.
with_after_checkpoint
def with_after_checkpoint(after_checkpoint: int) -> GraphQlTransactionsFilter
Limit to transactions executed after the given checkpoint, exclusive.
with_at_checkpoint
def with_at_checkpoint(at_checkpoint: int) -> GraphQlTransactionsFilter
Limit to transactions executed in the given checkpoint.
with_before_checkpoint
def with_before_checkpoint(
before_checkpoint: int) -> GraphQlTransactionsFilter
Limit to transactions executed before the given checkpoint, exclusive.
with_changed_object
def with_changed_object(changed_object: ObjectId) -> GraphQlTransactionsFilter
Select transactions that output a version of the given object.
Replaces the selector already set, if any.
with_function
def with_function(function: str) -> GraphQlTransactionsFilter
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.
with_input_object
def with_input_object(input_object: ObjectId) -> GraphQlTransactionsFilter
Select transactions that used the given object as an input.
Replaces the selector already set, if any.
with_kind
def with_kind(
kind: GraphQlTransactionBlockKindInput) -> GraphQlTransactionsFilter
Select by transaction kind.
Replaces the selector already set, if any.
with_recv_address
def with_recv_address(recv_address: Address) -> GraphQlTransactionsFilter
Select transactions that sent an object to the given address.
Replaces the selector already set, if any.
with_sent_address
def with_sent_address(sent_address: Address) -> GraphQlTransactionsFilter
Filter by sender address.
with_transaction_ids
def with_transaction_ids(
transaction_ids: typing.List[TransactionDigest]
) -> GraphQlTransactionsFilter
Select by transaction digests.
with_wrapped_or_deleted_object
def with_wrapped_or_deleted_object(
wrapped_or_deleted_object: ObjectId) -> GraphQlTransactionsFilter
Select transactions that wrapped or deleted the given object.
Replaces the selector already set, if any.