Skip to content

Commit

Permalink
Update API_DOCUMENTATION_EN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Har01d authored Nov 22, 2018
1 parent a6dfd67 commit 4d2378e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API_DOCUMENTATION_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ Increase offset value until getting a data set with the transaction that we alre

### Broadcasting transactions

In order to broadcast a transaction into the network, you should make a POST request to `https://api.blockchair.com/{chain}/push/transaction` with `data` holding hex represenatation of a transaction (for Ethereum it should start with `0x`). An example:
In order to broadcast a transaction into the network, you should make a POST request to `https://api.blockchair.com/{chain}/push/transaction` (where `{chain}` can be one of those: `bitcoin`, `bitcoin-cash`, `ethereum`, and `litecoin`) with `data` holding hex represenatation of a transaction (for Ethereum it should start with `0x`). An example:

```
curl -v --data "data=01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0704ffff001d0104ffffffff0100f2052a0100000043410496b538e853519c726a2c91e61ec11600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf621e73a82cbf2342c858eeac00000000" https://api.blockchair.com/bitcoin/push/transaction
Expand Down

0 comments on commit 4d2378e

Please sign in to comment.