-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmonero_transfer_query.pyi
More file actions
38 lines (34 loc) · 1.41 KB
/
monero_transfer_query.pyi
File metadata and controls
38 lines (34 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import typing
from .monero_transfer import MoneroTransfer
from .monero_destination import MoneroDestination
from .monero_tx_query import MoneroTxQuery
class MoneroTransferQuery(MoneroTransfer):
"""
Configures a query to retrieve transfers.
All transfers are returned except those that do not meet the criteria defined in this query.
"""
address: str | None
"""Select transfers involving particular address. Empty for all."""
addresses: list[str]
"""Select transfers involving particular addresses. Empty for all."""
destinations: list[MoneroDestination]
"""Select transfers involving particular destinations. Empty for all."""
has_destinations: bool | None
"""Filter transfers with or without destinations. `None` for all."""
incoming: bool | None
"""Filter incoming or outgoing transfers. `None` for all."""
subaddress_indices: list[int]
"""Select transfers involving particular subaddresses. Empty for all."""
tx_query: MoneroTxQuery | None
"""Related transaction query."""
@staticmethod
def deserialize_from_block(transfer_query_json: str) -> MoneroTransferQuery:
...
def __init__(self) -> None:
"""Initialize a Monero transfer query."""
...
@typing.override
def copy(self) -> MoneroTransferQuery:
...
def meets_criteria(self, transfer: MoneroTransferQuery, query_parent: bool = True) -> bool:
...