Skip to content

Commit 374b4d5

Browse files
authored
Update API_DOCUMENTATION_RU.md
1 parent 204246f commit 374b4d5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

API_DOCUMENTATION_RU.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [Blockchair.com](https://blockchair.com/) API v.2.0.7 - документация
1+
## [Blockchair.com](https://blockchair.com/) API v.2.0.8 - документация
22

33
![Blockchair logo](https://blockchair.com/images/logo_full.png "Blockchair logo")
44

@@ -29,10 +29,12 @@
2929
+ [Статистика по всем блокчейнам](#stats)
3030
+ [Пример](#пример-работы-с-api)
3131
+ [Broadcasting transactions](#broadcasting-transactions)
32+
+ [Retrieving raw transactions](#retrieving-raw-transactions)
3233
+ [Поддержка](#поддержка)
3334

3435
### Changelog
3536

37+
* v.2.0.8 - Nov 26th - Add the ability to retrieve raw transaction data in hex, see [Retrieving raw transactions](#retrieving-raw-transactions)
3638
* v.2.0.7 - Nov 22th - Now it's possible to broadcast transactions using our API, see [Broadcasting transactions](#broadcasting-transactions)
3739
* v.2.0.6 - 8 октября - В бета-режиме добавлена возможность агрегировать информацию из блокчейнов, см. `Поддержка агрегирования данных` ниже
3840
* v.2.0.5 - 8 октября - Исправлен баг с подсчётом `balance` и `received` у bitcoin[-cash]|litecoin-адресов в колле `{chain}/dashboards/address/{address}`, когда имелись специфические неподтверждённые транзакции
@@ -682,6 +684,14 @@ Example of a successful response:
682684
{"data":{"transaction_hash": "0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098…"},"context":{"code":200,…
683685
```
684686

687+
### Retrieving raw transactions
688+
689+
It's possible to get raw transaction data directly from our nodes. In order to do this you should make the following API call: `https://api.blockchair.com/{chain}/raw/transaction/{txhash}` (where `{chain}` can be one of those: `bitcoin`, `bitcoin-cash`, `ethereum`, and `litecoin`)
690+
691+
The response contains two keys which are:
692+
* `raw_transaction` - raw transaction represented as hex string
693+
* `decoded_raw_transaction` (not available for Ethereum) - raw transaction encoded in JSON by our nodes. Please not that the structure of this JSON array may change as we upgrade our nodes, and this won't be reflected in our change logs.
694+
685695
### Поддержка
686696

687697
* E-mail: [info@blockchair.com](mailto:info@blockchair.com)

0 commit comments

Comments
 (0)