graphsense-python 1.17.0__tar.gz → 2.9.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.
Files changed (223) hide show
  1. graphsense_python-1.17.0/README.md → graphsense_python-2.9.2/PKG-INFO +68 -75
  2. graphsense_python-1.17.0/graphsense_python.egg-info/PKG-INFO → graphsense_python-2.9.2/README.md +50 -91
  3. graphsense_python-2.9.2/graphsense/__init__.py +177 -0
  4. {graphsense_python-1.17.0/graphsense/apis → graphsense_python-2.9.2/graphsense/api}/__init__.py +2 -14
  5. graphsense_python-2.9.2/graphsense/api/addresses_api.py +2917 -0
  6. graphsense_python-2.9.2/graphsense/api/blocks_api.py +955 -0
  7. graphsense_python-2.9.2/graphsense/api/bulk_api.py +763 -0
  8. graphsense_python-2.9.2/graphsense/api/entities_api.py +2733 -0
  9. graphsense_python-2.9.2/graphsense/api/general_api.py +748 -0
  10. graphsense_python-2.9.2/graphsense/api/rates_api.py +394 -0
  11. graphsense_python-2.9.2/graphsense/api/tags_api.py +1785 -0
  12. graphsense_python-2.9.2/graphsense/api/tokens_api.py +379 -0
  13. graphsense_python-2.9.2/graphsense/api/txs_api.py +2312 -0
  14. graphsense_python-2.9.2/graphsense/api_client.py +809 -0
  15. graphsense_python-2.9.2/graphsense/api_response.py +21 -0
  16. graphsense_python-2.9.2/graphsense/compat.py +241 -0
  17. {graphsense_python-1.17.0 → graphsense_python-2.9.2}/graphsense/configuration.py +234 -100
  18. {graphsense_python-1.17.0 → graphsense_python-2.9.2}/graphsense/exceptions.py +85 -27
  19. graphsense_python-2.9.2/graphsense/model/__init__.py +20 -0
  20. graphsense_python-2.9.2/graphsense/model/actor.py +3 -0
  21. graphsense_python-2.9.2/graphsense/model/actor_context.py +3 -0
  22. graphsense_python-2.9.2/graphsense/model/address.py +3 -0
  23. graphsense_python-2.9.2/graphsense/model/address_tag.py +3 -0
  24. graphsense_python-2.9.2/graphsense/model/address_tags.py +3 -0
  25. graphsense_python-2.9.2/graphsense/model/address_tx.py +3 -0
  26. graphsense_python-2.9.2/graphsense/model/address_tx_utxo.py +3 -0
  27. graphsense_python-2.9.2/graphsense/model/address_txs.py +3 -0
  28. graphsense_python-2.9.2/graphsense/model/block.py +3 -0
  29. graphsense_python-2.9.2/graphsense/model/block_at_date.py +3 -0
  30. graphsense_python-2.9.2/graphsense/model/concept.py +3 -0
  31. graphsense_python-2.9.2/graphsense/model/currency_stats.py +3 -0
  32. graphsense_python-2.9.2/graphsense/model/entity.py +3 -0
  33. graphsense_python-2.9.2/graphsense/model/entity_addresses.py +3 -0
  34. graphsense_python-2.9.2/graphsense/model/external_conversion.py +3 -0
  35. graphsense_python-2.9.2/graphsense/model/http_validation_error.py +3 -0
  36. graphsense_python-2.9.2/graphsense/model/label_summary.py +3 -0
  37. graphsense_python-2.9.2/graphsense/model/labeled_item_ref.py +3 -0
  38. graphsense_python-2.9.2/graphsense/model/link.py +3 -0
  39. graphsense_python-2.9.2/graphsense/model/link_utxo.py +3 -0
  40. graphsense_python-2.9.2/graphsense/model/links.py +3 -0
  41. graphsense_python-2.9.2/graphsense/model/links_inner.py +3 -0
  42. graphsense_python-2.9.2/graphsense/model/location_inner.py +3 -0
  43. graphsense_python-2.9.2/graphsense/model/neighbor_address.py +3 -0
  44. graphsense_python-2.9.2/graphsense/model/neighbor_addresses.py +3 -0
  45. graphsense_python-2.9.2/graphsense/model/neighbor_entities.py +3 -0
  46. graphsense_python-2.9.2/graphsense/model/neighbor_entity.py +3 -0
  47. graphsense_python-2.9.2/graphsense/model/rate.py +3 -0
  48. graphsense_python-2.9.2/graphsense/model/rates.py +3 -0
  49. graphsense_python-2.9.2/graphsense/model/related_address.py +3 -0
  50. graphsense_python-2.9.2/graphsense/model/related_addresses.py +3 -0
  51. graphsense_python-2.9.2/graphsense/model/search_result.py +3 -0
  52. graphsense_python-2.9.2/graphsense/model/search_result_by_currency.py +3 -0
  53. graphsense_python-2.9.2/graphsense/model/search_result_level1.py +3 -0
  54. graphsense_python-2.9.2/graphsense/model/search_result_level2.py +3 -0
  55. graphsense_python-2.9.2/graphsense/model/search_result_level3.py +3 -0
  56. graphsense_python-2.9.2/graphsense/model/search_result_level4.py +3 -0
  57. graphsense_python-2.9.2/graphsense/model/search_result_level5.py +3 -0
  58. graphsense_python-2.9.2/graphsense/model/search_result_level6.py +3 -0
  59. graphsense_python-2.9.2/graphsense/model/stats.py +3 -0
  60. graphsense_python-2.9.2/graphsense/model/tag.py +3 -0
  61. graphsense_python-2.9.2/graphsense/model/tag_cloud_entry.py +3 -0
  62. graphsense_python-2.9.2/graphsense/model/tag_summary.py +3 -0
  63. graphsense_python-2.9.2/graphsense/model/taxonomy.py +3 -0
  64. graphsense_python-2.9.2/graphsense/model/token_config.py +3 -0
  65. graphsense_python-2.9.2/graphsense/model/token_configs.py +3 -0
  66. graphsense_python-2.9.2/graphsense/model/tx.py +3 -0
  67. graphsense_python-2.9.2/graphsense/model/tx_account.py +3 -0
  68. graphsense_python-2.9.2/graphsense/model/tx_ref.py +3 -0
  69. graphsense_python-2.9.2/graphsense/model/tx_summary.py +3 -0
  70. graphsense_python-2.9.2/graphsense/model/tx_utxo.py +3 -0
  71. graphsense_python-2.9.2/graphsense/model/tx_value.py +3 -0
  72. graphsense_python-2.9.2/graphsense/model/user_reported_tag.py +3 -0
  73. graphsense_python-2.9.2/graphsense/model/user_tag_report_response.py +3 -0
  74. graphsense_python-2.9.2/graphsense/model/validation_error.py +3 -0
  75. graphsense_python-2.9.2/graphsense/model/values.py +3 -0
  76. graphsense_python-2.9.2/graphsense/models/__init__.py +71 -0
  77. graphsense_python-2.9.2/graphsense/models/actor.py +117 -0
  78. graphsense_python-2.9.2/graphsense/models/actor_context.py +100 -0
  79. graphsense_python-2.9.2/graphsense/models/address.py +191 -0
  80. graphsense_python-2.9.2/graphsense/models/address_tag.py +122 -0
  81. graphsense_python-2.9.2/graphsense/models/address_tags.py +96 -0
  82. graphsense_python-2.9.2/graphsense/models/address_tx.py +190 -0
  83. graphsense_python-2.9.2/graphsense/models/address_tx_utxo.py +111 -0
  84. graphsense_python-2.9.2/graphsense/models/address_txs.py +96 -0
  85. graphsense_python-2.9.2/graphsense/models/block.py +103 -0
  86. graphsense_python-2.9.2/graphsense/models/block_at_date.py +111 -0
  87. graphsense_python-2.9.2/graphsense/models/concept.py +94 -0
  88. graphsense_python-2.9.2/graphsense/models/currency_stats.py +103 -0
  89. graphsense_python-2.9.2/graphsense/models/entity.py +218 -0
  90. graphsense_python-2.9.2/graphsense/models/entity_addresses.py +96 -0
  91. graphsense_python-2.9.2/graphsense/models/external_conversion.py +116 -0
  92. graphsense_python-2.9.2/graphsense/models/http_validation_error.py +93 -0
  93. graphsense_python-2.9.2/graphsense/models/label_summary.py +102 -0
  94. graphsense_python-2.9.2/graphsense/models/labeled_item_ref.py +87 -0
  95. graphsense_python-2.9.2/graphsense/models/link.py +190 -0
  96. graphsense_python-2.9.2/graphsense/models/link_utxo.py +114 -0
  97. graphsense_python-2.9.2/graphsense/models/links.py +96 -0
  98. graphsense_python-2.9.2/graphsense/models/links_inner.py +199 -0
  99. graphsense_python-2.9.2/graphsense/models/location_inner.py +188 -0
  100. graphsense_python-2.9.2/graphsense/models/neighbor_address.py +114 -0
  101. graphsense_python-2.9.2/graphsense/models/neighbor_addresses.py +96 -0
  102. graphsense_python-2.9.2/graphsense/models/neighbor_entities.py +96 -0
  103. graphsense_python-2.9.2/graphsense/models/neighbor_entity.py +114 -0
  104. graphsense_python-2.9.2/graphsense/models/rate.py +98 -0
  105. graphsense_python-2.9.2/graphsense/models/rates.py +106 -0
  106. graphsense_python-2.9.2/graphsense/models/related_address.py +96 -0
  107. graphsense_python-2.9.2/graphsense/models/related_addresses.py +96 -0
  108. graphsense_python-2.9.2/graphsense/models/search_result.py +116 -0
  109. graphsense_python-2.9.2/graphsense/models/search_result_by_currency.py +89 -0
  110. graphsense_python-2.9.2/graphsense/models/search_result_level1.py +109 -0
  111. graphsense_python-2.9.2/graphsense/models/search_result_level2.py +109 -0
  112. graphsense_python-2.9.2/graphsense/models/search_result_level3.py +109 -0
  113. graphsense_python-2.9.2/graphsense/models/search_result_level4.py +109 -0
  114. graphsense_python-2.9.2/graphsense/models/search_result_level5.py +109 -0
  115. graphsense_python-2.9.2/graphsense/models/search_result_level6.py +99 -0
  116. graphsense_python-2.9.2/graphsense/models/stats.py +98 -0
  117. graphsense_python-2.9.2/graphsense/models/tag.py +101 -0
  118. graphsense_python-2.9.2/graphsense/models/tag_cloud_entry.py +87 -0
  119. graphsense_python-2.9.2/graphsense/models/tag_summary.py +124 -0
  120. graphsense_python-2.9.2/graphsense/models/taxonomy.py +87 -0
  121. graphsense_python-2.9.2/graphsense/models/token_config.py +92 -0
  122. graphsense_python-2.9.2/graphsense/models/token_configs.py +93 -0
  123. graphsense_python-2.9.2/graphsense/models/tx.py +190 -0
  124. graphsense_python-2.9.2/graphsense/models/tx_account.py +129 -0
  125. graphsense_python-2.9.2/graphsense/models/tx_ref.py +89 -0
  126. graphsense_python-2.9.2/graphsense/models/tx_summary.py +99 -0
  127. graphsense_python-2.9.2/graphsense/models/tx_utxo.py +158 -0
  128. graphsense_python-2.9.2/graphsense/models/tx_value.py +94 -0
  129. graphsense_python-2.9.2/graphsense/models/user_reported_tag.py +94 -0
  130. graphsense_python-2.9.2/graphsense/models/user_tag_report_response.py +85 -0
  131. graphsense_python-2.9.2/graphsense/models/validation_error.py +97 -0
  132. graphsense_python-2.9.2/graphsense/models/values.py +106 -0
  133. graphsense_python-2.9.2/graphsense/py.typed +0 -0
  134. graphsense_python-2.9.2/graphsense/rest.py +261 -0
  135. {graphsense_python-1.17.0 → graphsense_python-2.9.2/graphsense_python.egg-info}/PKG-INFO +62 -85
  136. {graphsense_python-1.17.0 → graphsense_python-2.9.2}/graphsense_python.egg-info/SOURCES.txt +64 -14
  137. graphsense_python-2.9.2/graphsense_python.egg-info/requires.txt +4 -0
  138. graphsense_python-2.9.2/graphsense_python.egg-info/top_level.txt +1 -0
  139. graphsense_python-2.9.2/pyproject.toml +94 -0
  140. graphsense_python-1.17.0/graphsense/__init__.py +0 -27
  141. graphsense_python-1.17.0/graphsense/api/__init__.py +0 -3
  142. graphsense_python-1.17.0/graphsense/api/addresses_api.py +0 -1330
  143. graphsense_python-1.17.0/graphsense/api/blocks_api.py +0 -424
  144. graphsense_python-1.17.0/graphsense/api/bulk_api.py +0 -386
  145. graphsense_python-1.17.0/graphsense/api/entities_api.py +0 -1257
  146. graphsense_python-1.17.0/graphsense/api/general_api.py +0 -312
  147. graphsense_python-1.17.0/graphsense/api/rates_api.py +0 -166
  148. graphsense_python-1.17.0/graphsense/api/tags_api.py +0 -773
  149. graphsense_python-1.17.0/graphsense/api/tokens_api.py +0 -155
  150. graphsense_python-1.17.0/graphsense/api/txs_api.py +0 -1037
  151. graphsense_python-1.17.0/graphsense/api_client.py +0 -849
  152. graphsense_python-1.17.0/graphsense/model/__init__.py +0 -5
  153. graphsense_python-1.17.0/graphsense/model/actor.py +0 -301
  154. graphsense_python-1.17.0/graphsense/model/actor_context.py +0 -297
  155. graphsense_python-1.17.0/graphsense/model/actors.py +0 -290
  156. graphsense_python-1.17.0/graphsense/model/address.py +0 -370
  157. graphsense_python-1.17.0/graphsense/model/address_tag.py +0 -391
  158. graphsense_python-1.17.0/graphsense/model/address_tag_all_of.py +0 -265
  159. graphsense_python-1.17.0/graphsense/model/address_tags.py +0 -271
  160. graphsense_python-1.17.0/graphsense/model/address_tx.py +0 -384
  161. graphsense_python-1.17.0/graphsense/model/address_tx_utxo.py +0 -307
  162. graphsense_python-1.17.0/graphsense/model/address_txs.py +0 -271
  163. graphsense_python-1.17.0/graphsense/model/block.py +0 -291
  164. graphsense_python-1.17.0/graphsense/model/block_at_date.py +0 -273
  165. graphsense_python-1.17.0/graphsense/model/concept.py +0 -285
  166. graphsense_python-1.17.0/graphsense/model/currency_stats.py +0 -309
  167. graphsense_python-1.17.0/graphsense/model/entity.py +0 -373
  168. graphsense_python-1.17.0/graphsense/model/entity_addresses.py +0 -271
  169. graphsense_python-1.17.0/graphsense/model/external_conversion.py +0 -337
  170. graphsense_python-1.17.0/graphsense/model/height.py +0 -287
  171. graphsense_python-1.17.0/graphsense/model/label_summary.py +0 -312
  172. graphsense_python-1.17.0/graphsense/model/labeled_item_ref.py +0 -267
  173. graphsense_python-1.17.0/graphsense/model/labeled_item_refs.py +0 -290
  174. graphsense_python-1.17.0/graphsense/model/link.py +0 -388
  175. graphsense_python-1.17.0/graphsense/model/link_utxo.py +0 -307
  176. graphsense_python-1.17.0/graphsense/model/links.py +0 -271
  177. graphsense_python-1.17.0/graphsense/model/neighbor_address.py +0 -291
  178. graphsense_python-1.17.0/graphsense/model/neighbor_addresses.py +0 -271
  179. graphsense_python-1.17.0/graphsense/model/neighbor_entities.py +0 -271
  180. graphsense_python-1.17.0/graphsense/model/neighbor_entity.py +0 -291
  181. graphsense_python-1.17.0/graphsense/model/rate.py +0 -267
  182. graphsense_python-1.17.0/graphsense/model/rates.py +0 -267
  183. graphsense_python-1.17.0/graphsense/model/related_address.py +0 -278
  184. graphsense_python-1.17.0/graphsense/model/related_addresses.py +0 -271
  185. graphsense_python-1.17.0/graphsense/model/search_result.py +0 -281
  186. graphsense_python-1.17.0/graphsense/model/search_result_by_currency.py +0 -273
  187. graphsense_python-1.17.0/graphsense/model/search_result_labels.py +0 -284
  188. graphsense_python-1.17.0/graphsense/model/search_result_leaf.py +0 -275
  189. graphsense_python-1.17.0/graphsense/model/search_result_level1.py +0 -283
  190. graphsense_python-1.17.0/graphsense/model/search_result_level2.py +0 -283
  191. graphsense_python-1.17.0/graphsense/model/search_result_level3.py +0 -283
  192. graphsense_python-1.17.0/graphsense/model/search_result_level4.py +0 -283
  193. graphsense_python-1.17.0/graphsense/model/search_result_level5.py +0 -283
  194. graphsense_python-1.17.0/graphsense/model/search_result_level6.py +0 -283
  195. graphsense_python-1.17.0/graphsense/model/stats.py +0 -279
  196. graphsense_python-1.17.0/graphsense/model/tag.py +0 -342
  197. graphsense_python-1.17.0/graphsense/model/tag_cloud_entry.py +0 -267
  198. graphsense_python-1.17.0/graphsense/model/tag_summary.py +0 -299
  199. graphsense_python-1.17.0/graphsense/model/taxonomy.py +0 -267
  200. graphsense_python-1.17.0/graphsense/model/token_config.py +0 -275
  201. graphsense_python-1.17.0/graphsense/model/token_configs.py +0 -267
  202. graphsense_python-1.17.0/graphsense/model/token_values.py +0 -257
  203. graphsense_python-1.17.0/graphsense/model/tx.py +0 -410
  204. graphsense_python-1.17.0/graphsense/model/tx_account.py +0 -341
  205. graphsense_python-1.17.0/graphsense/model/tx_ref.py +0 -273
  206. graphsense_python-1.17.0/graphsense/model/tx_summary.py +0 -279
  207. graphsense_python-1.17.0/graphsense/model/tx_utxo.py +0 -335
  208. graphsense_python-1.17.0/graphsense/model/tx_value.py +0 -277
  209. graphsense_python-1.17.0/graphsense/model/tx_values.py +0 -290
  210. graphsense_python-1.17.0/graphsense/model/txs.py +0 -271
  211. graphsense_python-1.17.0/graphsense/model/txs_account.py +0 -290
  212. graphsense_python-1.17.0/graphsense/model/user_reported_tag.py +0 -285
  213. graphsense_python-1.17.0/graphsense/model/user_tag_report_response.py +0 -255
  214. graphsense_python-1.17.0/graphsense/model/values.py +0 -273
  215. graphsense_python-1.17.0/graphsense/model_utils.py +0 -1992
  216. graphsense_python-1.17.0/graphsense/models/__init__.py +0 -73
  217. graphsense_python-1.17.0/graphsense/rest.py +0 -292
  218. graphsense_python-1.17.0/graphsense_python.egg-info/requires.txt +0 -2
  219. graphsense_python-1.17.0/graphsense_python.egg-info/top_level.txt +0 -5
  220. graphsense_python-1.17.0/pyproject.toml +0 -38
  221. graphsense_python-1.17.0/scripts/openapi_spec_add_auth.py +0 -43
  222. {graphsense_python-1.17.0 → graphsense_python-2.9.2}/graphsense_python.egg-info/dependency_links.txt +0 -0
  223. {graphsense_python-1.17.0 → graphsense_python-2.9.2}/setup.cfg +0 -0
@@ -1,15 +1,34 @@
1
+ Metadata-Version: 2.4
2
+ Name: graphsense-python
3
+ Version: 2.9.2
4
+ Summary: GraphSense API
5
+ Author-email: Iknaio Cryptoasset Analytics GmbH <contact@iknaio.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://graphsense.github.io/
8
+ Project-URL: Source, https://github.com/graphsense/graphsense-lib
9
+ Project-URL: Changelog, https://github.com/graphsense/graphsense-lib/blob/master/CHANGELOG.md
10
+ Project-URL: Tracker, https://github.com/graphsense/graphsense-lib/issues
11
+ Keywords: OpenAPI,OpenAPI-Generator,GraphSense API
12
+ Requires-Python: >=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: urllib3<3.0.0,>=2.1.0
15
+ Requires-Dist: python-dateutil>=2.8.2
16
+ Requires-Dist: pydantic>=2
17
+ Requires-Dist: typing-extensions>=4.7.1
18
+
1
19
  # graphsense-python
2
20
  GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks.
3
21
 
4
22
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
23
 
6
- - API version: 1.17.0
7
- - Package version: 1.17.0
24
+ - API version: 2.9.2
25
+ - Package version: 2.9.2
26
+ - Generator version: 7.19.0
8
27
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
9
28
 
10
29
  ## Requirements.
11
30
 
12
- Python >= 3.6
31
+ Python 3.9+
13
32
 
14
33
  ## Installation & Usage
15
34
  ### pip install
@@ -17,8 +36,9 @@ Python >= 3.6
17
36
  If the python package is hosted on a repository, you can install directly using:
18
37
 
19
38
  ```sh
20
- pip install git+https://github.com/graphsense/graphsense-REST.git#subdirectory=clients/python
39
+ pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
21
40
  ```
41
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
22
42
 
23
43
  Then import the package:
24
44
  ```python
@@ -39,29 +59,24 @@ Then import the package:
39
59
  import graphsense
40
60
  ```
41
61
 
62
+ ### Tests
63
+
64
+ Execute `pytest` to run the tests.
65
+
42
66
  ## Getting Started
43
67
 
44
68
  Please follow the [installation procedure](#installation--usage) and then run the following:
45
69
 
46
70
  ```python
47
71
 
48
- import time
49
72
  import graphsense
73
+ from graphsense.rest import ApiException
50
74
  from pprint import pprint
51
- from graphsense.api import addresses_api
52
- from graphsense.model.address import Address
53
- from graphsense.model.address_tags import AddressTags
54
- from graphsense.model.address_txs import AddressTxs
55
- from graphsense.model.entity import Entity
56
- from graphsense.model.height import Height
57
- from graphsense.model.links import Links
58
- from graphsense.model.neighbor_addresses import NeighborAddresses
59
- from graphsense.model.related_addresses import RelatedAddresses
60
- from graphsense.model.tag_summary import TagSummary
61
- # Defining the host is optional and defaults to https://api.ikna.io
75
+
76
+ # Defining the host is optional and defaults to https://api.iknaio.com
62
77
  # See configuration.py for a list of all supported configuration parameters.
63
78
  configuration = graphsense.Configuration(
64
- host = "https://api.ikna.io"
79
+ host = "https://api.iknaio.com"
65
80
  )
66
81
 
67
82
  # The client must configure the authentication and authorization parameters
@@ -70,7 +85,7 @@ configuration = graphsense.Configuration(
70
85
  # satisfies your auth use case.
71
86
 
72
87
  # Configure API key authorization: api_key
73
- configuration.api_key['api_key'] = 'YOUR_API_KEY'
88
+ configuration.api_key['api_key'] = os.environ["API_KEY"]
74
89
 
75
90
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
76
91
  # configuration.api_key_prefix['api_key'] = 'Bearer'
@@ -79,22 +94,24 @@ configuration.api_key['api_key'] = 'YOUR_API_KEY'
79
94
  # Enter a context with an instance of the API client
80
95
  with graphsense.ApiClient(configuration) as api_client:
81
96
  # Create an instance of the API class
82
- api_instance = addresses_api.AddressesApi(api_client)
83
- currency = "btc" # str | The cryptocurrency code (e.g., btc)
84
- address = "1Archive1n2C579dMsAu3iC6tWzuQJz8dN" # str | The cryptocurrency address
85
- include_actors = True # bool | Whether to include information about the actor behind the address (optional) (default to True)
97
+ api_instance = graphsense.AddressesApi(api_client)
98
+ currency = 'btc' # str | The cryptocurrency code (e.g., btc)
99
+ address = '1Archive1n2C579dMsAu3iC6tWzuQJz8dN' # str | The cryptocurrency address
100
+ include_actors = True # bool | Whether to include actor information (optional) (default to True)
86
101
 
87
102
  try:
88
103
  # Get an address
89
104
  api_response = api_instance.get_address(currency, address, include_actors=include_actors)
105
+ print("The response of AddressesApi->get_address:\n")
90
106
  pprint(api_response)
91
- except graphsense.ApiException as e:
107
+ except ApiException as e:
92
108
  print("Exception when calling AddressesApi->get_address: %s\n" % e)
109
+
93
110
  ```
94
111
 
95
112
  ## Documentation for API Endpoints
96
113
 
97
- All URIs are relative to *https://api.ikna.io*
114
+ All URIs are relative to *https://api.iknaio.com*
98
115
 
99
116
  Class | Method | HTTP request | Description
100
117
  ------------ | ------------- | ------------- | -------------
@@ -107,7 +124,7 @@ Class | Method | HTTP request | Description
107
124
  *AddressesApi* | [**list_related_addresses**](docs/AddressesApi.md#list_related_addresses) | **GET** /{currency}/addresses/{address}/related_addresses | Get related addresses to the input address
108
125
  *AddressesApi* | [**list_tags_by_address**](docs/AddressesApi.md#list_tags_by_address) | **GET** /{currency}/addresses/{address}/tags | Get attribution tags for a given address
109
126
  *BlocksApi* | [**get_block**](docs/BlocksApi.md#get_block) | **GET** /{currency}/blocks/{height} | Get a block by its height
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
127
+ *BlocksApi* | [**get_block_by_date**](docs/BlocksApi.md#get_block_by_date) | **GET** /{currency}/block_by_date/{date} | Get block by date
111
128
  *BlocksApi* | [**list_block_txs**](docs/BlocksApi.md#list_block_txs) | **GET** /{currency}/blocks/{height}/txs | Get block transactions
112
129
  *BulkApi* | [**bulk_csv**](docs/BulkApi.md#bulk_csv) | **POST** /{currency}/bulk.csv/{operation} | Get data as CSV in bulk
113
130
  *BulkApi* | [**bulk_json**](docs/BulkApi.md#bulk_json) | **POST** /{currency}/bulk.json/{operation} | Get data as JSON in bulk
@@ -115,36 +132,34 @@ Class | Method | HTTP request | Description
115
132
  *EntitiesApi* | [**list_address_tags_by_entity**](docs/EntitiesApi.md#list_address_tags_by_entity) | **GET** /{currency}/entities/{entity}/tags | Get address tags for a given entity
116
133
  *EntitiesApi* | [**list_entity_addresses**](docs/EntitiesApi.md#list_entity_addresses) | **GET** /{currency}/entities/{entity}/addresses | Get an entity&#39;s addresses
117
134
  *EntitiesApi* | [**list_entity_links**](docs/EntitiesApi.md#list_entity_links) | **GET** /{currency}/entities/{entity}/links | Get transactions between two entities
118
- *EntitiesApi* | [**list_entity_neighbors**](docs/EntitiesApi.md#list_entity_neighbors) | **GET** /{currency}/entities/{entity}/neighbors | Get an entity&#39;s direct neighbors
135
+ *EntitiesApi* | [**list_entity_neighbors**](docs/EntitiesApi.md#list_entity_neighbors) | **GET** /{currency}/entities/{entity}/neighbors | Get an entity&#39;s neighbors in the entity graph
119
136
  *EntitiesApi* | [**list_entity_txs**](docs/EntitiesApi.md#list_entity_txs) | **GET** /{currency}/entities/{entity}/txs | Get all transactions an entity has been involved in
120
- *EntitiesApi* | [**search_entity_neighbors**](docs/EntitiesApi.md#search_entity_neighbors) | **GET** /{currency}/entities/{entity}/search | Search deeply for matching neighbors
137
+ *EntitiesApi* | [**search_entity_neighbors**](docs/EntitiesApi.md#search_entity_neighbors) | **GET** /{currency}/entities/{entity}/search | Search neighbors of an entity
121
138
  *GeneralApi* | [**get_statistics**](docs/GeneralApi.md#get_statistics) | **GET** /stats | Get statistics of supported currencies
122
139
  *GeneralApi* | [**search**](docs/GeneralApi.md#search) | **GET** /search | Returns matching addresses, transactions and labels
123
- *RatesApi* | [**get_exchange_rates**](docs/RatesApi.md#get_exchange_rates) | **GET** /{currency}/rates/{height} | Returns exchange rate for a given height
124
- *TagsApi* | [**get_actor**](docs/TagsApi.md#get_actor) | **GET** /tags/actors/{actor} | Returns an actor given its unique id or (unique) label
125
- *TagsApi* | [**get_actor_tags**](docs/TagsApi.md#get_actor_tags) | **GET** /tags/actors/{actor}/tags | Returns the address tags for a given actor
126
- *TagsApi* | [**list_address_tags**](docs/TagsApi.md#list_address_tags) | **GET** /tags | Returns address tags associated with a given label
127
- *TagsApi* | [**list_concepts**](docs/TagsApi.md#list_concepts) | **GET** /tags/taxonomies/{taxonomy}/concepts | Returns the supported concepts of a taxonomy
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.
130
- *TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Returns a list of supported token (sub)currencies
131
- *TxsApi* | [**get_spending_txs**](docs/TxsApi.md#get_spending_txs) | **GET** /{currency}/txs/{tx_hash}/spending | Returns in which other transaction&#39;s outputs the asked transaction spent. Think backwards references is the transaction graph. This endpoint is only available for utxo like currencies.
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.
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
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
140
+ *RatesApi* | [**get_exchange_rates**](docs/RatesApi.md#get_exchange_rates) | **GET** /{currency}/rates/{height} | Get exchange rates for a given block height
141
+ *TagsApi* | [**get_actor**](docs/TagsApi.md#get_actor) | **GET** /tags/actors/{actor} | Get an actor by ID
142
+ *TagsApi* | [**get_actor_tags**](docs/TagsApi.md#get_actor_tags) | **GET** /tags/actors/{actor}/tags | Get tags associated with an actor
143
+ *TagsApi* | [**list_address_tags**](docs/TagsApi.md#list_address_tags) | **GET** /tags | Get address tags by label
144
+ *TagsApi* | [**list_concepts**](docs/TagsApi.md#list_concepts) | **GET** /tags/taxonomies/{taxonomy}/concepts | List concepts for a taxonomy
145
+ *TagsApi* | [**list_taxonomies**](docs/TagsApi.md#list_taxonomies) | **GET** /tags/taxonomies | List all taxonomies
146
+ *TagsApi* | [**report_tag**](docs/TagsApi.md#report_tag) | **POST** /tags/report-tag | Report a new tag
147
+ *TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Get supported tokens for a currency
148
+ *TxsApi* | [**get_spending_txs**](docs/TxsApi.md#get_spending_txs) | **GET** /{currency}/txs/{tx_hash}/spending | Get transactions that this transaction is spending from
149
+ *TxsApi* | [**get_spent_in_txs**](docs/TxsApi.md#get_spent_in_txs) | **GET** /{currency}/txs/{tx_hash}/spent_in | Get transactions that spent outputs from this transaction
150
+ *TxsApi* | [**get_tx**](docs/TxsApi.md#get_tx) | **GET** /{currency}/txs/{tx_hash} | Get a transaction by its hash
151
+ *TxsApi* | [**get_tx_conversions**](docs/TxsApi.md#get_tx_conversions) | **GET** /{currency}/txs/{tx_hash}/conversions | Get DeFi conversions for a transaction
152
+ *TxsApi* | [**get_tx_io**](docs/TxsApi.md#get_tx_io) | **GET** /{currency}/txs/{tx_hash}/{io} | Get transaction inputs or outputs
136
153
  *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
154
+ *TxsApi* | [**list_tx_flows**](docs/TxsApi.md#list_tx_flows) | **GET** /{currency}/txs/{tx_hash}/flows | Get asset flows within a transaction
138
155
 
139
156
 
140
157
  ## Documentation For Models
141
158
 
142
159
  - [Actor](docs/Actor.md)
143
160
  - [ActorContext](docs/ActorContext.md)
144
- - [Actors](docs/Actors.md)
145
161
  - [Address](docs/Address.md)
146
162
  - [AddressTag](docs/AddressTag.md)
147
- - [AddressTagAllOf](docs/AddressTagAllOf.md)
148
163
  - [AddressTags](docs/AddressTags.md)
149
164
  - [AddressTx](docs/AddressTx.md)
150
165
  - [AddressTxUtxo](docs/AddressTxUtxo.md)
@@ -156,13 +171,14 @@ Class | Method | HTTP request | Description
156
171
  - [Entity](docs/Entity.md)
157
172
  - [EntityAddresses](docs/EntityAddresses.md)
158
173
  - [ExternalConversion](docs/ExternalConversion.md)
159
- - [Height](docs/Height.md)
174
+ - [HTTPValidationError](docs/HTTPValidationError.md)
160
175
  - [LabelSummary](docs/LabelSummary.md)
161
176
  - [LabeledItemRef](docs/LabeledItemRef.md)
162
- - [LabeledItemRefs](docs/LabeledItemRefs.md)
163
177
  - [Link](docs/Link.md)
164
178
  - [LinkUtxo](docs/LinkUtxo.md)
165
179
  - [Links](docs/Links.md)
180
+ - [LinksInner](docs/LinksInner.md)
181
+ - [LocationInner](docs/LocationInner.md)
166
182
  - [NeighborAddress](docs/NeighborAddress.md)
167
183
  - [NeighborAddresses](docs/NeighborAddresses.md)
168
184
  - [NeighborEntities](docs/NeighborEntities.md)
@@ -173,8 +189,6 @@ Class | Method | HTTP request | Description
173
189
  - [RelatedAddresses](docs/RelatedAddresses.md)
174
190
  - [SearchResult](docs/SearchResult.md)
175
191
  - [SearchResultByCurrency](docs/SearchResultByCurrency.md)
176
- - [SearchResultLabels](docs/SearchResultLabels.md)
177
- - [SearchResultLeaf](docs/SearchResultLeaf.md)
178
192
  - [SearchResultLevel1](docs/SearchResultLevel1.md)
179
193
  - [SearchResultLevel2](docs/SearchResultLevel2.md)
180
194
  - [SearchResultLevel3](docs/SearchResultLevel3.md)
@@ -188,54 +202,33 @@ Class | Method | HTTP request | Description
188
202
  - [Taxonomy](docs/Taxonomy.md)
189
203
  - [TokenConfig](docs/TokenConfig.md)
190
204
  - [TokenConfigs](docs/TokenConfigs.md)
191
- - [TokenValues](docs/TokenValues.md)
192
205
  - [Tx](docs/Tx.md)
193
206
  - [TxAccount](docs/TxAccount.md)
194
207
  - [TxRef](docs/TxRef.md)
195
208
  - [TxSummary](docs/TxSummary.md)
196
209
  - [TxUtxo](docs/TxUtxo.md)
197
210
  - [TxValue](docs/TxValue.md)
198
- - [TxValues](docs/TxValues.md)
199
- - [Txs](docs/Txs.md)
200
- - [TxsAccount](docs/TxsAccount.md)
201
211
  - [UserReportedTag](docs/UserReportedTag.md)
202
212
  - [UserTagReportResponse](docs/UserTagReportResponse.md)
213
+ - [ValidationError](docs/ValidationError.md)
203
214
  - [Values](docs/Values.md)
204
215
 
205
216
 
217
+ <a id="documentation-for-authorization"></a>
206
218
  ## Documentation For Authorization
207
219
 
208
220
 
209
- ## api_key
221
+ Authentication schemes defined for the API:
222
+ <a id="api_key"></a>
223
+ ### api_key
210
224
 
211
225
  - **Type**: API key
212
226
  - **API key parameter name**: Authorization
213
227
  - **Location**: HTTP header
214
228
 
215
229
 
216
- ## Examples
217
-
218
- In `./examples` you can find example Python scripts and [Jupyter](https://jupyter.org/) notebooks demonstrating how to use the GraphSense Python API. Please Follow these setup instructions to run them:
219
-
220
- Setup a Python environment with [Anaconda](https://www.anaconda.com/products/distribution):
221
-
222
- conda env create -f environment.yml
223
- conda activate graphsense-python
230
+ ## Author
224
231
 
225
- Copy the config temp file and enter your Iknaio API key
232
+ contact@iknaio.com
226
233
 
227
- cp config.json.tmp config.json
228
- vi config.json
229
234
 
230
- Run the jupyter notebooks
231
-
232
- jupyter notebook
233
-
234
-
235
- ## Generation from OpenAPI specification
236
-
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:
238
-
239
- ```
240
- make generate-openapi-client
241
- ```
@@ -1,31 +1,16 @@
1
- Metadata-Version: 2.4
2
- Name: graphsense-python
3
- Version: 1.17.0
4
- Summary: GraphSense API
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/tree/master/clients/python
9
- Project-URL: Changelog, https://github.com/graphsense/graphsense-REST/tree/master/CHANGELOG.md
10
- Project-URL: Bug Tracker, https://github.com/graphsense/graphsense-rest/issues
11
- Keywords: OpenAPI,OpenAPI-Generator,GraphSense API
12
- Requires-Python: >=3.6
13
- Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
14
- Requires-Dist: urllib3>=1.25.3
15
- Requires-Dist: python-dateutil>=2.5.3
16
-
17
1
  # graphsense-python
18
2
  GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks.
19
3
 
20
4
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
21
5
 
22
- - API version: 1.17.0
23
- - Package version: 1.17.0
6
+ - API version: 2.9.2
7
+ - Package version: 2.9.2
8
+ - Generator version: 7.19.0
24
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
25
10
 
26
11
  ## Requirements.
27
12
 
28
- Python >= 3.6
13
+ Python 3.9+
29
14
 
30
15
  ## Installation & Usage
31
16
  ### pip install
@@ -33,8 +18,9 @@ Python >= 3.6
33
18
  If the python package is hosted on a repository, you can install directly using:
34
19
 
35
20
  ```sh
36
- pip install git+https://github.com/graphsense/graphsense-REST.git#subdirectory=clients/python
21
+ pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
37
22
  ```
23
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
38
24
 
39
25
  Then import the package:
40
26
  ```python
@@ -55,29 +41,24 @@ Then import the package:
55
41
  import graphsense
56
42
  ```
57
43
 
44
+ ### Tests
45
+
46
+ Execute `pytest` to run the tests.
47
+
58
48
  ## Getting Started
59
49
 
60
50
  Please follow the [installation procedure](#installation--usage) and then run the following:
61
51
 
62
52
  ```python
63
53
 
64
- import time
65
54
  import graphsense
55
+ from graphsense.rest import ApiException
66
56
  from pprint import pprint
67
- from graphsense.api import addresses_api
68
- from graphsense.model.address import Address
69
- from graphsense.model.address_tags import AddressTags
70
- from graphsense.model.address_txs import AddressTxs
71
- from graphsense.model.entity import Entity
72
- from graphsense.model.height import Height
73
- from graphsense.model.links import Links
74
- from graphsense.model.neighbor_addresses import NeighborAddresses
75
- from graphsense.model.related_addresses import RelatedAddresses
76
- from graphsense.model.tag_summary import TagSummary
77
- # Defining the host is optional and defaults to https://api.ikna.io
57
+
58
+ # Defining the host is optional and defaults to https://api.iknaio.com
78
59
  # See configuration.py for a list of all supported configuration parameters.
79
60
  configuration = graphsense.Configuration(
80
- host = "https://api.ikna.io"
61
+ host = "https://api.iknaio.com"
81
62
  )
82
63
 
83
64
  # The client must configure the authentication and authorization parameters
@@ -86,7 +67,7 @@ configuration = graphsense.Configuration(
86
67
  # satisfies your auth use case.
87
68
 
88
69
  # Configure API key authorization: api_key
89
- configuration.api_key['api_key'] = 'YOUR_API_KEY'
70
+ configuration.api_key['api_key'] = os.environ["API_KEY"]
90
71
 
91
72
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
92
73
  # configuration.api_key_prefix['api_key'] = 'Bearer'
@@ -95,22 +76,24 @@ configuration.api_key['api_key'] = 'YOUR_API_KEY'
95
76
  # Enter a context with an instance of the API client
96
77
  with graphsense.ApiClient(configuration) as api_client:
97
78
  # Create an instance of the API class
98
- api_instance = addresses_api.AddressesApi(api_client)
99
- currency = "btc" # str | The cryptocurrency code (e.g., btc)
100
- address = "1Archive1n2C579dMsAu3iC6tWzuQJz8dN" # str | The cryptocurrency address
101
- include_actors = True # bool | Whether to include information about the actor behind the address (optional) (default to True)
79
+ api_instance = graphsense.AddressesApi(api_client)
80
+ currency = 'btc' # str | The cryptocurrency code (e.g., btc)
81
+ address = '1Archive1n2C579dMsAu3iC6tWzuQJz8dN' # str | The cryptocurrency address
82
+ include_actors = True # bool | Whether to include actor information (optional) (default to True)
102
83
 
103
84
  try:
104
85
  # Get an address
105
86
  api_response = api_instance.get_address(currency, address, include_actors=include_actors)
87
+ print("The response of AddressesApi->get_address:\n")
106
88
  pprint(api_response)
107
- except graphsense.ApiException as e:
89
+ except ApiException as e:
108
90
  print("Exception when calling AddressesApi->get_address: %s\n" % e)
91
+
109
92
  ```
110
93
 
111
94
  ## Documentation for API Endpoints
112
95
 
113
- All URIs are relative to *https://api.ikna.io*
96
+ All URIs are relative to *https://api.iknaio.com*
114
97
 
115
98
  Class | Method | HTTP request | Description
116
99
  ------------ | ------------- | ------------- | -------------
@@ -123,7 +106,7 @@ Class | Method | HTTP request | Description
123
106
  *AddressesApi* | [**list_related_addresses**](docs/AddressesApi.md#list_related_addresses) | **GET** /{currency}/addresses/{address}/related_addresses | Get related addresses to the input address
124
107
  *AddressesApi* | [**list_tags_by_address**](docs/AddressesApi.md#list_tags_by_address) | **GET** /{currency}/addresses/{address}/tags | Get attribution tags for a given address
125
108
  *BlocksApi* | [**get_block**](docs/BlocksApi.md#get_block) | **GET** /{currency}/blocks/{height} | Get a block by its height
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
109
+ *BlocksApi* | [**get_block_by_date**](docs/BlocksApi.md#get_block_by_date) | **GET** /{currency}/block_by_date/{date} | Get block by date
127
110
  *BlocksApi* | [**list_block_txs**](docs/BlocksApi.md#list_block_txs) | **GET** /{currency}/blocks/{height}/txs | Get block transactions
128
111
  *BulkApi* | [**bulk_csv**](docs/BulkApi.md#bulk_csv) | **POST** /{currency}/bulk.csv/{operation} | Get data as CSV in bulk
129
112
  *BulkApi* | [**bulk_json**](docs/BulkApi.md#bulk_json) | **POST** /{currency}/bulk.json/{operation} | Get data as JSON in bulk
@@ -131,36 +114,34 @@ Class | Method | HTTP request | Description
131
114
  *EntitiesApi* | [**list_address_tags_by_entity**](docs/EntitiesApi.md#list_address_tags_by_entity) | **GET** /{currency}/entities/{entity}/tags | Get address tags for a given entity
132
115
  *EntitiesApi* | [**list_entity_addresses**](docs/EntitiesApi.md#list_entity_addresses) | **GET** /{currency}/entities/{entity}/addresses | Get an entity&#39;s addresses
133
116
  *EntitiesApi* | [**list_entity_links**](docs/EntitiesApi.md#list_entity_links) | **GET** /{currency}/entities/{entity}/links | Get transactions between two entities
134
- *EntitiesApi* | [**list_entity_neighbors**](docs/EntitiesApi.md#list_entity_neighbors) | **GET** /{currency}/entities/{entity}/neighbors | Get an entity&#39;s direct neighbors
117
+ *EntitiesApi* | [**list_entity_neighbors**](docs/EntitiesApi.md#list_entity_neighbors) | **GET** /{currency}/entities/{entity}/neighbors | Get an entity&#39;s neighbors in the entity graph
135
118
  *EntitiesApi* | [**list_entity_txs**](docs/EntitiesApi.md#list_entity_txs) | **GET** /{currency}/entities/{entity}/txs | Get all transactions an entity has been involved in
136
- *EntitiesApi* | [**search_entity_neighbors**](docs/EntitiesApi.md#search_entity_neighbors) | **GET** /{currency}/entities/{entity}/search | Search deeply for matching neighbors
119
+ *EntitiesApi* | [**search_entity_neighbors**](docs/EntitiesApi.md#search_entity_neighbors) | **GET** /{currency}/entities/{entity}/search | Search neighbors of an entity
137
120
  *GeneralApi* | [**get_statistics**](docs/GeneralApi.md#get_statistics) | **GET** /stats | Get statistics of supported currencies
138
121
  *GeneralApi* | [**search**](docs/GeneralApi.md#search) | **GET** /search | Returns matching addresses, transactions and labels
139
- *RatesApi* | [**get_exchange_rates**](docs/RatesApi.md#get_exchange_rates) | **GET** /{currency}/rates/{height} | Returns exchange rate for a given height
140
- *TagsApi* | [**get_actor**](docs/TagsApi.md#get_actor) | **GET** /tags/actors/{actor} | Returns an actor given its unique id or (unique) label
141
- *TagsApi* | [**get_actor_tags**](docs/TagsApi.md#get_actor_tags) | **GET** /tags/actors/{actor}/tags | Returns the address tags for a given actor
142
- *TagsApi* | [**list_address_tags**](docs/TagsApi.md#list_address_tags) | **GET** /tags | Returns address tags associated with a given label
143
- *TagsApi* | [**list_concepts**](docs/TagsApi.md#list_concepts) | **GET** /tags/taxonomies/{taxonomy}/concepts | Returns the supported concepts of a taxonomy
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.
146
- *TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Returns a list of supported token (sub)currencies
147
- *TxsApi* | [**get_spending_txs**](docs/TxsApi.md#get_spending_txs) | **GET** /{currency}/txs/{tx_hash}/spending | Returns in which other transaction&#39;s outputs the asked transaction spent. Think backwards references is the transaction graph. This endpoint is only available for utxo like currencies.
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.
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
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
122
+ *RatesApi* | [**get_exchange_rates**](docs/RatesApi.md#get_exchange_rates) | **GET** /{currency}/rates/{height} | Get exchange rates for a given block height
123
+ *TagsApi* | [**get_actor**](docs/TagsApi.md#get_actor) | **GET** /tags/actors/{actor} | Get an actor by ID
124
+ *TagsApi* | [**get_actor_tags**](docs/TagsApi.md#get_actor_tags) | **GET** /tags/actors/{actor}/tags | Get tags associated with an actor
125
+ *TagsApi* | [**list_address_tags**](docs/TagsApi.md#list_address_tags) | **GET** /tags | Get address tags by label
126
+ *TagsApi* | [**list_concepts**](docs/TagsApi.md#list_concepts) | **GET** /tags/taxonomies/{taxonomy}/concepts | List concepts for a taxonomy
127
+ *TagsApi* | [**list_taxonomies**](docs/TagsApi.md#list_taxonomies) | **GET** /tags/taxonomies | List all taxonomies
128
+ *TagsApi* | [**report_tag**](docs/TagsApi.md#report_tag) | **POST** /tags/report-tag | Report a new tag
129
+ *TokensApi* | [**list_supported_tokens**](docs/TokensApi.md#list_supported_tokens) | **GET** /{currency}/supported_tokens | Get supported tokens for a currency
130
+ *TxsApi* | [**get_spending_txs**](docs/TxsApi.md#get_spending_txs) | **GET** /{currency}/txs/{tx_hash}/spending | Get transactions that this transaction is spending from
131
+ *TxsApi* | [**get_spent_in_txs**](docs/TxsApi.md#get_spent_in_txs) | **GET** /{currency}/txs/{tx_hash}/spent_in | Get transactions that spent outputs from this transaction
132
+ *TxsApi* | [**get_tx**](docs/TxsApi.md#get_tx) | **GET** /{currency}/txs/{tx_hash} | Get a transaction by its hash
133
+ *TxsApi* | [**get_tx_conversions**](docs/TxsApi.md#get_tx_conversions) | **GET** /{currency}/txs/{tx_hash}/conversions | Get DeFi conversions for a transaction
134
+ *TxsApi* | [**get_tx_io**](docs/TxsApi.md#get_tx_io) | **GET** /{currency}/txs/{tx_hash}/{io} | Get transaction inputs or outputs
152
135
  *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
136
+ *TxsApi* | [**list_tx_flows**](docs/TxsApi.md#list_tx_flows) | **GET** /{currency}/txs/{tx_hash}/flows | Get asset flows within a transaction
154
137
 
155
138
 
156
139
  ## Documentation For Models
157
140
 
158
141
  - [Actor](docs/Actor.md)
159
142
  - [ActorContext](docs/ActorContext.md)
160
- - [Actors](docs/Actors.md)
161
143
  - [Address](docs/Address.md)
162
144
  - [AddressTag](docs/AddressTag.md)
163
- - [AddressTagAllOf](docs/AddressTagAllOf.md)
164
145
  - [AddressTags](docs/AddressTags.md)
165
146
  - [AddressTx](docs/AddressTx.md)
166
147
  - [AddressTxUtxo](docs/AddressTxUtxo.md)
@@ -172,13 +153,14 @@ Class | Method | HTTP request | Description
172
153
  - [Entity](docs/Entity.md)
173
154
  - [EntityAddresses](docs/EntityAddresses.md)
174
155
  - [ExternalConversion](docs/ExternalConversion.md)
175
- - [Height](docs/Height.md)
156
+ - [HTTPValidationError](docs/HTTPValidationError.md)
176
157
  - [LabelSummary](docs/LabelSummary.md)
177
158
  - [LabeledItemRef](docs/LabeledItemRef.md)
178
- - [LabeledItemRefs](docs/LabeledItemRefs.md)
179
159
  - [Link](docs/Link.md)
180
160
  - [LinkUtxo](docs/LinkUtxo.md)
181
161
  - [Links](docs/Links.md)
162
+ - [LinksInner](docs/LinksInner.md)
163
+ - [LocationInner](docs/LocationInner.md)
182
164
  - [NeighborAddress](docs/NeighborAddress.md)
183
165
  - [NeighborAddresses](docs/NeighborAddresses.md)
184
166
  - [NeighborEntities](docs/NeighborEntities.md)
@@ -189,8 +171,6 @@ Class | Method | HTTP request | Description
189
171
  - [RelatedAddresses](docs/RelatedAddresses.md)
190
172
  - [SearchResult](docs/SearchResult.md)
191
173
  - [SearchResultByCurrency](docs/SearchResultByCurrency.md)
192
- - [SearchResultLabels](docs/SearchResultLabels.md)
193
- - [SearchResultLeaf](docs/SearchResultLeaf.md)
194
174
  - [SearchResultLevel1](docs/SearchResultLevel1.md)
195
175
  - [SearchResultLevel2](docs/SearchResultLevel2.md)
196
176
  - [SearchResultLevel3](docs/SearchResultLevel3.md)
@@ -204,54 +184,33 @@ Class | Method | HTTP request | Description
204
184
  - [Taxonomy](docs/Taxonomy.md)
205
185
  - [TokenConfig](docs/TokenConfig.md)
206
186
  - [TokenConfigs](docs/TokenConfigs.md)
207
- - [TokenValues](docs/TokenValues.md)
208
187
  - [Tx](docs/Tx.md)
209
188
  - [TxAccount](docs/TxAccount.md)
210
189
  - [TxRef](docs/TxRef.md)
211
190
  - [TxSummary](docs/TxSummary.md)
212
191
  - [TxUtxo](docs/TxUtxo.md)
213
192
  - [TxValue](docs/TxValue.md)
214
- - [TxValues](docs/TxValues.md)
215
- - [Txs](docs/Txs.md)
216
- - [TxsAccount](docs/TxsAccount.md)
217
193
  - [UserReportedTag](docs/UserReportedTag.md)
218
194
  - [UserTagReportResponse](docs/UserTagReportResponse.md)
195
+ - [ValidationError](docs/ValidationError.md)
219
196
  - [Values](docs/Values.md)
220
197
 
221
198
 
199
+ <a id="documentation-for-authorization"></a>
222
200
  ## Documentation For Authorization
223
201
 
224
202
 
225
- ## api_key
203
+ Authentication schemes defined for the API:
204
+ <a id="api_key"></a>
205
+ ### api_key
226
206
 
227
207
  - **Type**: API key
228
208
  - **API key parameter name**: Authorization
229
209
  - **Location**: HTTP header
230
210
 
231
211
 
232
- ## Examples
233
-
234
- In `./examples` you can find example Python scripts and [Jupyter](https://jupyter.org/) notebooks demonstrating how to use the GraphSense Python API. Please Follow these setup instructions to run them:
235
-
236
- Setup a Python environment with [Anaconda](https://www.anaconda.com/products/distribution):
237
-
238
- conda env create -f environment.yml
239
- conda activate graphsense-python
212
+ ## Author
240
213
 
241
- Copy the config temp file and enter your Iknaio API key
214
+ contact@iknaio.com
242
215
 
243
- cp config.json.tmp config.json
244
- vi config.json
245
216
 
246
- Run the jupyter notebooks
247
-
248
- jupyter notebook
249
-
250
-
251
- ## Generation from OpenAPI specification
252
-
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:
254
-
255
- ```
256
- make generate-openapi-client
257
- ```