Skip to content

Commit

Permalink
Merge branch 'update-zig-rst-curl-code-block' into 'master'
Browse files Browse the repository at this point in the history
Better formatting for `curl` example

See merge request zcash-docs/zcash-docs!264
  • Loading branch information
wilmoore committed Jun 24, 2021
2 parents b90637b + 2c655cc commit c24ad87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/rtd_pages/zig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ In addition, `zcashd` adds the `Payment API` (see :ref:`payment_api` reference).
Example of using curl to make a ``z_sendmany`` call::
curl --user "$USER:$PASSWORD" \
-X POST \
--data-binary "{ \"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"z_sendmany\", \"params\": [\"$FROM_ADDR\", [{\"address\": \"$TO_ADDR\" ,\"amount\": $AMOUNT}]] }" \
-H "Content-Type: text/plain;" \
http://127.0.0.1:8232
-X POST \
--data-binary "{ \"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"z_sendmany\", \"params\": [\"$FROM_ADDR\", [{\"address\": \"$TO_ADDR\" ,\"amount\": $AMOUNT}]] }" \
-H "Content-Type: text/plain;" \
http://127.0.0.1:8232

This API does not yet support advanced Bitcoin transaction types, such as those involving multisig addresses.

Expand Down

0 comments on commit c24ad87

Please sign in to comment.