graphsense-python 1.4.1__tar.gz → 1.4.2__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.4.1 → graphsense-python-1.4.2}/PKG-INFO +16 -22
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/README.md +15 -21
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/__init__.py +2 -2
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/addresses_api.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/blocks_api.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/bulk_api.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/entities_api.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/general_api.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/rates_api.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/tags_api.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/tokens_api.py +2 -2
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/txs_api.py +3 -3
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api_client.py +2 -2
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/configuration.py +3 -3
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/exceptions.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/actor.py +19 -19
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/actor_context.py +25 -25
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/actors.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/address.py +41 -41
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/address_tag.py +37 -37
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/address_tag_all_of.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/address_tags.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/address_tx.py +13 -13
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/address_tx_utxo.py +19 -19
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/address_txs.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/block.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/concept.py +15 -15
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/currency_stats.py +15 -15
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/entity.py +41 -41
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/entity_addresses.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/height.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/labeled_item_ref.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/labeled_item_refs.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/link.py +17 -17
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/link_utxo.py +19 -19
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/links.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/neighbor_address.py +15 -15
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/neighbor_addresses.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/neighbor_entities.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/neighbor_entity.py +15 -15
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/rate.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/rates.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_by_currency.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_labels.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_leaf.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_level1.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_level2.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_level3.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_level4.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_level5.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/search_result_level6.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/stats.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/tag.py +47 -47
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/taxonomy.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/token_config.py +9 -9
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/token_configs.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/token_values.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/tx.py +17 -17
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/tx_account.py +29 -29
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/tx_ref.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/tx_summary.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/tx_utxo.py +19 -19
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/tx_value.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/tx_values.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/txs_account.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/values.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model_utils.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/rest.py +1 -1
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense_python.egg-info/PKG-INFO +16 -22
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/setup.py +2 -2
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/LICENSE +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/api/__init__.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/apis/__init__.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/model/__init__.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense/models/__init__.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense_python.egg-info/SOURCES.txt +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense_python.egg-info/dependency_links.txt +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense_python.egg-info/requires.txt +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/graphsense_python.egg-info/top_level.txt +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/setup.cfg +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_actor.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_actor_context.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_actors.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_address.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_address_tag.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_address_tag_all_of.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_address_tags.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_address_tx.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_address_tx_utxo.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_address_txs.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_addresses_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_block.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_blocks_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_bulk_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_concept.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_currency_stats.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_entities_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_entity.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_entity_addresses.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_general_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_height.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_labeled_item_ref.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_labeled_item_refs.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_link.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_link_utxo.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_links.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_neighbor_address.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_neighbor_addresses.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_neighbor_entities.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_neighbor_entity.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_rate.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_rates.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_rates_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_by_currency.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_labels.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_leaf.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_level1.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_level2.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_level3.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_level4.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_level5.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_search_result_level6.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_stats.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tag.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tags_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_taxonomy.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_token_config.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_token_configs.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_token_values.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tokens_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tx.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tx_account.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tx_ref.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tx_summary.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tx_utxo.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tx_value.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_tx_values.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_txs_account.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_txs_api.py +0 -0
- {graphsense-python-1.4.1 → graphsense-python-1.4.2}/test/test_values.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: graphsense-python
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: GraphSense API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Iknaio Cryptoasset Analytics GmbH
|
|
@@ -17,8 +17,8 @@ GraphSense API provides programmatic access to various ledgers' addresses, entit
|
|
|
17
17
|
|
|
18
18
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
19
19
|
|
|
20
|
-
- API version: 1.4.
|
|
21
|
-
- Package version: 1.4.
|
|
20
|
+
- API version: 1.4.2
|
|
21
|
+
- Package version: 1.4.2
|
|
22
22
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
23
23
|
|
|
24
24
|
## Requirements.
|
|
@@ -54,21 +54,6 @@ Then import the package:
|
|
|
54
54
|
import graphsense
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
### Generate from OpenAPI specification
|
|
59
|
-
|
|
60
|
-
In order to generate the client from [Graphsense's OpenAPI specification](https://github.com/graphsense/graphsense-openapi) run the [OpenAPI Generator CLI](https://openapi-generator.tech/), eg. using docker:
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
URL=https://github.com/graphsense/graphsense-openapi/blob/master/graphsense.yaml
|
|
64
|
-
docker run --rm \
|
|
65
|
-
-v "${PWD}:/build" \
|
|
66
|
-
openapitools/openapi-generator-cli:v5.1.1 \
|
|
67
|
-
generate -i "$URL" \
|
|
68
|
-
-g python \
|
|
69
|
-
-o /build
|
|
70
|
-
```
|
|
71
|
-
|
|
72
57
|
## Getting Started
|
|
73
58
|
|
|
74
59
|
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
@@ -109,7 +94,7 @@ with graphsense.ApiClient(configuration) as api_client:
|
|
|
109
94
|
# Create an instance of the API class
|
|
110
95
|
api_instance = addresses_api.AddressesApi(api_client)
|
|
111
96
|
currency = "btc" # str | The cryptocurrency code (e.g., btc)
|
|
112
|
-
address = "addressA" # str | The cryptocurrency address
|
|
97
|
+
address = "addressA" # str | The cryptocurrency address
|
|
113
98
|
|
|
114
99
|
try:
|
|
115
100
|
# Get an address
|
|
@@ -150,11 +135,11 @@ Class | Method | HTTP request | Description
|
|
|
150
135
|
*TagsApi* | [**list_address_tags**](docs/TagsApi.md#list_address_tags) | **GET** /tags | Returns address tags associated with a given label
|
|
151
136
|
*TagsApi* | [**list_concepts**](docs/TagsApi.md#list_concepts) | **GET** /tags/taxonomies/{taxonomy}/concepts | Returns the supported concepts of a taxonomy
|
|
152
137
|
*TagsApi* | [**list_taxonomies**](docs/TagsApi.md#list_taxonomies) | **GET** /tags/taxonomies | Returns the supported taxonomies
|
|
153
|
-
*TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Returns a list of supported token (sub)currencies
|
|
138
|
+
*TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Returns a list of supported token (sub)currencies
|
|
154
139
|
*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.
|
|
155
140
|
*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.
|
|
156
|
-
*TxsApi* | [**get_tx**](docs/TxsApi.md#get_tx) | **GET** /{currency}/txs/{tx_hash} | Returns details of a specific transaction identified by its hash
|
|
157
|
-
*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
|
|
141
|
+
*TxsApi* | [**get_tx**](docs/TxsApi.md#get_tx) | **GET** /{currency}/txs/{tx_hash} | Returns details of a specific transaction identified by its hash
|
|
142
|
+
*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
|
|
158
143
|
*TxsApi* | [**list_token_txs**](docs/TxsApi.md#list_token_txs) | **GET** /{currency}/token_txs/{tx_hash} | Returns all token transactions in a given transaction
|
|
159
144
|
|
|
160
145
|
|
|
@@ -243,3 +228,12 @@ Run the jupyter notebooks
|
|
|
243
228
|
jupyter notebook
|
|
244
229
|
|
|
245
230
|
|
|
231
|
+
|
|
232
|
+
## Generation from OpenAPI specification
|
|
233
|
+
|
|
234
|
+
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:
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
make GS_REST_SERVICE_URL="https://api.ikna.io" generate-openapi-client
|
|
238
|
+
```
|
|
239
|
+
|
|
@@ -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.4.
|
|
7
|
-
- Package version: 1.4.
|
|
6
|
+
- API version: 1.4.2
|
|
7
|
+
- Package version: 1.4.2
|
|
8
8
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
9
9
|
|
|
10
10
|
## Requirements.
|
|
@@ -40,21 +40,6 @@ Then import the package:
|
|
|
40
40
|
import graphsense
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
### Generate from OpenAPI specification
|
|
45
|
-
|
|
46
|
-
In order to generate the client from [Graphsense's OpenAPI specification](https://github.com/graphsense/graphsense-openapi) run the [OpenAPI Generator CLI](https://openapi-generator.tech/), eg. using docker:
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
URL=https://github.com/graphsense/graphsense-openapi/blob/master/graphsense.yaml
|
|
50
|
-
docker run --rm \
|
|
51
|
-
-v "${PWD}:/build" \
|
|
52
|
-
openapitools/openapi-generator-cli:v5.1.1 \
|
|
53
|
-
generate -i "$URL" \
|
|
54
|
-
-g python \
|
|
55
|
-
-o /build
|
|
56
|
-
```
|
|
57
|
-
|
|
58
43
|
## Getting Started
|
|
59
44
|
|
|
60
45
|
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
@@ -95,7 +80,7 @@ with graphsense.ApiClient(configuration) as api_client:
|
|
|
95
80
|
# Create an instance of the API class
|
|
96
81
|
api_instance = addresses_api.AddressesApi(api_client)
|
|
97
82
|
currency = "btc" # str | The cryptocurrency code (e.g., btc)
|
|
98
|
-
address = "addressA" # str | The cryptocurrency address
|
|
83
|
+
address = "addressA" # str | The cryptocurrency address
|
|
99
84
|
|
|
100
85
|
try:
|
|
101
86
|
# Get an address
|
|
@@ -136,11 +121,11 @@ Class | Method | HTTP request | Description
|
|
|
136
121
|
*TagsApi* | [**list_address_tags**](docs/TagsApi.md#list_address_tags) | **GET** /tags | Returns address tags associated with a given label
|
|
137
122
|
*TagsApi* | [**list_concepts**](docs/TagsApi.md#list_concepts) | **GET** /tags/taxonomies/{taxonomy}/concepts | Returns the supported concepts of a taxonomy
|
|
138
123
|
*TagsApi* | [**list_taxonomies**](docs/TagsApi.md#list_taxonomies) | **GET** /tags/taxonomies | Returns the supported taxonomies
|
|
139
|
-
*TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Returns a list of supported token (sub)currencies
|
|
124
|
+
*TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Returns a list of supported token (sub)currencies
|
|
140
125
|
*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.
|
|
141
126
|
*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.
|
|
142
|
-
*TxsApi* | [**get_tx**](docs/TxsApi.md#get_tx) | **GET** /{currency}/txs/{tx_hash} | Returns details of a specific transaction identified by its hash
|
|
143
|
-
*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
|
|
127
|
+
*TxsApi* | [**get_tx**](docs/TxsApi.md#get_tx) | **GET** /{currency}/txs/{tx_hash} | Returns details of a specific transaction identified by its hash
|
|
128
|
+
*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
|
|
144
129
|
*TxsApi* | [**list_token_txs**](docs/TxsApi.md#list_token_txs) | **GET** /{currency}/token_txs/{tx_hash} | Returns all token transactions in a given transaction
|
|
145
130
|
|
|
146
131
|
|
|
@@ -229,3 +214,12 @@ Run the jupyter notebooks
|
|
|
229
214
|
jupyter notebook
|
|
230
215
|
|
|
231
216
|
|
|
217
|
+
|
|
218
|
+
## Generation from OpenAPI specification
|
|
219
|
+
|
|
220
|
+
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:
|
|
221
|
+
|
|
222
|
+
```
|
|
223
|
+
make GS_REST_SERVICE_URL="https://api.ikna.io" generate-openapi-client
|
|
224
|
+
```
|
|
225
|
+
|
|
@@ -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.4.
|
|
8
|
+
The version of the OpenAPI document: 1.4.2
|
|
9
9
|
Contact: contact@ikna.io
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
__version__ = "1.4.
|
|
14
|
+
__version__ = "1.4.2"
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -42,7 +42,7 @@ class TokensApi(object):
|
|
|
42
42
|
currency,
|
|
43
43
|
**kwargs
|
|
44
44
|
):
|
|
45
|
-
"""Returns a list of supported token (sub)currencies
|
|
45
|
+
"""Returns a list of supported token (sub)currencies # noqa: E501
|
|
46
46
|
|
|
47
47
|
This method makes a synchronous HTTP request by default. To make an
|
|
48
48
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -314,7 +314,7 @@ class TxsApi(object):
|
|
|
314
314
|
tx_hash,
|
|
315
315
|
**kwargs
|
|
316
316
|
):
|
|
317
|
-
"""Returns details of a specific transaction identified by its hash
|
|
317
|
+
"""Returns details of a specific transaction identified by its hash # noqa: E501
|
|
318
318
|
|
|
319
319
|
This method makes a synchronous HTTP request by default. To make an
|
|
320
320
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -455,7 +455,7 @@ class TxsApi(object):
|
|
|
455
455
|
io,
|
|
456
456
|
**kwargs
|
|
457
457
|
):
|
|
458
|
-
"""Returns input/output values of a specific transaction identified by its hash
|
|
458
|
+
"""Returns input/output values of a specific transaction identified by its hash # noqa: E501
|
|
459
459
|
|
|
460
460
|
This method makes a synchronous HTTP request by default. To make an
|
|
461
461
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -77,7 +77,7 @@ class ApiClient(object):
|
|
|
77
77
|
self.default_headers[header_name] = header_value
|
|
78
78
|
self.cookie = cookie
|
|
79
79
|
# Set default User-Agent.
|
|
80
|
-
self.user_agent = 'OpenAPI-Generator/1.4.
|
|
80
|
+
self.user_agent = 'OpenAPI-Generator/1.4.2/python'
|
|
81
81
|
|
|
82
82
|
def __enter__(self):
|
|
83
83
|
return self
|
|
@@ -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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -406,8 +406,8 @@ conf = graphsense.Configuration(
|
|
|
406
406
|
return "Python SDK Debug Report:\n"\
|
|
407
407
|
"OS: {env}\n"\
|
|
408
408
|
"Python Version: {pyversion}\n"\
|
|
409
|
-
"Version of the API: 1.4.
|
|
410
|
-
"SDK Package Version: 1.4.
|
|
409
|
+
"Version of the API: 1.4.2\n"\
|
|
410
|
+
"SDK Package Version: 1.4.2".\
|
|
411
411
|
format(env=sys.platform, pyversion=sys.version)
|
|
412
412
|
|
|
413
413
|
def get_host_settings(self):
|
|
@@ -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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -90,13 +90,13 @@ class Actor(ModelNormal):
|
|
|
90
90
|
"""
|
|
91
91
|
lazy_import()
|
|
92
92
|
return {
|
|
93
|
-
'categories': ([LabeledItemRef],), # noqa: E501
|
|
94
93
|
'id': (str,), # noqa: E501
|
|
95
|
-
'jurisdictions': ([LabeledItemRef],), # noqa: E501
|
|
96
94
|
'label': (str,), # noqa: E501
|
|
97
95
|
'uri': (str,), # noqa: E501
|
|
98
|
-
'
|
|
96
|
+
'categories': ([LabeledItemRef],), # noqa: E501
|
|
97
|
+
'jurisdictions': ([LabeledItemRef],), # noqa: E501
|
|
99
98
|
'nr_tags': (int,), # noqa: E501
|
|
99
|
+
'context': (ActorContext,), # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
@cached_property
|
|
@@ -105,13 +105,13 @@ class Actor(ModelNormal):
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
attribute_map = {
|
|
108
|
-
'categories': 'categories', # noqa: E501
|
|
109
108
|
'id': 'id', # noqa: E501
|
|
110
|
-
'jurisdictions': 'jurisdictions', # noqa: E501
|
|
111
109
|
'label': 'label', # noqa: E501
|
|
112
110
|
'uri': 'uri', # noqa: E501
|
|
113
|
-
'
|
|
111
|
+
'categories': 'categories', # noqa: E501
|
|
112
|
+
'jurisdictions': 'jurisdictions', # noqa: E501
|
|
114
113
|
'nr_tags': 'nr_tags', # noqa: E501
|
|
114
|
+
'context': 'context', # noqa: E501
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
read_only_vars = {
|
|
@@ -121,15 +121,15 @@ class Actor(ModelNormal):
|
|
|
121
121
|
|
|
122
122
|
@classmethod
|
|
123
123
|
@convert_js_args_to_python_args
|
|
124
|
-
def _from_openapi_data(cls,
|
|
124
|
+
def _from_openapi_data(cls, id, label, uri, categories, jurisdictions, *args, **kwargs): # noqa: E501
|
|
125
125
|
"""Actor - a model defined in OpenAPI
|
|
126
126
|
|
|
127
127
|
Args:
|
|
128
|
-
categories ([LabeledItemRef]): A list actor categories
|
|
129
128
|
id (str): Id of the actor
|
|
130
|
-
jurisdictions ([LabeledItemRef]): A list jurisdictions
|
|
131
129
|
label (str): Label
|
|
132
130
|
uri (str): URI
|
|
131
|
+
categories ([LabeledItemRef]): A list actor categories
|
|
132
|
+
jurisdictions ([LabeledItemRef]): A list jurisdictions
|
|
133
133
|
|
|
134
134
|
Keyword Args:
|
|
135
135
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -162,8 +162,8 @@ class Actor(ModelNormal):
|
|
|
162
162
|
Animal class but this time we won't travel
|
|
163
163
|
through its discriminator because we passed in
|
|
164
164
|
_visited_composed_classes = (Animal,)
|
|
165
|
-
context (ActorContext): [optional] # noqa: E501
|
|
166
165
|
nr_tags (int): number of address tags of the actor. [optional] # noqa: E501
|
|
166
|
+
context (ActorContext): [optional] # noqa: E501
|
|
167
167
|
"""
|
|
168
168
|
|
|
169
169
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -191,11 +191,11 @@ class Actor(ModelNormal):
|
|
|
191
191
|
self._configuration = _configuration
|
|
192
192
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
193
193
|
|
|
194
|
-
self.categories = categories
|
|
195
194
|
self.id = id
|
|
196
|
-
self.jurisdictions = jurisdictions
|
|
197
195
|
self.label = label
|
|
198
196
|
self.uri = uri
|
|
197
|
+
self.categories = categories
|
|
198
|
+
self.jurisdictions = jurisdictions
|
|
199
199
|
for var_name, var_value in kwargs.items():
|
|
200
200
|
if var_name not in self.attribute_map and \
|
|
201
201
|
self._configuration is not None and \
|
|
@@ -216,15 +216,15 @@ class Actor(ModelNormal):
|
|
|
216
216
|
])
|
|
217
217
|
|
|
218
218
|
@convert_js_args_to_python_args
|
|
219
|
-
def __init__(self,
|
|
219
|
+
def __init__(self, id, label, uri, categories, jurisdictions, *args, **kwargs): # noqa: E501
|
|
220
220
|
"""Actor - a model defined in OpenAPI
|
|
221
221
|
|
|
222
222
|
Args:
|
|
223
|
-
categories ([LabeledItemRef]): A list actor categories
|
|
224
223
|
id (str): Id of the actor
|
|
225
|
-
jurisdictions ([LabeledItemRef]): A list jurisdictions
|
|
226
224
|
label (str): Label
|
|
227
225
|
uri (str): URI
|
|
226
|
+
categories ([LabeledItemRef]): A list actor categories
|
|
227
|
+
jurisdictions ([LabeledItemRef]): A list jurisdictions
|
|
228
228
|
|
|
229
229
|
Keyword Args:
|
|
230
230
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -257,8 +257,8 @@ class Actor(ModelNormal):
|
|
|
257
257
|
Animal class but this time we won't travel
|
|
258
258
|
through its discriminator because we passed in
|
|
259
259
|
_visited_composed_classes = (Animal,)
|
|
260
|
-
context (ActorContext): [optional] # noqa: E501
|
|
261
260
|
nr_tags (int): number of address tags of the actor. [optional] # noqa: E501
|
|
261
|
+
context (ActorContext): [optional] # noqa: E501
|
|
262
262
|
"""
|
|
263
263
|
|
|
264
264
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -284,11 +284,11 @@ class Actor(ModelNormal):
|
|
|
284
284
|
self._configuration = _configuration
|
|
285
285
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
286
286
|
|
|
287
|
-
self.categories = categories
|
|
288
287
|
self.id = id
|
|
289
|
-
self.jurisdictions = jurisdictions
|
|
290
288
|
self.label = label
|
|
291
289
|
self.uri = uri
|
|
290
|
+
self.categories = categories
|
|
291
|
+
self.jurisdictions = jurisdictions
|
|
292
292
|
for var_name, var_value in kwargs.items():
|
|
293
293
|
if var_name not in self.attribute_map and \
|
|
294
294
|
self._configuration is not None and \
|
|
@@ -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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|
|
@@ -82,14 +82,14 @@ class ActorContext(ModelNormal):
|
|
|
82
82
|
and the value is attribute type.
|
|
83
83
|
"""
|
|
84
84
|
return {
|
|
85
|
-
'
|
|
86
|
-
'defilama_ids': ([str],), # noqa: E501
|
|
85
|
+
'uris': ([str],), # noqa: E501
|
|
87
86
|
'images': ([str],), # noqa: E501
|
|
88
87
|
'refs': ([str],), # noqa: E501
|
|
89
|
-
'
|
|
88
|
+
'coingecko_ids': ([str],), # noqa: E501
|
|
89
|
+
'defilama_ids': ([str],), # noqa: E501
|
|
90
|
+
'twitter_handle': (str,), # noqa: E501
|
|
90
91
|
'github_organisation': (str,), # noqa: E501
|
|
91
92
|
'legal_name': (str,), # noqa: E501
|
|
92
|
-
'twitter_handle': (str,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,14 +98,14 @@ class ActorContext(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
-
'
|
|
102
|
-
'defilama_ids': 'defilama_ids', # noqa: E501
|
|
101
|
+
'uris': 'uris', # noqa: E501
|
|
103
102
|
'images': 'images', # noqa: E501
|
|
104
103
|
'refs': 'refs', # noqa: E501
|
|
105
|
-
'
|
|
104
|
+
'coingecko_ids': 'coingecko_ids', # noqa: E501
|
|
105
|
+
'defilama_ids': 'defilama_ids', # noqa: E501
|
|
106
|
+
'twitter_handle': 'twitter_handle', # noqa: E501
|
|
106
107
|
'github_organisation': 'github_organisation', # noqa: E501
|
|
107
108
|
'legal_name': 'legal_name', # noqa: E501
|
|
108
|
-
'twitter_handle': 'twitter_handle', # noqa: E501
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
read_only_vars = {
|
|
@@ -115,15 +115,15 @@ class ActorContext(ModelNormal):
|
|
|
115
115
|
|
|
116
116
|
@classmethod
|
|
117
117
|
@convert_js_args_to_python_args
|
|
118
|
-
def _from_openapi_data(cls,
|
|
118
|
+
def _from_openapi_data(cls, uris, images, refs, coingecko_ids, defilama_ids, *args, **kwargs): # noqa: E501
|
|
119
119
|
"""ActorContext - a model defined in OpenAPI
|
|
120
120
|
|
|
121
121
|
Args:
|
|
122
|
+
uris ([str]): list of additonal uris identifying the actor
|
|
123
|
+
images ([str]): list of uris to logos of the actor
|
|
124
|
+
refs ([str]): list of uris to further information of the actors
|
|
122
125
|
coingecko_ids ([str]): list of references to coingecko exchanges or coins
|
|
123
126
|
defilama_ids ([str]): list of references to defilama
|
|
124
|
-
images ([str]): list of uris to logos of the actor
|
|
125
|
-
refs ([str]): list of uris to further information of the actors.
|
|
126
|
-
uris ([str]): list of additonal uris identifying the actor
|
|
127
127
|
|
|
128
128
|
Keyword Args:
|
|
129
129
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -156,9 +156,9 @@ class ActorContext(ModelNormal):
|
|
|
156
156
|
Animal class but this time we won't travel
|
|
157
157
|
through its discriminator because we passed in
|
|
158
158
|
_visited_composed_classes = (Animal,)
|
|
159
|
+
twitter_handle (str): semi-colon separated list of twitter handles used by the actor. [optional] # noqa: E501
|
|
159
160
|
github_organisation (str): semi-colon separated list of github organisations used by the actor. [optional] # noqa: E501
|
|
160
161
|
legal_name (str): Name of the legal entity registerd by the actor.. [optional] # noqa: E501
|
|
161
|
-
twitter_handle (str): semi-colon separated list of twitter handles used by the actor. [optional] # noqa: E501
|
|
162
162
|
"""
|
|
163
163
|
|
|
164
164
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -186,11 +186,11 @@ class ActorContext(ModelNormal):
|
|
|
186
186
|
self._configuration = _configuration
|
|
187
187
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
188
188
|
|
|
189
|
-
self.
|
|
190
|
-
self.defilama_ids = defilama_ids
|
|
189
|
+
self.uris = uris
|
|
191
190
|
self.images = images
|
|
192
191
|
self.refs = refs
|
|
193
|
-
self.
|
|
192
|
+
self.coingecko_ids = coingecko_ids
|
|
193
|
+
self.defilama_ids = defilama_ids
|
|
194
194
|
for var_name, var_value in kwargs.items():
|
|
195
195
|
if var_name not in self.attribute_map and \
|
|
196
196
|
self._configuration is not None and \
|
|
@@ -211,15 +211,15 @@ class ActorContext(ModelNormal):
|
|
|
211
211
|
])
|
|
212
212
|
|
|
213
213
|
@convert_js_args_to_python_args
|
|
214
|
-
def __init__(self,
|
|
214
|
+
def __init__(self, uris, images, refs, coingecko_ids, defilama_ids, *args, **kwargs): # noqa: E501
|
|
215
215
|
"""ActorContext - a model defined in OpenAPI
|
|
216
216
|
|
|
217
217
|
Args:
|
|
218
|
+
uris ([str]): list of additonal uris identifying the actor
|
|
219
|
+
images ([str]): list of uris to logos of the actor
|
|
220
|
+
refs ([str]): list of uris to further information of the actors
|
|
218
221
|
coingecko_ids ([str]): list of references to coingecko exchanges or coins
|
|
219
222
|
defilama_ids ([str]): list of references to defilama
|
|
220
|
-
images ([str]): list of uris to logos of the actor
|
|
221
|
-
refs ([str]): list of uris to further information of the actors.
|
|
222
|
-
uris ([str]): list of additonal uris identifying the actor
|
|
223
223
|
|
|
224
224
|
Keyword Args:
|
|
225
225
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -252,9 +252,9 @@ class ActorContext(ModelNormal):
|
|
|
252
252
|
Animal class but this time we won't travel
|
|
253
253
|
through its discriminator because we passed in
|
|
254
254
|
_visited_composed_classes = (Animal,)
|
|
255
|
+
twitter_handle (str): semi-colon separated list of twitter handles used by the actor. [optional] # noqa: E501
|
|
255
256
|
github_organisation (str): semi-colon separated list of github organisations used by the actor. [optional] # noqa: E501
|
|
256
257
|
legal_name (str): Name of the legal entity registerd by the actor.. [optional] # noqa: E501
|
|
257
|
-
twitter_handle (str): semi-colon separated list of twitter handles used by the actor. [optional] # noqa: E501
|
|
258
258
|
"""
|
|
259
259
|
|
|
260
260
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -280,11 +280,11 @@ class ActorContext(ModelNormal):
|
|
|
280
280
|
self._configuration = _configuration
|
|
281
281
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
282
282
|
|
|
283
|
-
self.
|
|
284
|
-
self.defilama_ids = defilama_ids
|
|
283
|
+
self.uris = uris
|
|
285
284
|
self.images = images
|
|
286
285
|
self.refs = refs
|
|
287
|
-
self.
|
|
286
|
+
self.coingecko_ids = coingecko_ids
|
|
287
|
+
self.defilama_ids = defilama_ids
|
|
288
288
|
for var_name, var_value in kwargs.items():
|
|
289
289
|
if var_name not in self.attribute_map and \
|
|
290
290
|
self._configuration is not None and \
|
|
@@ -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.4.
|
|
6
|
+
The version of the OpenAPI document: 1.4.2
|
|
7
7
|
Contact: contact@ikna.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
"""
|