graphsense-python 1.9.4__tar.gz → 1.14.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {graphsense_python-1.9.4/graphsense_python.egg-info → graphsense_python-1.14.0}/PKG-INFO +23 -26
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/README.md +15 -7
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/__init__.py +2 -2
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/addresses_api.py +189 -2
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/blocks_api.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/bulk_api.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/entities_api.py +32 -2
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/general_api.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/rates_api.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/tags_api.py +122 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/tokens_api.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/txs_api.py +294 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api_client.py +2 -2
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/configuration.py +4 -4
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/exceptions.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/actor.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/actor_context.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/actors.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/address.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/address_tag.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/address_tag_all_of.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/address_tags.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/address_tx.py +5 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/address_tx_utxo.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/address_txs.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/block.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/block_at_date.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/concept.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/currency_stats.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/entity.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/entity_addresses.py +1 -1
- graphsense_python-1.14.0/graphsense/model/external_conversion.py +338 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/height.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/label_summary.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/labeled_item_ref.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/labeled_item_refs.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/link.py +5 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/link_utxo.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/links.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/neighbor_address.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/neighbor_addresses.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/neighbor_entities.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/neighbor_entity.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/rate.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/rates.py +1 -1
- graphsense_python-1.14.0/graphsense/model/related_address.py +279 -0
- graphsense_python-1.14.0/graphsense/model/related_addresses.py +272 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_by_currency.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_labels.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_leaf.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_level1.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_level2.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_level3.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_level4.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_level5.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/search_result_level6.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/stats.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tag.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tag_cloud_entry.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tag_summary.py +5 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/taxonomy.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/token_config.py +5 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/token_configs.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/token_values.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tx.py +5 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tx_account.py +5 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tx_ref.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tx_summary.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tx_utxo.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tx_value.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/tx_values.py +1 -1
- graphsense_python-1.14.0/graphsense/model/txs.py +272 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/txs_account.py +1 -1
- graphsense_python-1.14.0/graphsense/model/user_reported_tag.py +286 -0
- graphsense_python-1.14.0/graphsense/model/user_tag_report_response.py +256 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/values.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model_utils.py +1 -1
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/models/__init__.py +6 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/rest.py +2 -2
- {graphsense_python-1.9.4 → graphsense_python-1.14.0/graphsense_python.egg-info}/PKG-INFO +23 -26
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense_python.egg-info/SOURCES.txt +9 -4
- graphsense_python-1.14.0/graphsense_python.egg-info/requires.txt +2 -0
- graphsense_python-1.14.0/graphsense_python.egg-info/top_level.txt +5 -0
- graphsense_python-1.14.0/pyproject.toml +38 -0
- graphsense_python-1.14.0/scripts/openapi_spec_add_auth.py +43 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/setup.cfg +0 -3
- graphsense_python-1.9.4/LICENSE +0 -23
- graphsense_python-1.9.4/graphsense_python.egg-info/requires.txt +0 -2
- graphsense_python-1.9.4/graphsense_python.egg-info/top_level.txt +0 -1
- graphsense_python-1.9.4/setup.py +0 -52
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/api/__init__.py +0 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/apis/__init__.py +0 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense/model/__init__.py +0 -0
- {graphsense_python-1.9.4 → graphsense_python-1.14.0}/graphsense_python.egg-info/dependency_links.txt +0 -0
|
@@ -1,37 +1,26 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: graphsense-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.14.0
|
|
4
4
|
Summary: GraphSense API
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Project-URL: Source, https://github.com/graphsense/graphsense-python
|
|
5
|
+
Author-email: Iknaio Cryptoasset Analytics GmbH <contact@ikna.io>
|
|
6
|
+
Maintainer-email: Iknaio Cryptoasset Analytics GmbH <contact@ikna.io>
|
|
7
|
+
Project-URL: Homepage, https://graphsense.github.io/
|
|
8
|
+
Project-URL: Source, https://github.com/graphsense/graphsense-REST/clients/python
|
|
9
9
|
Project-URL: Changelog, https://github.com/graphsense/blob/master/CHANGELOG.md
|
|
10
|
-
Project-URL: Tracker, https://github.com/graphsense/graphsense-python/issues
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/graphsense/graphsense-python/issues
|
|
11
11
|
Keywords: OpenAPI,OpenAPI-Generator,GraphSense API
|
|
12
12
|
Requires-Python: >=3.6
|
|
13
13
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
14
|
-
License-File: LICENSE
|
|
15
14
|
Requires-Dist: urllib3>=1.25.3
|
|
16
|
-
Requires-Dist: python-dateutil
|
|
17
|
-
Dynamic: author
|
|
18
|
-
Dynamic: author-email
|
|
19
|
-
Dynamic: description
|
|
20
|
-
Dynamic: description-content-type
|
|
21
|
-
Dynamic: home-page
|
|
22
|
-
Dynamic: keywords
|
|
23
|
-
Dynamic: project-url
|
|
24
|
-
Dynamic: requires-dist
|
|
25
|
-
Dynamic: requires-python
|
|
26
|
-
Dynamic: summary
|
|
15
|
+
Requires-Dist: python-dateutil>=2.5.3
|
|
27
16
|
|
|
28
17
|
# graphsense-python
|
|
29
18
|
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks.
|
|
30
19
|
|
|
31
20
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
32
21
|
|
|
33
|
-
- API version: 1.
|
|
34
|
-
- Package version: 1.
|
|
22
|
+
- API version: 1.14.0
|
|
23
|
+
- Package version: 1.14.0
|
|
35
24
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
36
25
|
|
|
37
26
|
## Requirements.
|
|
@@ -44,9 +33,8 @@ Python >= 3.6
|
|
|
44
33
|
If the python package is hosted on a repository, you can install directly using:
|
|
45
34
|
|
|
46
35
|
```sh
|
|
47
|
-
pip install git+https://github.com/graphsense/graphsense-
|
|
36
|
+
pip install git+https://github.com/graphsense/graphsense-REST.git#subdirectory=clients/python
|
|
48
37
|
```
|
|
49
|
-
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/graphsense/graphsense-python.git`)
|
|
50
38
|
|
|
51
39
|
Then import the package:
|
|
52
40
|
```python
|
|
@@ -84,6 +72,7 @@ from graphsense.model.entity import Entity
|
|
|
84
72
|
from graphsense.model.height import Height
|
|
85
73
|
from graphsense.model.links import Links
|
|
86
74
|
from graphsense.model.neighbor_addresses import NeighborAddresses
|
|
75
|
+
from graphsense.model.related_addresses import RelatedAddresses
|
|
87
76
|
from graphsense.model.tag_summary import TagSummary
|
|
88
77
|
# Defining the host is optional and defaults to https://api.ikna.io
|
|
89
78
|
# See configuration.py for a list of all supported configuration parameters.
|
|
@@ -131,6 +120,7 @@ Class | Method | HTTP request | Description
|
|
|
131
120
|
*AddressesApi* | [**list_address_links**](docs/AddressesApi.md#list_address_links) | **GET** /{currency}/addresses/{address}/links | Get outgoing transactions between two addresses
|
|
132
121
|
*AddressesApi* | [**list_address_neighbors**](docs/AddressesApi.md#list_address_neighbors) | **GET** /{currency}/addresses/{address}/neighbors | Get an address's neighbors in the address graph
|
|
133
122
|
*AddressesApi* | [**list_address_txs**](docs/AddressesApi.md#list_address_txs) | **GET** /{currency}/addresses/{address}/txs | Get all transactions an address has been involved in
|
|
123
|
+
*AddressesApi* | [**list_related_addresses**](docs/AddressesApi.md#list_related_addresses) | **GET** /{currency}/addresses/{address}/related_addresses | Get related addresses to the input address
|
|
134
124
|
*AddressesApi* | [**list_tags_by_address**](docs/AddressesApi.md#list_tags_by_address) | **GET** /{currency}/addresses/{address}/tags | Get attribution tags for a given address
|
|
135
125
|
*BlocksApi* | [**get_block**](docs/BlocksApi.md#get_block) | **GET** /{currency}/blocks/{height} | Get a block by its height
|
|
136
126
|
*BlocksApi* | [**get_block_by_date**](docs/BlocksApi.md#get_block_by_date) | **GET** /{currency}/block_by_date/{date} | Get the closest blocks given a timestamp
|
|
@@ -152,12 +142,15 @@ Class | Method | HTTP request | Description
|
|
|
152
142
|
*TagsApi* | [**list_address_tags**](docs/TagsApi.md#list_address_tags) | **GET** /tags | Returns address tags associated with a given label
|
|
153
143
|
*TagsApi* | [**list_concepts**](docs/TagsApi.md#list_concepts) | **GET** /tags/taxonomies/{taxonomy}/concepts | Returns the supported concepts of a taxonomy
|
|
154
144
|
*TagsApi* | [**list_taxonomies**](docs/TagsApi.md#list_taxonomies) | **GET** /tags/taxonomies | Returns the supported taxonomies
|
|
145
|
+
*TagsApi* | [**report_tag**](docs/TagsApi.md#report_tag) | **POST** /tags/report-tag | Users can use this endpoint to report a missing annotation.
|
|
155
146
|
*TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Returns a list of supported token (sub)currencies
|
|
156
147
|
*TxsApi* | [**get_spending_txs**](docs/TxsApi.md#get_spending_txs) | **GET** /{currency}/txs/{tx_hash}/spending | Returns in which other transaction's outputs the asked transaction spent. Think backwards references is the transaction graph. This endpoint is only available for utxo like currencies.
|
|
157
148
|
*TxsApi* | [**get_spent_in_txs**](docs/TxsApi.md#get_spent_in_txs) | **GET** /{currency}/txs/{tx_hash}/spent_in | Returns in which other transactions, outputs from the asked transaction are spent. Think forward references in the transaction graph. This endpoint is only available for utxo like currencies.
|
|
158
149
|
*TxsApi* | [**get_tx**](docs/TxsApi.md#get_tx) | **GET** /{currency}/txs/{tx_hash} | Returns details of a specific transaction identified by its hash
|
|
150
|
+
*TxsApi* | [**get_tx_conversions**](docs/TxsApi.md#get_tx_conversions) | **GET** /{currency}/txs/{tx_hash}/conversions | Returns conversion information (swaps or bridging txs) extracted from a specific transaction
|
|
159
151
|
*TxsApi* | [**get_tx_io**](docs/TxsApi.md#get_tx_io) | **GET** /{currency}/txs/{tx_hash}/{io} | Returns input/output values of a specific transaction identified by its hash
|
|
160
152
|
*TxsApi* | [**list_token_txs**](docs/TxsApi.md#list_token_txs) | **GET** /{currency}/token_txs/{tx_hash} | Returns all token transactions in a given transaction
|
|
153
|
+
*TxsApi* | [**list_tx_flows**](docs/TxsApi.md#list_tx_flows) | **GET** /{currency}/txs/{tx_hash}/flows | Returns all asset flows / Internal txs and token flows within a given transaction
|
|
161
154
|
|
|
162
155
|
|
|
163
156
|
## Documentation For Models
|
|
@@ -178,6 +171,7 @@ Class | Method | HTTP request | Description
|
|
|
178
171
|
- [CurrencyStats](docs/CurrencyStats.md)
|
|
179
172
|
- [Entity](docs/Entity.md)
|
|
180
173
|
- [EntityAddresses](docs/EntityAddresses.md)
|
|
174
|
+
- [ExternalConversion](docs/ExternalConversion.md)
|
|
181
175
|
- [Height](docs/Height.md)
|
|
182
176
|
- [LabelSummary](docs/LabelSummary.md)
|
|
183
177
|
- [LabeledItemRef](docs/LabeledItemRef.md)
|
|
@@ -191,6 +185,8 @@ Class | Method | HTTP request | Description
|
|
|
191
185
|
- [NeighborEntity](docs/NeighborEntity.md)
|
|
192
186
|
- [Rate](docs/Rate.md)
|
|
193
187
|
- [Rates](docs/Rates.md)
|
|
188
|
+
- [RelatedAddress](docs/RelatedAddress.md)
|
|
189
|
+
- [RelatedAddresses](docs/RelatedAddresses.md)
|
|
194
190
|
- [SearchResult](docs/SearchResult.md)
|
|
195
191
|
- [SearchResultByCurrency](docs/SearchResultByCurrency.md)
|
|
196
192
|
- [SearchResultLabels](docs/SearchResultLabels.md)
|
|
@@ -216,7 +212,10 @@ Class | Method | HTTP request | Description
|
|
|
216
212
|
- [TxUtxo](docs/TxUtxo.md)
|
|
217
213
|
- [TxValue](docs/TxValue.md)
|
|
218
214
|
- [TxValues](docs/TxValues.md)
|
|
215
|
+
- [Txs](docs/Txs.md)
|
|
219
216
|
- [TxsAccount](docs/TxsAccount.md)
|
|
217
|
+
- [UserReportedTag](docs/UserReportedTag.md)
|
|
218
|
+
- [UserTagReportResponse](docs/UserTagReportResponse.md)
|
|
220
219
|
- [Values](docs/Values.md)
|
|
221
220
|
|
|
222
221
|
|
|
@@ -249,12 +248,10 @@ Run the jupyter notebooks
|
|
|
249
248
|
jupyter notebook
|
|
250
249
|
|
|
251
250
|
|
|
252
|
-
|
|
253
251
|
## Generation from OpenAPI specification
|
|
254
252
|
|
|
255
253
|
This python package has been generated from [Graphsense's OpenAPI specification](https://api.ikna.io) hosted by [Iknaio Cryptoasset Analytics GmbH](https://ikna.io) using this command:
|
|
256
254
|
|
|
257
255
|
```
|
|
258
|
-
make
|
|
256
|
+
make generate-openapi-client
|
|
259
257
|
```
|
|
260
|
-
|
|
@@ -3,8 +3,8 @@ GraphSense API provides programmatic access to various ledgers' addresses, entit
|
|
|
3
3
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
|
-
- API version: 1.
|
|
7
|
-
- Package version: 1.
|
|
6
|
+
- API version: 1.14.0
|
|
7
|
+
- Package version: 1.14.0
|
|
8
8
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
9
9
|
|
|
10
10
|
## Requirements.
|
|
@@ -17,9 +17,8 @@ Python >= 3.6
|
|
|
17
17
|
If the python package is hosted on a repository, you can install directly using:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
pip install git+https://github.com/graphsense/graphsense-
|
|
20
|
+
pip install git+https://github.com/graphsense/graphsense-REST.git#subdirectory=clients/python
|
|
21
21
|
```
|
|
22
|
-
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/graphsense/graphsense-python.git`)
|
|
23
22
|
|
|
24
23
|
Then import the package:
|
|
25
24
|
```python
|
|
@@ -57,6 +56,7 @@ from graphsense.model.entity import Entity
|
|
|
57
56
|
from graphsense.model.height import Height
|
|
58
57
|
from graphsense.model.links import Links
|
|
59
58
|
from graphsense.model.neighbor_addresses import NeighborAddresses
|
|
59
|
+
from graphsense.model.related_addresses import RelatedAddresses
|
|
60
60
|
from graphsense.model.tag_summary import TagSummary
|
|
61
61
|
# Defining the host is optional and defaults to https://api.ikna.io
|
|
62
62
|
# See configuration.py for a list of all supported configuration parameters.
|
|
@@ -104,6 +104,7 @@ Class | Method | HTTP request | Description
|
|
|
104
104
|
*AddressesApi* | [**list_address_links**](docs/AddressesApi.md#list_address_links) | **GET** /{currency}/addresses/{address}/links | Get outgoing transactions between two addresses
|
|
105
105
|
*AddressesApi* | [**list_address_neighbors**](docs/AddressesApi.md#list_address_neighbors) | **GET** /{currency}/addresses/{address}/neighbors | Get an address's neighbors in the address graph
|
|
106
106
|
*AddressesApi* | [**list_address_txs**](docs/AddressesApi.md#list_address_txs) | **GET** /{currency}/addresses/{address}/txs | Get all transactions an address has been involved in
|
|
107
|
+
*AddressesApi* | [**list_related_addresses**](docs/AddressesApi.md#list_related_addresses) | **GET** /{currency}/addresses/{address}/related_addresses | Get related addresses to the input address
|
|
107
108
|
*AddressesApi* | [**list_tags_by_address**](docs/AddressesApi.md#list_tags_by_address) | **GET** /{currency}/addresses/{address}/tags | Get attribution tags for a given address
|
|
108
109
|
*BlocksApi* | [**get_block**](docs/BlocksApi.md#get_block) | **GET** /{currency}/blocks/{height} | Get a block by its height
|
|
109
110
|
*BlocksApi* | [**get_block_by_date**](docs/BlocksApi.md#get_block_by_date) | **GET** /{currency}/block_by_date/{date} | Get the closest blocks given a timestamp
|
|
@@ -125,12 +126,15 @@ Class | Method | HTTP request | Description
|
|
|
125
126
|
*TagsApi* | [**list_address_tags**](docs/TagsApi.md#list_address_tags) | **GET** /tags | Returns address tags associated with a given label
|
|
126
127
|
*TagsApi* | [**list_concepts**](docs/TagsApi.md#list_concepts) | **GET** /tags/taxonomies/{taxonomy}/concepts | Returns the supported concepts of a taxonomy
|
|
127
128
|
*TagsApi* | [**list_taxonomies**](docs/TagsApi.md#list_taxonomies) | **GET** /tags/taxonomies | Returns the supported taxonomies
|
|
129
|
+
*TagsApi* | [**report_tag**](docs/TagsApi.md#report_tag) | **POST** /tags/report-tag | Users can use this endpoint to report a missing annotation.
|
|
128
130
|
*TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Returns a list of supported token (sub)currencies
|
|
129
131
|
*TxsApi* | [**get_spending_txs**](docs/TxsApi.md#get_spending_txs) | **GET** /{currency}/txs/{tx_hash}/spending | Returns in which other transaction's outputs the asked transaction spent. Think backwards references is the transaction graph. This endpoint is only available for utxo like currencies.
|
|
130
132
|
*TxsApi* | [**get_spent_in_txs**](docs/TxsApi.md#get_spent_in_txs) | **GET** /{currency}/txs/{tx_hash}/spent_in | Returns in which other transactions, outputs from the asked transaction are spent. Think forward references in the transaction graph. This endpoint is only available for utxo like currencies.
|
|
131
133
|
*TxsApi* | [**get_tx**](docs/TxsApi.md#get_tx) | **GET** /{currency}/txs/{tx_hash} | Returns details of a specific transaction identified by its hash
|
|
134
|
+
*TxsApi* | [**get_tx_conversions**](docs/TxsApi.md#get_tx_conversions) | **GET** /{currency}/txs/{tx_hash}/conversions | Returns conversion information (swaps or bridging txs) extracted from a specific transaction
|
|
132
135
|
*TxsApi* | [**get_tx_io**](docs/TxsApi.md#get_tx_io) | **GET** /{currency}/txs/{tx_hash}/{io} | Returns input/output values of a specific transaction identified by its hash
|
|
133
136
|
*TxsApi* | [**list_token_txs**](docs/TxsApi.md#list_token_txs) | **GET** /{currency}/token_txs/{tx_hash} | Returns all token transactions in a given transaction
|
|
137
|
+
*TxsApi* | [**list_tx_flows**](docs/TxsApi.md#list_tx_flows) | **GET** /{currency}/txs/{tx_hash}/flows | Returns all asset flows / Internal txs and token flows within a given transaction
|
|
134
138
|
|
|
135
139
|
|
|
136
140
|
## Documentation For Models
|
|
@@ -151,6 +155,7 @@ Class | Method | HTTP request | Description
|
|
|
151
155
|
- [CurrencyStats](docs/CurrencyStats.md)
|
|
152
156
|
- [Entity](docs/Entity.md)
|
|
153
157
|
- [EntityAddresses](docs/EntityAddresses.md)
|
|
158
|
+
- [ExternalConversion](docs/ExternalConversion.md)
|
|
154
159
|
- [Height](docs/Height.md)
|
|
155
160
|
- [LabelSummary](docs/LabelSummary.md)
|
|
156
161
|
- [LabeledItemRef](docs/LabeledItemRef.md)
|
|
@@ -164,6 +169,8 @@ Class | Method | HTTP request | Description
|
|
|
164
169
|
- [NeighborEntity](docs/NeighborEntity.md)
|
|
165
170
|
- [Rate](docs/Rate.md)
|
|
166
171
|
- [Rates](docs/Rates.md)
|
|
172
|
+
- [RelatedAddress](docs/RelatedAddress.md)
|
|
173
|
+
- [RelatedAddresses](docs/RelatedAddresses.md)
|
|
167
174
|
- [SearchResult](docs/SearchResult.md)
|
|
168
175
|
- [SearchResultByCurrency](docs/SearchResultByCurrency.md)
|
|
169
176
|
- [SearchResultLabels](docs/SearchResultLabels.md)
|
|
@@ -189,7 +196,10 @@ Class | Method | HTTP request | Description
|
|
|
189
196
|
- [TxUtxo](docs/TxUtxo.md)
|
|
190
197
|
- [TxValue](docs/TxValue.md)
|
|
191
198
|
- [TxValues](docs/TxValues.md)
|
|
199
|
+
- [Txs](docs/Txs.md)
|
|
192
200
|
- [TxsAccount](docs/TxsAccount.md)
|
|
201
|
+
- [UserReportedTag](docs/UserReportedTag.md)
|
|
202
|
+
- [UserTagReportResponse](docs/UserTagReportResponse.md)
|
|
193
203
|
- [Values](docs/Values.md)
|
|
194
204
|
|
|
195
205
|
|
|
@@ -222,12 +232,10 @@ Run the jupyter notebooks
|
|
|
222
232
|
jupyter notebook
|
|
223
233
|
|
|
224
234
|
|
|
225
|
-
|
|
226
235
|
## Generation from OpenAPI specification
|
|
227
236
|
|
|
228
237
|
This python package has been generated from [Graphsense's OpenAPI specification](https://api.ikna.io) hosted by [Iknaio Cryptoasset Analytics GmbH](https://ikna.io) using this command:
|
|
229
238
|
|
|
230
239
|
```
|
|
231
|
-
make
|
|
240
|
+
make generate-openapi-client
|
|
232
241
|
```
|
|
233
|
-
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.14.0
|
|
9
9
|
Contact: contact@ikna.io
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
__version__ = "1.
|
|
14
|
+
__version__ = "1.14.0"
|
|
15
15
|
|
|
16
16
|
# import ApiClient
|
|
17
17
|
from graphsense.api_client import ApiClient
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.14.0
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -29,6 +29,7 @@ from graphsense.model.entity import Entity
|
|
|
29
29
|
from graphsense.model.height import Height
|
|
30
30
|
from graphsense.model.links import Links
|
|
31
31
|
from graphsense.model.neighbor_addresses import NeighborAddresses
|
|
32
|
+
from graphsense.model.related_addresses import RelatedAddresses
|
|
32
33
|
from graphsense.model.tag_summary import TagSummary
|
|
33
34
|
|
|
34
35
|
|
|
@@ -469,7 +470,10 @@ class AddressesApi(object):
|
|
|
469
470
|
Keyword Args:
|
|
470
471
|
min_height (Height): Return transactions starting from given height. [optional]
|
|
471
472
|
max_height (Height): Return transactions up to (including) given height. [optional]
|
|
473
|
+
min_date (datetime): min date of txs. [optional]
|
|
474
|
+
max_date (datetime): max date of txs. [optional]
|
|
472
475
|
order (str): Sorting order. [optional] if omitted the server will use the default value of "desc"
|
|
476
|
+
token_currency (str): Return transactions of given token or base currency. [optional]
|
|
473
477
|
page (str): Resumption token for retrieving the next page. [optional]
|
|
474
478
|
pagesize (int): Number of items returned in a single page. [optional]
|
|
475
479
|
_return_http_data_only (bool): response data without head status
|
|
@@ -542,7 +546,10 @@ class AddressesApi(object):
|
|
|
542
546
|
'neighbor',
|
|
543
547
|
'min_height',
|
|
544
548
|
'max_height',
|
|
549
|
+
'min_date',
|
|
550
|
+
'max_date',
|
|
545
551
|
'order',
|
|
552
|
+
'token_currency',
|
|
546
553
|
'page',
|
|
547
554
|
'pagesize',
|
|
548
555
|
],
|
|
@@ -585,8 +592,14 @@ class AddressesApi(object):
|
|
|
585
592
|
(Height,),
|
|
586
593
|
'max_height':
|
|
587
594
|
(Height,),
|
|
595
|
+
'min_date':
|
|
596
|
+
(datetime,),
|
|
597
|
+
'max_date':
|
|
598
|
+
(datetime,),
|
|
588
599
|
'order':
|
|
589
600
|
(str,),
|
|
601
|
+
'token_currency':
|
|
602
|
+
(str,),
|
|
590
603
|
'page':
|
|
591
604
|
(str,),
|
|
592
605
|
'pagesize':
|
|
@@ -598,7 +611,10 @@ class AddressesApi(object):
|
|
|
598
611
|
'neighbor': 'neighbor',
|
|
599
612
|
'min_height': 'min_height',
|
|
600
613
|
'max_height': 'max_height',
|
|
614
|
+
'min_date': 'min_date',
|
|
615
|
+
'max_date': 'max_date',
|
|
601
616
|
'order': 'order',
|
|
617
|
+
'token_currency': 'token_currency',
|
|
602
618
|
'page': 'page',
|
|
603
619
|
'pagesize': 'pagesize',
|
|
604
620
|
},
|
|
@@ -608,7 +624,10 @@ class AddressesApi(object):
|
|
|
608
624
|
'neighbor': 'query',
|
|
609
625
|
'min_height': 'query',
|
|
610
626
|
'max_height': 'query',
|
|
627
|
+
'min_date': 'query',
|
|
628
|
+
'max_date': 'query',
|
|
611
629
|
'order': 'query',
|
|
630
|
+
'token_currency': 'query',
|
|
612
631
|
'page': 'query',
|
|
613
632
|
'pagesize': 'query',
|
|
614
633
|
},
|
|
@@ -827,8 +846,10 @@ class AddressesApi(object):
|
|
|
827
846
|
direction (str): Incoming or outgoing transactions. [optional]
|
|
828
847
|
min_height (Height): Return transactions starting from given height. [optional]
|
|
829
848
|
max_height (Height): Return transactions up to (including) given height. [optional]
|
|
849
|
+
min_date (datetime): min date of txs. [optional]
|
|
850
|
+
max_date (datetime): max date of txs. [optional]
|
|
830
851
|
order (str): Sorting order. [optional] if omitted the server will use the default value of "desc"
|
|
831
|
-
token_currency (str): Return transactions of given token currency. [optional]
|
|
852
|
+
token_currency (str): Return transactions of given token or base currency. [optional]
|
|
832
853
|
page (str): Resumption token for retrieving the next page. [optional]
|
|
833
854
|
pagesize (int): Number of items returned in a single page. [optional]
|
|
834
855
|
_return_http_data_only (bool): response data without head status
|
|
@@ -899,6 +920,8 @@ class AddressesApi(object):
|
|
|
899
920
|
'direction',
|
|
900
921
|
'min_height',
|
|
901
922
|
'max_height',
|
|
923
|
+
'min_date',
|
|
924
|
+
'max_date',
|
|
902
925
|
'order',
|
|
903
926
|
'token_currency',
|
|
904
927
|
'page',
|
|
@@ -948,6 +971,10 @@ class AddressesApi(object):
|
|
|
948
971
|
(Height,),
|
|
949
972
|
'max_height':
|
|
950
973
|
(Height,),
|
|
974
|
+
'min_date':
|
|
975
|
+
(datetime,),
|
|
976
|
+
'max_date':
|
|
977
|
+
(datetime,),
|
|
951
978
|
'order':
|
|
952
979
|
(str,),
|
|
953
980
|
'token_currency':
|
|
@@ -963,6 +990,8 @@ class AddressesApi(object):
|
|
|
963
990
|
'direction': 'direction',
|
|
964
991
|
'min_height': 'min_height',
|
|
965
992
|
'max_height': 'max_height',
|
|
993
|
+
'min_date': 'min_date',
|
|
994
|
+
'max_date': 'max_date',
|
|
966
995
|
'order': 'order',
|
|
967
996
|
'token_currency': 'token_currency',
|
|
968
997
|
'page': 'page',
|
|
@@ -974,6 +1003,8 @@ class AddressesApi(object):
|
|
|
974
1003
|
'direction': 'query',
|
|
975
1004
|
'min_height': 'query',
|
|
976
1005
|
'max_height': 'query',
|
|
1006
|
+
'min_date': 'query',
|
|
1007
|
+
'max_date': 'query',
|
|
977
1008
|
'order': 'query',
|
|
978
1009
|
'token_currency': 'query',
|
|
979
1010
|
'page': 'query',
|
|
@@ -992,6 +1023,162 @@ class AddressesApi(object):
|
|
|
992
1023
|
callable=__list_address_txs
|
|
993
1024
|
)
|
|
994
1025
|
|
|
1026
|
+
def __list_related_addresses(
|
|
1027
|
+
self,
|
|
1028
|
+
currency,
|
|
1029
|
+
address,
|
|
1030
|
+
**kwargs
|
|
1031
|
+
):
|
|
1032
|
+
"""Get related addresses to the input address # noqa: E501
|
|
1033
|
+
|
|
1034
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1035
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1036
|
+
|
|
1037
|
+
>>> thread = api.list_related_addresses(currency, address, async_req=True)
|
|
1038
|
+
>>> result = thread.get()
|
|
1039
|
+
|
|
1040
|
+
Args:
|
|
1041
|
+
currency (str): The cryptocurrency code (e.g., btc)
|
|
1042
|
+
address (str): The cryptocurrency address
|
|
1043
|
+
|
|
1044
|
+
Keyword Args:
|
|
1045
|
+
address_relation_type (str): what type of related addresses to return. [optional] if omitted the server will use the default value of "pubkey"
|
|
1046
|
+
page (str): Resumption token for retrieving the next page. [optional]
|
|
1047
|
+
pagesize (int): Number of items returned in a single page. [optional]
|
|
1048
|
+
_return_http_data_only (bool): response data without head status
|
|
1049
|
+
code and headers. Default is True.
|
|
1050
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1051
|
+
will be returned without reading/decoding response data.
|
|
1052
|
+
Default is True.
|
|
1053
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1054
|
+
one number provided, it will be total request timeout. It can also
|
|
1055
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1056
|
+
Default is None.
|
|
1057
|
+
_check_input_type (bool): specifies if type checking
|
|
1058
|
+
should be done one the data sent to the server.
|
|
1059
|
+
Default is True.
|
|
1060
|
+
_check_return_type (bool): specifies if type checking
|
|
1061
|
+
should be done one the data received from the server.
|
|
1062
|
+
Default is True.
|
|
1063
|
+
_host_index (int/None): specifies the index of the server
|
|
1064
|
+
that we want to use.
|
|
1065
|
+
Default is read from the configuration.
|
|
1066
|
+
async_req (bool): execute request asynchronously
|
|
1067
|
+
|
|
1068
|
+
Returns:
|
|
1069
|
+
RelatedAddresses
|
|
1070
|
+
If the method is called asynchronously, returns the request
|
|
1071
|
+
thread.
|
|
1072
|
+
"""
|
|
1073
|
+
kwargs['async_req'] = kwargs.get(
|
|
1074
|
+
'async_req', False
|
|
1075
|
+
)
|
|
1076
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1077
|
+
'_return_http_data_only', True
|
|
1078
|
+
)
|
|
1079
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1080
|
+
'_preload_content', True
|
|
1081
|
+
)
|
|
1082
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1083
|
+
'_request_timeout', None
|
|
1084
|
+
)
|
|
1085
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1086
|
+
'_check_input_type', True
|
|
1087
|
+
)
|
|
1088
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1089
|
+
'_check_return_type', True
|
|
1090
|
+
)
|
|
1091
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1092
|
+
kwargs['currency'] = \
|
|
1093
|
+
currency
|
|
1094
|
+
kwargs['address'] = \
|
|
1095
|
+
address
|
|
1096
|
+
return self.call_with_http_info(**kwargs)
|
|
1097
|
+
|
|
1098
|
+
self.list_related_addresses = _Endpoint(
|
|
1099
|
+
settings={
|
|
1100
|
+
'response_type': (RelatedAddresses,),
|
|
1101
|
+
'auth': [
|
|
1102
|
+
'api_key'
|
|
1103
|
+
],
|
|
1104
|
+
'endpoint_path': '/{currency}/addresses/{address}/related_addresses',
|
|
1105
|
+
'operation_id': 'list_related_addresses',
|
|
1106
|
+
'http_method': 'GET',
|
|
1107
|
+
'servers': None,
|
|
1108
|
+
},
|
|
1109
|
+
params_map={
|
|
1110
|
+
'all': [
|
|
1111
|
+
'currency',
|
|
1112
|
+
'address',
|
|
1113
|
+
'address_relation_type',
|
|
1114
|
+
'page',
|
|
1115
|
+
'pagesize',
|
|
1116
|
+
],
|
|
1117
|
+
'required': [
|
|
1118
|
+
'currency',
|
|
1119
|
+
'address',
|
|
1120
|
+
],
|
|
1121
|
+
'nullable': [
|
|
1122
|
+
],
|
|
1123
|
+
'enum': [
|
|
1124
|
+
'address_relation_type',
|
|
1125
|
+
],
|
|
1126
|
+
'validation': [
|
|
1127
|
+
'pagesize',
|
|
1128
|
+
]
|
|
1129
|
+
},
|
|
1130
|
+
root_map={
|
|
1131
|
+
'validations': {
|
|
1132
|
+
('pagesize',): {
|
|
1133
|
+
|
|
1134
|
+
'inclusive_minimum': 1,
|
|
1135
|
+
},
|
|
1136
|
+
},
|
|
1137
|
+
'allowed_values': {
|
|
1138
|
+
('address_relation_type',): {
|
|
1139
|
+
|
|
1140
|
+
"PUBKEY": "pubkey"
|
|
1141
|
+
},
|
|
1142
|
+
},
|
|
1143
|
+
'openapi_types': {
|
|
1144
|
+
'currency':
|
|
1145
|
+
(str,),
|
|
1146
|
+
'address':
|
|
1147
|
+
(str,),
|
|
1148
|
+
'address_relation_type':
|
|
1149
|
+
(str,),
|
|
1150
|
+
'page':
|
|
1151
|
+
(str,),
|
|
1152
|
+
'pagesize':
|
|
1153
|
+
(int,),
|
|
1154
|
+
},
|
|
1155
|
+
'attribute_map': {
|
|
1156
|
+
'currency': 'currency',
|
|
1157
|
+
'address': 'address',
|
|
1158
|
+
'address_relation_type': 'address_relation_type',
|
|
1159
|
+
'page': 'page',
|
|
1160
|
+
'pagesize': 'pagesize',
|
|
1161
|
+
},
|
|
1162
|
+
'location_map': {
|
|
1163
|
+
'currency': 'path',
|
|
1164
|
+
'address': 'path',
|
|
1165
|
+
'address_relation_type': 'query',
|
|
1166
|
+
'page': 'query',
|
|
1167
|
+
'pagesize': 'query',
|
|
1168
|
+
},
|
|
1169
|
+
'collection_format_map': {
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
headers_map={
|
|
1173
|
+
'accept': [
|
|
1174
|
+
'application/json'
|
|
1175
|
+
],
|
|
1176
|
+
'content_type': [],
|
|
1177
|
+
},
|
|
1178
|
+
api_client=api_client,
|
|
1179
|
+
callable=__list_related_addresses
|
|
1180
|
+
)
|
|
1181
|
+
|
|
995
1182
|
def __list_tags_by_address(
|
|
996
1183
|
self,
|
|
997
1184
|
currency,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.14.0
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.14.0
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.14.0
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -497,7 +497,10 @@ class EntitiesApi(object):
|
|
|
497
497
|
Keyword Args:
|
|
498
498
|
min_height (Height): Return transactions starting from given height. [optional]
|
|
499
499
|
max_height (Height): Return transactions up to (including) given height. [optional]
|
|
500
|
+
min_date (datetime): min date of txs. [optional]
|
|
501
|
+
max_date (datetime): max date of txs. [optional]
|
|
500
502
|
order (str): Sorting order. [optional] if omitted the server will use the default value of "desc"
|
|
503
|
+
token_currency (str): Return transactions of given token or base currency. [optional]
|
|
501
504
|
page (str): Resumption token for retrieving the next page. [optional]
|
|
502
505
|
pagesize (int): Number of items returned in a single page. [optional]
|
|
503
506
|
_return_http_data_only (bool): response data without head status
|
|
@@ -570,7 +573,10 @@ class EntitiesApi(object):
|
|
|
570
573
|
'neighbor',
|
|
571
574
|
'min_height',
|
|
572
575
|
'max_height',
|
|
576
|
+
'min_date',
|
|
577
|
+
'max_date',
|
|
573
578
|
'order',
|
|
579
|
+
'token_currency',
|
|
574
580
|
'page',
|
|
575
581
|
'pagesize',
|
|
576
582
|
],
|
|
@@ -613,8 +619,14 @@ class EntitiesApi(object):
|
|
|
613
619
|
(Height,),
|
|
614
620
|
'max_height':
|
|
615
621
|
(Height,),
|
|
622
|
+
'min_date':
|
|
623
|
+
(datetime,),
|
|
624
|
+
'max_date':
|
|
625
|
+
(datetime,),
|
|
616
626
|
'order':
|
|
617
627
|
(str,),
|
|
628
|
+
'token_currency':
|
|
629
|
+
(str,),
|
|
618
630
|
'page':
|
|
619
631
|
(str,),
|
|
620
632
|
'pagesize':
|
|
@@ -626,7 +638,10 @@ class EntitiesApi(object):
|
|
|
626
638
|
'neighbor': 'neighbor',
|
|
627
639
|
'min_height': 'min_height',
|
|
628
640
|
'max_height': 'max_height',
|
|
641
|
+
'min_date': 'min_date',
|
|
642
|
+
'max_date': 'max_date',
|
|
629
643
|
'order': 'order',
|
|
644
|
+
'token_currency': 'token_currency',
|
|
630
645
|
'page': 'page',
|
|
631
646
|
'pagesize': 'pagesize',
|
|
632
647
|
},
|
|
@@ -636,7 +651,10 @@ class EntitiesApi(object):
|
|
|
636
651
|
'neighbor': 'query',
|
|
637
652
|
'min_height': 'query',
|
|
638
653
|
'max_height': 'query',
|
|
654
|
+
'min_date': 'query',
|
|
655
|
+
'max_date': 'query',
|
|
639
656
|
'order': 'query',
|
|
657
|
+
'token_currency': 'query',
|
|
640
658
|
'page': 'query',
|
|
641
659
|
'pagesize': 'query',
|
|
642
660
|
},
|
|
@@ -861,8 +879,10 @@ class EntitiesApi(object):
|
|
|
861
879
|
direction (str): Incoming or outgoing transactions. [optional]
|
|
862
880
|
min_height (Height): Return transactions starting from given height. [optional]
|
|
863
881
|
max_height (Height): Return transactions up to (including) given height. [optional]
|
|
882
|
+
min_date (datetime): min date of txs. [optional]
|
|
883
|
+
max_date (datetime): max date of txs. [optional]
|
|
864
884
|
order (str): Sorting order. [optional] if omitted the server will use the default value of "desc"
|
|
865
|
-
token_currency (str): Return transactions of given token currency. [optional]
|
|
885
|
+
token_currency (str): Return transactions of given token or base currency. [optional]
|
|
866
886
|
page (str): Resumption token for retrieving the next page. [optional]
|
|
867
887
|
pagesize (int): Number of items returned in a single page. [optional]
|
|
868
888
|
_return_http_data_only (bool): response data without head status
|
|
@@ -933,6 +953,8 @@ class EntitiesApi(object):
|
|
|
933
953
|
'direction',
|
|
934
954
|
'min_height',
|
|
935
955
|
'max_height',
|
|
956
|
+
'min_date',
|
|
957
|
+
'max_date',
|
|
936
958
|
'order',
|
|
937
959
|
'token_currency',
|
|
938
960
|
'page',
|
|
@@ -982,6 +1004,10 @@ class EntitiesApi(object):
|
|
|
982
1004
|
(Height,),
|
|
983
1005
|
'max_height':
|
|
984
1006
|
(Height,),
|
|
1007
|
+
'min_date':
|
|
1008
|
+
(datetime,),
|
|
1009
|
+
'max_date':
|
|
1010
|
+
(datetime,),
|
|
985
1011
|
'order':
|
|
986
1012
|
(str,),
|
|
987
1013
|
'token_currency':
|
|
@@ -997,6 +1023,8 @@ class EntitiesApi(object):
|
|
|
997
1023
|
'direction': 'direction',
|
|
998
1024
|
'min_height': 'min_height',
|
|
999
1025
|
'max_height': 'max_height',
|
|
1026
|
+
'min_date': 'min_date',
|
|
1027
|
+
'max_date': 'max_date',
|
|
1000
1028
|
'order': 'order',
|
|
1001
1029
|
'token_currency': 'token_currency',
|
|
1002
1030
|
'page': 'page',
|
|
@@ -1008,6 +1036,8 @@ class EntitiesApi(object):
|
|
|
1008
1036
|
'direction': 'query',
|
|
1009
1037
|
'min_height': 'query',
|
|
1010
1038
|
'max_height': 'query',
|
|
1039
|
+
'min_date': 'query',
|
|
1040
|
+
'max_date': 'query',
|
|
1011
1041
|
'order': 'query',
|
|
1012
1042
|
'token_currency': 'query',
|
|
1013
1043
|
'page': 'query',
|