Merge pull request #119 from leonardo-sj/patch-2

Update 04_4__Interlude_Using_Curl.md
This commit is contained in:
Shannon Appelcline 2020-05-26 07:56:45 -10:00 committed by GitHub
commit 3dd6377fe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ Though you're accessing `bitcoind` directly, you'll still get access to wallet f
Use the `getaddressesbyaccount` RPC to list all of your current addresses: Use the `getaddressesbyaccount` RPC to list all of your current addresses:
``` ```
$ curl --user bitcoinrpc:73bd45ba60ab8f9ff9846b6404769487 --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbyaccount", "params": [""] }' -H 'content-type: text/plain;' http://127.0.0.1:18332/ | jq -r '.' $ curl --user bitcoinrpc:73bd45ba60ab8f9ff9846b6404769487 --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbylabel", "params": [""] }' -H 'content-type: text/plain;' http://127.0.0.1:18332/ | jq -r '.'
{ {
"result": [ "result": [