From a220736deac90724a88652b43a588ccb4ba28979 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 6 Apr 2020 12:54:07 -0400 Subject: [PATCH] updated docs --- docs/api.json | 350 +++++++++++++++++++++++++++++--------------------- 1 file changed, 202 insertions(+), 148 deletions(-) diff --git a/docs/api.json b/docs/api.json index a94f925d2..73221392e 100644 --- a/docs/api.json +++ b/docs/api.json @@ -54,10 +54,10 @@ "examples": [ { "title": "Get a file", - "curl": "curl -d'{\"method\": \"get\", \"params\": {\"uri\": \"astream#b417290577f86e33f746980cc43dcf35a76e3374\"}}' http://localhost:5279/", - "lbrynet": "lbrynet get astream#b417290577f86e33f746980cc43dcf35a76e3374", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"get\", \"params\": {\"uri\": \"astream#b417290577f86e33f746980cc43dcf35a76e3374\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1585619142,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmpx9izt3bj\",\n \"download_path\": \"/tmp/tmpx9izt3bj/tmp4s2rv5lr\",\n \"file_name\": \"tmp4s2rv5lr\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"33d1b3fcadd55ab27a674c579fe33d69\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0128a349afae6a298321acaed339043edbc5134630e3e5c3fffabbc16690ec00df8f717235b3217ea27fbd8cd335c0abf344ebbe19d733d648f4230ee35ed5144a97aed7852dc8e613629eb6289ef8db0a8f8f25850a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d703473327276356c72180b22186170706c69636174696f6e2f6f637465742d73747265616d323063004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"6444414d8b1853d67710a6314a853bb5eec6b089ee334c0ec0b69982c1f6d1ef3331a778fe880f6f483fcf5438f42e35\",\n \"stream_name\": \"tmp4s2rv5lr\",\n \"streaming_url\": \"http://localhost:5280/stream/63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"suggested_file_name\": \"tmp4s2rv5lr\",\n \"timestamp\": 1466680974,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"written_bytes\": 11\n }\n}" + "curl": "curl -d'{\"method\": \"get\", \"params\": {\"uri\": \"astream#454e2102366e4aad6710f8520deb79093429c8a0\"}}' http://localhost:5279/", + "lbrynet": "lbrynet get astream#454e2102366e4aad6710f8520deb79093429c8a0", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"get\", \"params\": {\"uri\": \"astream#454e2102366e4aad6710f8520deb79093429c8a0\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1586192027,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmplr8v74_8\",\n \"download_path\": \"/tmp/tmplr8v74_8/tmpwpt3crhg\",\n \"file_name\": \"tmpwpt3crhg\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"f8ee36e429460859e867d14f390cd139\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01f6e2d016ad055e9e2f2d7eb8f3dc0a919d316ad3cedf954eefb6105bb86cd04a708f50e7e6d5ceac543ecc64fb60047aeb9708b1c9c4c174498f1ca959c471183f56b84c882c20d00cd09f5cc842dec6a84c2c0f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707770743363726867180b22186170706c69636174696f6e2f6f637465742d73747265616d323056874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"9584bc9fa0c545fce945080b4c8ac57722455077cb9579efe4130c07d4de29961b5bd85e55af604a20ddab72e3839a74\",\n \"stream_name\": \"tmpwpt3crhg\",\n \"streaming_url\": \"http://localhost:5280/stream/56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"suggested_file_name\": \"tmpwpt3crhg\",\n \"timestamp\": 1466680974,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"written_bytes\": 11\n }\n}" } ] }, @@ -250,10 +250,10 @@ "examples": [ { "title": "Publish a file", - "curl": "curl -d'{\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpxe9u833p\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet publish a-new-stream --bid=1.0 --file_path=/tmp/tmpxe9u833p", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpxe9u833p\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001b61ef6cb5ab9368ad6502185509a58cce7ae7026123d4e7ca400340049bfe958010000006b4830450221009641ba03a807aec804d8629f58d583a4a526af3234f08a9270d83cbd0c3c78660220446541854f8ec998bb02afbcf7c6f8fb723834a68f25ec3d65513622cad7fa33012102f51a4f1c26839e5910ae2f0f8b568ac4594d9683241fa73aecc69079d8bd4ffcffffffff0200e1f50500000000bfb50c612d6e65772d73747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707865397538333370180b22186170706c69636174696f6e2f6f637465742d73747265616d3230a2619d47feb5fdbe92fc7eaecd4329c18919294f995f2b3f80cee905d077eacda4b2175a4b0c2dc3b407310fdb2cb8d86d7576a914c71728033150726627534824c825746ddc379c6c88ace0b46217000000001976a9147b83a5a5934f4963a03e24e8cff754786389672a88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mkL6UhxXe22hMUnJwMXRSGYjAPQp7Rk5kW\",\n \"amount\": \"4.947555\",\n \"confirmations\": 4,\n \"height\": 215,\n \"is_spent\": false,\n \"nout\": 1,\n \"timestamp\": 1466681135,\n \"txid\": \"58e9bf49003400a47c4e3d122670aee7cc589a50852150d68a36b95acbf61eb6\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"myfeWA1Ri1w3NM4wq2kZ9DgC9i1JMkxUeh\",\n \"amount\": \"1.0\",\n \"claim_id\": \"3a4bd116dc04fadd264f9bfb5582b7c04ba6699c\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"a-new-stream\",\n \"normalized_name\": \"a-new-stream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://a-new-stream#3a4bd116dc04fadd264f9bfb5582b7c04ba6699c\",\n \"timestamp\": 1466646266,\n \"txid\": \"dff2209316dc08b00e0056e1d4c00bedd206532cccdc9f4336c949cf285c5568\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpxe9u833p\",\n \"sd_hash\": \"a2619d47feb5fdbe92fc7eaecd4329c18919294f995f2b3f80cee905d077eacda4b2175a4b0c2dc3b407310fdb2cb8d8\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mrn37eV4xbHjLAQeefMfZPDVWiQ25BEwRb\",\n \"amount\": \"3.923448\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"dff2209316dc08b00e0056e1d4c00bedd206532cccdc9f4336c949cf285c5568\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.024107\",\n \"total_input\": \"4.947555\",\n \"total_output\": \"4.923448\",\n \"txid\": \"dff2209316dc08b00e0056e1d4c00bedd206532cccdc9f4336c949cf285c5568\"\n }\n}" + "curl": "curl -d'{\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpwoa8kvka\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet publish a-new-stream --bid=1.0 --file_path=/tmp/tmpwoa8kvka", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpwoa8kvka\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001b81ef5f61c1d8b8bd9af7ebbc3eda445beacb8c55dd02f55e264057c4f58e329010000006a47304402204e8a56e0c2888e7263917be95250371f1628b16411a60a8ba045d7c8324dfb7802207e6630178b61e54bf61fe8108d551eca61d724dd78573da56ff783508da193d401210270c2cfa008123421fe9f54bf814574146ef0d1f2d4da7677cab408359a8c93e2ffffffff0200e1f50500000000bfb50c612d6e65772d73747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70776f61386b766b61180b22186170706c69636174696f6e2f6f637465742d73747265616d323067d28f30390bae948c19ecc0c0023f2de2186c3e32ab7651464921097b78c714a35fb0d97c3ef22a86a06643e44c4bc66d7576a9148f52c3c60a4d52a3ff2cdf6d71e91720225d103588ace0b46217000000001976a9147f5c323a828d8e2be30cb6323388f6f3f8ddc06a88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"msjgaNbkWUPhoKkSBDhX8kGX3U3BTVejHr\",\n \"amount\": \"4.947555\",\n \"confirmations\": 4,\n \"height\": 215,\n \"nout\": 1,\n \"timestamp\": 1466681135,\n \"txid\": \"29e3584f7c0564e2552fd05dc5b8acbe45a4edc3bb7eafd98b8b1d1cf6f51eb8\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mtan55dwUanP4smcjkMnwcRvmRfeXrBtv7\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d5dbd07918634a5291d8b6be421a2b8af47d9ad2\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"a-new-stream\",\n \"normalized_name\": \"a-new-stream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://a-new-stream#d5dbd07918634a5291d8b6be421a2b8af47d9ad2\",\n \"timestamp\": null,\n \"txid\": \"c30cf22d2bff2fd22d2e3151061477c6641b60b9abe8e667b5cefefa9b0f80ac\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwoa8kvka\",\n \"sd_hash\": \"67d28f30390bae948c19ecc0c0023f2de2186c3e32ab7651464921097b78c714a35fb0d97c3ef22a86a06643e44c4bc6\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"ms8NZKaYB8X7eghT2VTACPoLKVhrA4G2TN\",\n \"amount\": \"3.923448\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"c30cf22d2bff2fd22d2e3151061477c6641b60b9abe8e667b5cefefa9b0f80ac\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.024107\",\n \"total_input\": \"4.947555\",\n \"total_output\": \"4.923448\",\n \"txid\": \"c30cf22d2bff2fd22d2e3151061477c6641b60b9abe8e667b5cefefa9b0f80ac\"\n }\n}" } ] }, @@ -308,10 +308,10 @@ "examples": [ { "title": "Resolve a claim", - "curl": "curl -d'{\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#b417290577f86e33f746980cc43dcf35a76e3374\"], \"include_purchase_receipt\": false, \"include_is_my_output\": false, \"include_sent_supports\": false, \"include_sent_tips\": false, \"include_received_tips\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet resolve astream#b417290577f86e33f746980cc43dcf35a76e3374", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#b417290577f86e33f746980cc43dcf35a76e3374\"], \"include_purchase_receipt\": false, \"include_is_my_output\": false, \"include_sent_supports\": false, \"include_sent_tips\": false, \"include_received_tips\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"astream#b417290577f86e33f746980cc43dcf35a76e3374\": {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3/astream#b\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": 3,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1466680814,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263187,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 213,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"short_url\": \"lbry://astream#b\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 7,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 1,\n \"creation_height\": 209,\n \"creation_timestamp\": 1466680171,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263183,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 209,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"short_url\": \"lbry://@channel#3\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n }\n}" + "curl": "curl -d'{\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#454e2102366e4aad6710f8520deb79093429c8a0\"], \"include_purchase_receipt\": false, \"include_is_my_output\": false, \"include_sent_supports\": false, \"include_sent_tips\": false, \"include_received_tips\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet resolve astream#454e2102366e4aad6710f8520deb79093429c8a0", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#454e2102366e4aad6710f8520deb79093429c8a0\"], \"include_purchase_receipt\": false, \"include_is_my_output\": false, \"include_sent_supports\": false, \"include_sent_tips\": false, \"include_received_tips\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"astream#454e2102366e4aad6710f8520deb79093429c8a0\": {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#d/astream#4\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": 3,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1466680814,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263187,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 213,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"short_url\": \"lbry://astream#4\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#d\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 7,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 1,\n \"creation_height\": 209,\n \"creation_timestamp\": 1466680171,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263183,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 209,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"short_url\": \"lbry://@channel#d\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n }\n}" } ] }, @@ -333,7 +333,7 @@ "curl": "curl -d'{\"method\": \"status\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet status", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"status\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blob_manager\": {\n \"connections\": {\n \"incoming_bps\": {},\n \"max_incoming_mbs\": 0.0,\n \"max_outgoing_mbs\": 0.0,\n \"outgoing_bps\": {},\n \"total_incoming_mbs\": 0.0,\n \"total_outgoing_mbs\": 0.0,\n \"total_received\": 0,\n \"total_sent\": 0\n },\n \"finished_blobs\": 0\n },\n \"connection_status\": {\n \"code\": \"network_connection\",\n \"message\": \"Your internet connection appears to have been interrupted\"\n },\n \"ffmpeg_status\": {\n \"analyze_audio_volume\": true,\n \"available\": true,\n \"which\": \"/usr/bin/ffmpeg\"\n },\n \"installation_id\": \"9qRS65o6CNdLHGMMSHXm9SsArb29uFXWVm5bJ8YQ6viVE3oMR7hdkhWjBD3TUwhmxB\",\n \"is_running\": true,\n \"skipped_components\": [\n \"dht\",\n \"upnp\",\n \"hash_announcer\",\n \"peer_protocol_server\"\n ],\n \"startup_status\": {\n \"blob_manager\": true,\n \"database\": true,\n \"exchange_rate_manager\": true,\n \"stream_manager\": true,\n \"wallet\": true,\n \"wallet_server_payments\": true\n },\n \"stream_manager\": {\n \"managed_files\": 0\n },\n \"wallet\": {\n \"available_servers\": 1,\n \"best_blockhash\": \"4cf95e3975871ff565881ce16ac529093338eefb009fa08bcb6253c5cf266b64\",\n \"blocks\": 206,\n \"blocks_behind\": 0,\n \"connected\": \"127.0.0.1:50002\",\n \"connected_features\": {\n \"daily_fee\": \"0\",\n \"description\": \"\",\n \"donation_address\": \"\",\n \"genesis_hash\": \"6e3fcf1299d4ec5d79c3a4c91d624a4acf9e2e173d95a1a0504f677669687556\",\n \"hash_function\": \"sha256\",\n \"hosts\": {},\n \"payment_address\": \"\",\n \"protocol_max\": \"0.99.0\",\n \"protocol_min\": \"0.54.0\",\n \"pruning\": null,\n \"server_version\": \"0.67.0\",\n \"trending_algorithm\": \"zscore\"\n },\n \"headers_synchronization_progress\": 100,\n \"known_servers\": 1,\n \"servers\": [\n {\n \"availability\": true,\n \"host\": \"localhost\",\n \"latency\": 0.005246120039373636,\n \"port\": 50002\n }\n ]\n },\n \"wallet_server_payments\": {\n \"max_fee\": \"0.0\",\n \"running\": false\n }\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blob_manager\": {\n \"connections\": {\n \"incoming_bps\": {},\n \"max_incoming_mbs\": 0.0,\n \"max_outgoing_mbs\": 0.0,\n \"outgoing_bps\": {},\n \"total_incoming_mbs\": 0.0,\n \"total_outgoing_mbs\": 0.0,\n \"total_received\": 0,\n \"total_sent\": 0\n },\n \"finished_blobs\": 0\n },\n \"connection_status\": {\n \"code\": \"network_connection\",\n \"message\": \"Your internet connection appears to have been interrupted\"\n },\n \"ffmpeg_status\": {\n \"analyze_audio_volume\": true,\n \"available\": true,\n \"which\": \"/usr/bin/ffmpeg\"\n },\n \"installation_id\": \"nocrD7BEEzNMzLts7w9B34TaYsVHrkdL19ah9CbHhmRiGhb4EcdsoQ3cEiBhrECSL\",\n \"is_running\": true,\n \"skipped_components\": [\n \"dht\",\n \"upnp\",\n \"hash_announcer\",\n \"peer_protocol_server\"\n ],\n \"startup_status\": {\n \"blob_manager\": true,\n \"database\": true,\n \"exchange_rate_manager\": true,\n \"stream_manager\": true,\n \"wallet\": true,\n \"wallet_server_payments\": true\n },\n \"stream_manager\": {\n \"managed_files\": 0\n },\n \"wallet\": {\n \"available_servers\": 1,\n \"best_blockhash\": \"9667e24288dc0f0b623e534cdaaf53fc1b1d4876626c5ffe0a0225cb3d395ea8\",\n \"blocks\": 206,\n \"blocks_behind\": 0,\n \"connected\": \"127.0.0.1:50002\",\n \"connected_features\": {\n \"daily_fee\": \"0\",\n \"description\": \"\",\n \"donation_address\": \"\",\n \"genesis_hash\": \"6e3fcf1299d4ec5d79c3a4c91d624a4acf9e2e173d95a1a0504f677669687556\",\n \"hash_function\": \"sha256\",\n \"hosts\": {},\n \"payment_address\": \"\",\n \"protocol_max\": \"0.99.0\",\n \"protocol_min\": \"0.54.0\",\n \"pruning\": null,\n \"server_version\": \"0.67.2\",\n \"trending_algorithm\": \"zscore\"\n },\n \"headers_synchronization_progress\": 100,\n \"known_servers\": 1,\n \"servers\": [\n {\n \"availability\": true,\n \"host\": \"localhost\",\n \"latency\": 0.014693407982122153,\n \"port\": 50002\n }\n ]\n },\n \"wallet_server_payments\": {\n \"max_fee\": \"0.0\",\n \"running\": false\n }\n }\n}" } ] }, @@ -355,7 +355,7 @@ "curl": "curl -d'{\"method\": \"version\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet version", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"version\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"build\": \"dev\",\n \"desktop\": \"GNOME\",\n \"distro\": {\n \"codename\": \"xenial\",\n \"id\": \"ubuntu\",\n \"like\": \"debian\",\n \"version\": \"16.04\",\n \"version_parts\": {\n \"build_number\": \"\",\n \"major\": \"16\",\n \"minor\": \"04\"\n }\n },\n \"lbrynet_version\": \"0.67.0\",\n \"os_release\": \"4.4.0-116-generic\",\n \"os_system\": \"Linux\",\n \"platform\": \"Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial\",\n \"processor\": \"x86_64\",\n \"python_version\": \"3.7.5\",\n \"version\": \"0.67.0\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"build\": \"dev\",\n \"desktop\": \"GNOME\",\n \"distro\": {\n \"codename\": \"xenial\",\n \"id\": \"ubuntu\",\n \"like\": \"debian\",\n \"version\": \"16.04\",\n \"version_parts\": {\n \"build_number\": \"\",\n \"major\": \"16\",\n \"minor\": \"04\"\n }\n },\n \"lbrynet_version\": \"0.67.2\",\n \"os_release\": \"4.4.0-116-generic\",\n \"os_system\": \"Linux\",\n \"platform\": \"Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial\",\n \"processor\": \"x86_64\",\n \"python_version\": \"3.7.5\",\n \"version\": \"0.67.2\"\n }\n}" } ] } @@ -409,10 +409,10 @@ "examples": [ { "title": "Add an account from seed", - "curl": "curl -d'{\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"list dignity illegal bonus bread apple change credit tape segment divorce suit\", \"single_key\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet account add \"new account\" --seed=\"list dignity illegal bonus bread apple change credit tape segment divorce suit\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"list dignity illegal bonus bread apple change credit tape segment divorce suit\", \"single_key\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 1\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"encrypted\": false,\n \"id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1585619126.9018846,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPdc1QfujCWQi3eMZirADb4HEJxte6bkMcq37zFjGwfrLJhY9GR41xRLMk6MxTavsaqrhQfHgui4LX7Xo6dCbnU1xm3wozqui\",\n \"public_key\": \"tpubD6NzVbkrYhZ4X53CZZPnupNADP5f1VQVdaq6FQgQ22A1fXNkt86XrLxAsgsUTL8mpJyGM5j74y9jvuUutbBHs9hePn9yEcfw8ScBi4hYRhq\",\n \"seed\": \"list dignity illegal bonus bread apple change credit tape segment divorce suit\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"curious marine amused appear title asset trip blood merge tomorrow useful above\", \"single_key\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet account add \"new account\" --seed=\"curious marine amused appear title asset trip blood merge tomorrow useful above\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"curious marine amused appear title asset trip blood merge tomorrow useful above\", \"single_key\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 1\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"encrypted\": false,\n \"id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1586192012.3948493,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPeZ2jjRP1MmbAgyDT4x7DNGXH7HBNgkdpxGtCXop1pbyNz98bm5BySBeibjVrwknk4fhYexfyX9HrJ3yA9Qi4NvL4drwekT1\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Y24Xd53bmBFHFzjPEHJ7wa84PoDg72SDnm8yACdc16bFAGPNHiKCdk4i1uKmKAGCcG2HicqsXtr7Aso7r7hLo2sxkCTcmm4\",\n \"seed\": \"curious marine amused appear title asset trip blood merge tomorrow useful above\"\n }\n}" } ] }, @@ -450,9 +450,9 @@ }, { "title": "Get balance for specific account by id", - "curl": "curl -d'{\"method\": \"account_balance\", \"params\": {\"account_id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\"}}' http://localhost:5279/", - "lbrynet": "lbrynet account balance \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_balance\", \"params\": {\"account_id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\"}}).json()", + "curl": "curl -d'{\"method\": \"account_balance\", \"params\": {\"account_id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\"}}' http://localhost:5279/", + "lbrynet": "lbrynet account balance \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_balance\", \"params\": {\"account_id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"available\": \"2.0\",\n \"reserved\": \"0.0\",\n \"reserved_subtotals\": {\n \"claims\": \"0.0\",\n \"supports\": \"0.0\",\n \"tips\": \"0.0\"\n },\n \"total\": \"2.0\"\n }\n}" } ] @@ -487,7 +487,7 @@ "curl": "curl -d'{\"method\": \"account_create\", \"params\": {\"account_name\": \"generated account\", \"single_key\": false}}' http://localhost:5279/", "lbrynet": "lbrynet account create \"generated account\"", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_create\", \"params\": {\"account_name\": \"generated account\", \"single_key\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 1\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"encrypted\": false,\n \"id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1585619126.6978645,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPdc1QfujCWQi3eMZirADb4HEJxte6bkMcq37zFjGwfrLJhY9GR41xRLMk6MxTavsaqrhQfHgui4LX7Xo6dCbnU1xm3wozqui\",\n \"public_key\": \"tpubD6NzVbkrYhZ4X53CZZPnupNADP5f1VQVdaq6FQgQ22A1fXNkt86XrLxAsgsUTL8mpJyGM5j74y9jvuUutbBHs9hePn9yEcfw8ScBi4hYRhq\",\n \"seed\": \"list dignity illegal bonus bread apple change credit tape segment divorce suit\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 1\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"encrypted\": false,\n \"id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1586192012.151871,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPeZ2jjRP1MmbAgyDT4x7DNGXH7HBNgkdpxGtCXop1pbyNz98bm5BySBeibjVrwknk4fhYexfyX9HrJ3yA9Qi4NvL4drwekT1\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Y24Xd53bmBFHFzjPEHJ7wa84PoDg72SDnm8yACdc16bFAGPNHiKCdk4i1uKmKAGCcG2HicqsXtr7Aso7r7hLo2sxkCTcmm4\",\n \"seed\": \"curious marine amused appear title asset trip blood merge tomorrow useful above\"\n }\n}" } ] }, @@ -542,24 +542,24 @@ "examples": [ { "title": "Transfer 2 LBC from default account to specific account", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --to_account=\"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\" --amount=2.0 --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001ba767d6a6e2e38834610c9d26fe3643693630e4f665a5ee0a6d0afbff83cd5f8000000006a47304402204d124f86882dc3877695cd976db13ae69d65c8428c8f6d835ca8223a7d6835e902205de28b9a4f110b0225a8755eec4c8c685537c50874328f2e40ddd48dca9dd7fd01210246887ed2c771522dce19644f0dfe7551c8b6e14f3bd0d1fb264973dcf105c888ffffffff0200c2eb0b000000001976a914c02e4a71f8e4ffaaff99a9e63c1fcead285a392c88ac90d7ae2f000000001976a914cb916329b5b4700cedcd3e8d94407665ca81d36688ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mxBTeoDmRCHM7c3jY8Fno67GC9dJhVohLV\",\n \"amount\": \"10.0\",\n \"confirmations\": 6,\n \"height\": 201,\n \"is_spent\": false,\n \"nout\": 0,\n \"timestamp\": 1466678885,\n \"txid\": \"f8d53cf8bfafd0a6e05e5a664f0e63933664e36fd2c9104683382e6e6a7d76ba\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"my37VE71ekzhESxzcaxJZutmqwxRc8w7dt\",\n \"amount\": \"2.0\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": 1466646266,\n \"txid\": \"de03731c8a7d576729fcf14a2f0f1a527d5c7d867494e2c21edf4311ad96268b\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mz5KdgkPjuzRAnBuivAdfeg49qMuvSNPMo\",\n \"amount\": \"7.999876\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"de03731c8a7d576729fcf14a2f0f1a527d5c7d867494e2c21edf4311ad96268b\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000124\",\n \"total_input\": \"10.0\",\n \"total_output\": \"9.999876\",\n \"txid\": \"de03731c8a7d576729fcf14a2f0f1a527d5c7d867494e2c21edf4311ad96268b\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --to_account=\"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\" --amount=2.0 --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000018f3015bf85bd62cc8771b38e10782c999098879521590a28cc86b07679b1a9e9000000006a47304402204f85445ae23cf89c02b41da291c22178bb9df66d63995ddbca1982d16d5745c8022011c24f5ed4e0d77f9f037ea0c7a76938ebda5af4172b64af79e465ae88cdc8ce0121025f3a2f2ce309ca48375cdaa96e4f472f75e450874eea8d50de3e2a787b049e6bffffffff0200c2eb0b000000001976a9147c0a963bc99bc98b8f7668e4fa0345faa98f1a7188ac90d7ae2f000000001976a914cb846c06182d708433b99c4c3fa1112278044a9488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mmBdN1VUqEwqUeGcgx9Y9fwava1BvbSTSd\",\n \"amount\": \"10.0\",\n \"confirmations\": 6,\n \"height\": 201,\n \"nout\": 0,\n \"timestamp\": 1466678885,\n \"txid\": \"e9a9b17976b086cc280a592195879890992c78108eb37187cc62bd85bf15308f\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mrppmRnkw5TLZ1KPQ9aE4MT7WTMhVfpT75\",\n \"amount\": \"2.0\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"ebc03e87aa103d319885a3622e7035ae0eb9e893fafdc003d742e886aa9601c8\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mz546qPyqGArpMv4SxLmgH5zEsP86tHjRA\",\n \"amount\": \"7.999876\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"ebc03e87aa103d319885a3622e7035ae0eb9e893fafdc003d742e886aa9601c8\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000124\",\n \"total_input\": \"10.0\",\n \"total_output\": \"9.999876\",\n \"txid\": \"ebc03e87aa103d319885a3622e7035ae0eb9e893fafdc003d742e886aa9601c8\"\n }\n}" }, { "title": "Spread LBC between multiple addresses", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"from_account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --to_account=\"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\" --from_account=\"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\" --amount=1.5 --outputs=2 --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"from_account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000018b2696ad1143df1ec2e29474867d5c7d521a0f2f4af1fc2967577d8a1c7303de000000006b483045022100d969210fbc02f976ba640bee0c3e681e5bffb83279ac76415a454785fdbb712d02203f903ca5a9feac3dfee8c32b8af281f880d18b0ce7d22fb97802ae200e07e129012103f21681776984113124c74b9f6cc03984f6626d0cf8107ce65fa7adb93f5dd95effffffff03c0687804000000001976a9142e1a37355163311569fc92d53a58540b42623d9c88acc0687804000000001976a9142e1a37355163311569fc92d53a58540b42623d9c88ac6cb9fa02000000001976a9142e1a37355163311569fc92d53a58540b42623d9c88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"my37VE71ekzhESxzcaxJZutmqwxRc8w7dt\",\n \"amount\": \"2.0\",\n \"confirmations\": 1,\n \"height\": 207,\n \"is_spent\": false,\n \"nout\": 0,\n \"timestamp\": 1466679849,\n \"txid\": \"de03731c8a7d576729fcf14a2f0f1a527d5c7d867494e2c21edf4311ad96268b\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mjiinNeUAhoYMqyQm4bUXAM2J4M2gaqbUd\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": 1466646266,\n \"txid\": \"3781dca574d6b8f2e039e90510a240a1ea8e7bca6e92584af4c7d3638ecd7901\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mjiinNeUAhoYMqyQm4bUXAM2J4M2gaqbUd\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"3781dca574d6b8f2e039e90510a240a1ea8e7bca6e92584af4c7d3638ecd7901\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mjiinNeUAhoYMqyQm4bUXAM2J4M2gaqbUd\",\n \"amount\": \"0.499859\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 2,\n \"timestamp\": 1466646266,\n \"txid\": \"3781dca574d6b8f2e039e90510a240a1ea8e7bca6e92584af4c7d3638ecd7901\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000141\",\n \"total_input\": \"2.0\",\n \"total_output\": \"1.999859\",\n \"txid\": \"3781dca574d6b8f2e039e90510a240a1ea8e7bca6e92584af4c7d3638ecd7901\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"from_account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --to_account=\"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\" --from_account=\"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\" --amount=1.5 --outputs=2 --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"from_account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c80196aa86e842d703c0fdfa93e8b90eae35702e62a38598313d10aa873ec0eb000000006b483045022100a985b06f9bffc0969f605229ebe34eb521bdc97ca9634b8bef7f88d4bded8c35022034ed75701bf4598428ce1e1765bb2f7f77a019ffa89f711992dc631db1099c4d0121034e40e275565df81b2e30a5c5181acc18970f2ff176e8846e69ea7fd70512bac5ffffffff03c0687804000000001976a914da597d40c5666f1f5edea88fec19471902b647af88acc0687804000000001976a914da597d40c5666f1f5edea88fec19471902b647af88ac6cb9fa02000000001976a914296a8fd2f117fd1c11189ceebf37285f1223880488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mrppmRnkw5TLZ1KPQ9aE4MT7WTMhVfpT75\",\n \"amount\": \"2.0\",\n \"confirmations\": 1,\n \"height\": 207,\n \"nout\": 0,\n \"timestamp\": 1466679849,\n \"txid\": \"ebc03e87aa103d319885a3622e7035ae0eb9e893fafdc003d742e886aa9601c8\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n1RUohMJqvhJ23BajTur6iED1khTv3Vu3L\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"72d06e9cdd0f77756d62bec556ae6cecf7109f6148ba97e95faa3743b6751a7c\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"n1RUohMJqvhJ23BajTur6iED1khTv3Vu3L\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"72d06e9cdd0f77756d62bec556ae6cecf7109f6148ba97e95faa3743b6751a7c\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mjHwexqoaixwzZ589sNhrMjYoXqc14GUrx\",\n \"amount\": \"0.499859\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 2,\n \"timestamp\": null,\n \"txid\": \"72d06e9cdd0f77756d62bec556ae6cecf7109f6148ba97e95faa3743b6751a7c\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000141\",\n \"total_input\": \"2.0\",\n \"total_output\": \"1.999859\",\n \"txid\": \"72d06e9cdd0f77756d62bec556ae6cecf7109f6148ba97e95faa3743b6751a7c\"\n }\n}" }, { "title": "Transfer all LBC to a specified account", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"from_account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"everything\": true, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --from_account=\"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\" --everything --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"from_account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"everything\": true, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000030179cd8e63d3c7f44a58926eca7b8eeaa140a21005e939e0f2b8d674a5dc8137000000006a4730440220072294a91fb8c278db3fbccb0b9f54c6a7a7d26d1c13b2f3eda90a7c3d30ba2902200fa2e4f767db19d77098a4bcd13ba42cdf387125924724ba14afbce736c69092012103ff9945fde56f713363f56c670582783628ac8394ec9b5ecd084163583f5ab1e5ffffffff0179cd8e63d3c7f44a58926eca7b8eeaa140a21005e939e0f2b8d674a5dc8137010000006b4830450221009b69f27d6d658bdf6baf700b49ffc4791b5fde01894fa6bf233b5b84c952817f02207ea0592844b37171b515912bb8a24bb6074a43195282956d91c011b4617caa26012103ff9945fde56f713363f56c670582783628ac8394ec9b5ecd084163583f5ab1e5ffffffff0179cd8e63d3c7f44a58926eca7b8eeaa140a21005e939e0f2b8d674a5dc8137020000006b483045022100e4cc8571456656e81b53177ead34181e70a5097cadd430dc87a4f135d9c7a2ba022066659e6d6460766ecfe12c63b637e8122ec1ad7d898643941c8117eb6132976b012103ff9945fde56f713363f56c670582783628ac8394ec9b5ecd084163583f5ab1e5ffffffff015027eb0b000000001976a9143d5138bbe9b26fa557c9726920f5d158a29a8d2288ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mjiinNeUAhoYMqyQm4bUXAM2J4M2gaqbUd\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_spent\": false,\n \"nout\": 0,\n \"timestamp\": 1466680010,\n \"txid\": \"3781dca574d6b8f2e039e90510a240a1ea8e7bca6e92584af4c7d3638ecd7901\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mjiinNeUAhoYMqyQm4bUXAM2J4M2gaqbUd\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_spent\": false,\n \"nout\": 1,\n \"timestamp\": 1466680010,\n \"txid\": \"3781dca574d6b8f2e039e90510a240a1ea8e7bca6e92584af4c7d3638ecd7901\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mjiinNeUAhoYMqyQm4bUXAM2J4M2gaqbUd\",\n \"amount\": \"0.499859\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_spent\": false,\n \"nout\": 2,\n \"timestamp\": 1466680010,\n \"txid\": \"3781dca574d6b8f2e039e90510a240a1ea8e7bca6e92584af4c7d3638ecd7901\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mm7Ap8eGFKRiKcuXgJowSpDy3nZQzY9AX4\",\n \"amount\": \"1.999604\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": 1466646266,\n \"txid\": \"b8debe7b8addd45389c0535b94987524028876ca66b2855d2c6f07aceec617c8\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000255\",\n \"total_input\": \"1.999859\",\n \"total_output\": \"1.999604\",\n \"txid\": \"b8debe7b8addd45389c0535b94987524028876ca66b2855d2c6f07aceec617c8\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"from_account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"everything\": true, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --from_account=\"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\" --everything --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"from_account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"everything\": true, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000037c1a75b64337aa5fe997ba48619f10f7ec6cae56c5be626d75770fdd9c6ed072000000006b483045022100c16b9df62ff12ebe825697cab198495f1d141e22bd0bdb946b6a59a87ce11ff202201db7222cbd91860808534a20fe81f0a1e0e3a227f4692b7ba62d2b8c824a3e3b012102a388c89237227180b451545caefaea459d945370b3f549b4ac9516bd76ca4fdeffffffff7c1a75b64337aa5fe997ba48619f10f7ec6cae56c5be626d75770fdd9c6ed072010000006b483045022100e8d8815d324842f94ad4fcbb2c260a19f4c8013fd89986ef4aeb1bf9b45eed85022002ba9a85ed790fb476aa962e25b66274ea45d048488882b2e73ea7454f675b55012102a388c89237227180b451545caefaea459d945370b3f549b4ac9516bd76ca4fdeffffffff7c1a75b64337aa5fe997ba48619f10f7ec6cae56c5be626d75770fdd9c6ed072020000006b483045022100b3f5c8607bc5afc29bb686b7e117f9cbc1e6b9fa9b428b37ce68a126da60a4b302207def1c3f621346b9873d05dc88a35c1ebde7f0ba86e03accf6801e8248ba6b6301210298bedd607119094f9a26a848e31af05b89838bc3a660433aa84dc1a7dcefeedcffffffff015027eb0b000000001976a914984ed5645f267651c6c3d8bb0f3d398db8719ada88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n1RUohMJqvhJ23BajTur6iED1khTv3Vu3L\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 0,\n \"timestamp\": 1466680010,\n \"txid\": \"72d06e9cdd0f77756d62bec556ae6cecf7109f6148ba97e95faa3743b6751a7c\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"n1RUohMJqvhJ23BajTur6iED1khTv3Vu3L\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 1,\n \"timestamp\": 1466680010,\n \"txid\": \"72d06e9cdd0f77756d62bec556ae6cecf7109f6148ba97e95faa3743b6751a7c\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mjHwexqoaixwzZ589sNhrMjYoXqc14GUrx\",\n \"amount\": \"0.499859\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 2,\n \"timestamp\": 1466680010,\n \"txid\": \"72d06e9cdd0f77756d62bec556ae6cecf7109f6148ba97e95faa3743b6751a7c\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"muQHSfUfrSRj3raXfy7vK3M1PjhUFv7MY7\",\n \"amount\": \"1.999604\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"c181d9a957b4994d29bb80873bd17252821208fb028a58a1ab686725c90fdc17\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000255\",\n \"total_input\": \"1.999859\",\n \"total_output\": \"1.999604\",\n \"txid\": \"c181d9a957b4994d29bb80873bd17252821208fb028a58a1ab686725c90fdc17\"\n }\n}" } ] }, @@ -617,7 +617,7 @@ "curl": "curl -d'{\"method\": \"account_list\", \"params\": {\"include_claims\": false, \"show_seed\": false}}' http://localhost:5279/", "lbrynet": "lbrynet account list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_list\", \"params\": {\"include_claims\": false, \"show_seed\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 1\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"certificates\": 0,\n \"coins\": 10.0,\n \"encrypted\": false,\n \"id\": \"muNsgFBDV8aEGAnjyYrsFqVxAwfm6ArZki\",\n \"is_default\": true,\n \"ledger\": \"lbc_regtest\",\n \"name\": \"Account #muNsgFBDV8aEGAnjyYrsFqVxAwfm6ArZki\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WforGSt7otWNx3y8UBLo31vy79WW5KZFBiCzc2qwddwFd8vJwW4WrFavdYuh9mqUVN9aTdXsHt7wyWALSWyKD5xBacfmkey\",\n \"satoshis\": 1000000000\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 1\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"certificates\": 0,\n \"coins\": 10.0,\n \"encrypted\": false,\n \"id\": \"mrzHg1YBuCKP8sur6xbPxLWhbxnUWyRbJS\",\n \"is_default\": true,\n \"ledger\": \"lbc_regtest\",\n \"name\": \"Account #mrzHg1YBuCKP8sur6xbPxLWhbxnUWyRbJS\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YVivTVUeB3ixiyRM3B9NvhyvGg62oQAVVpEHRgfpz8KLyr3uUFpfPrU33CRqyo78LZwNUfir8rzVfAPFTg1WDJzZ5Fh3KXb\",\n \"satoshis\": 1000000000\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -662,10 +662,10 @@ "examples": [ { "title": "Remove an account", - "curl": "curl -d'{\"method\": \"account_remove\", \"params\": {\"account_id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\"}}' http://localhost:5279/", - "lbrynet": "lbrynet account remove mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_remove\", \"params\": {\"account_id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 1\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"encrypted\": false,\n \"id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1585619126.6978645,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPdc1QfujCWQi3eMZirADb4HEJxte6bkMcq37zFjGwfrLJhY9GR41xRLMk6MxTavsaqrhQfHgui4LX7Xo6dCbnU1xm3wozqui\",\n \"public_key\": \"tpubD6NzVbkrYhZ4X53CZZPnupNADP5f1VQVdaq6FQgQ22A1fXNkt86XrLxAsgsUTL8mpJyGM5j74y9jvuUutbBHs9hePn9yEcfw8ScBi4hYRhq\",\n \"seed\": \"list dignity illegal bonus bread apple change credit tape segment divorce suit\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_remove\", \"params\": {\"account_id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\"}}' http://localhost:5279/", + "lbrynet": "lbrynet account remove mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_remove\", \"params\": {\"account_id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 1\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"encrypted\": false,\n \"id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1586192012.151871,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPeZ2jjRP1MmbAgyDT4x7DNGXH7HBNgkdpxGtCXop1pbyNz98bm5BySBeibjVrwknk4fhYexfyX9HrJ3yA9Qi4NvL4drwekT1\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Y24Xd53bmBFHFzjPEHJ7wa84PoDg72SDnm8yACdc16bFAGPNHiKCdk4i1uKmKAGCcG2HicqsXtr7Aso7r7hLo2sxkCTcmm4\",\n \"seed\": \"curious marine amused appear title asset trip blood merge tomorrow useful above\"\n }\n}" } ] }, @@ -752,10 +752,10 @@ "examples": [ { "title": "Modify maximum number of times a change address can be reused", - "curl": "curl -d'{\"method\": \"account_set\", \"params\": {\"account_id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"default\": false, \"change_max_uses\": 10}}' http://localhost:5279/", - "lbrynet": "lbrynet account set mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB --change_max_uses=10", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_set\", \"params\": {\"account_id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\", \"default\": false, \"change_max_uses\": 10}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 10\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"encrypted\": false,\n \"id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1585619126.9740307,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPdc1QfujCWQi3eMZirADb4HEJxte6bkMcq37zFjGwfrLJhY9GR41xRLMk6MxTavsaqrhQfHgui4LX7Xo6dCbnU1xm3wozqui\",\n \"public_key\": \"tpubD6NzVbkrYhZ4X53CZZPnupNADP5f1VQVdaq6FQgQ22A1fXNkt86XrLxAsgsUTL8mpJyGM5j74y9jvuUutbBHs9hePn9yEcfw8ScBi4hYRhq\",\n \"seed\": \"list dignity illegal bonus bread apple change credit tape segment divorce suit\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_set\", \"params\": {\"account_id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"default\": false, \"change_max_uses\": 10}}' http://localhost:5279/", + "lbrynet": "lbrynet account set mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ --change_max_uses=10", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_set\", \"params\": {\"account_id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\", \"default\": false, \"change_max_uses\": 10}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"address_generator\": {\n \"change\": {\n \"gap\": 6,\n \"maximum_uses_per_address\": 10\n },\n \"name\": \"deterministic-chain\",\n \"receiving\": {\n \"gap\": 20,\n \"maximum_uses_per_address\": 1\n }\n },\n \"encrypted\": false,\n \"id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1586192012.4735982,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPeZ2jjRP1MmbAgyDT4x7DNGXH7HBNgkdpxGtCXop1pbyNz98bm5BySBeibjVrwknk4fhYexfyX9HrJ3yA9Qi4NvL4drwekT1\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Y24Xd53bmBFHFzjPEHJ7wa84PoDg72SDnm8yACdc16bFAGPNHiKCdk4i1uKmKAGCcG2HicqsXtr7Aso7r7hLo2sxkCTcmm4\",\n \"seed\": \"curious marine amused appear title asset trip blood merge tomorrow useful above\"\n }\n}" } ] } @@ -791,9 +791,9 @@ "examples": [ { "title": "Check if address is mine", - "curl": "curl -d'{\"method\": \"address_is_mine\", \"params\": {\"address\": \"n26Ruaur9Urn4jw5jrnav4shRsZt56bCVy\"}}' http://localhost:5279/", - "lbrynet": "lbrynet address is_mine n26Ruaur9Urn4jw5jrnav4shRsZt56bCVy", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_is_mine\", \"params\": {\"address\": \"n26Ruaur9Urn4jw5jrnav4shRsZt56bCVy\"}}).json()", + "curl": "curl -d'{\"method\": \"address_is_mine\", \"params\": {\"address\": \"msCScRqSj79yrnN9YnnFCUcciRNSHyxKU5\"}}' http://localhost:5279/", + "lbrynet": "lbrynet address is_mine msCScRqSj79yrnN9YnnFCUcciRNSHyxKU5", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_is_mine\", \"params\": {\"address\": \"msCScRqSj79yrnN9YnnFCUcciRNSHyxKU5\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": true\n}" } ] @@ -840,14 +840,14 @@ "curl": "curl -d'{\"method\": \"address_list\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet address list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_list\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mg2NERbtPAEA8C7ES2Rz4jdrrJiDCCdWmH\",\n \"pubkey\": \"tpubDA9GDAntyJu4at3suvUYotfBtxtiazhFD5Pogs6acYsWEbWaQWt4y8tqsrt5hXdo5S2X58amQ2McJfRYW2YSR8b52hjicdYvc2KYZ41Vb1X\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mgKiqvmz3wgJ2XgBigbVZiQ7VQ9LTjvvoj\",\n \"pubkey\": \"tpubDA9GDAntyJu4vg4ZF2xqV7Yt159uArMpcsQTTErYCdrS1wi6HhLWDDrV7EQiU96nrniLjGBHWM8jQpymT4c58bHFb7FgM6Bfqcso93iXpvj\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mgSfjS4VkrkFz3dEwy26DXezpetUN4oX4J\",\n \"pubkey\": \"tpubDA9GDAntyJu4KFBpzZG3NrPyugTy2zpXwXZi1mDpvwW4tfjtAgZZyJ2pjt395sB4FyW5SXHYrnuWyNK8rfECcH1enNs9Dnz6Mt9hyrPLvHD\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mgqeQ2stZJrPrWfpRTnxUJs5rfzuHeFphm\",\n \"pubkey\": \"tpubDA9GDAntyJu4hFaK3tfXbZPD5YEbz6k7RowjKgzjBBuhTZVPfeHfFw2NS2ZcpBvE6cTCrmXo5yJ3EDdFHjZM5LSpJCMwC2r7y3JrY1RCLeo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"miAQbjwqBsJCVwbBxY1VyQFh4HP1LGfk3F\",\n \"pubkey\": \"tpubDA9GDAntyJu4VqvoXeKr1SJNn7dncCgzcDycvNKYk86NhU785JHdBRqjsMtnGtc7JTWKRSkdpmdtPGozvLtiS5SCuJw69kqDYB1EFmDSXBQ\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"miwoedeKZncJhuw5kn6ecMm9P97QF21iGw\",\n \"pubkey\": \"tpubDA9GDAntyJu4U6GkK7hPQ2pdwatdFVjPsyPuPQapt6PsEAkSdGAFuJwXhzLYsp8eQSmUJLZR6WH95tezrGGeaH5XsZHaUssdeYRfswjNxyM\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mizmHkQq1XgNdq1WbTkMpkXYDD6tqfLD7b\",\n \"pubkey\": \"tpubDA9GDAntyJu4HhPBMBLfHfLbAW1NHiYHAnjoX1dv8fXqFb9497Cp8jxCaK2FTQJQyKUf7MFVsmJcBccBoLTKiFbcYDFZS8wmC5UKkj7gw6h\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mjiinNeUAhoYMqyQm4bUXAM2J4M2gaqbUd\",\n \"pubkey\": \"tpubDA9GDAntyJu4F8nKEdAUptDsLSctszvPq3egNzFRQqsZMpzid1AXGmyrjZN7UWNMwLkVGkrvvyUeFwhFfWv2Vz2Z5L3DEQj1To5xkrsnTtf\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mkPBRdjioKsGgEykieJMUUZd5NqEt6WrS7\",\n \"pubkey\": \"tpubDA9GDAntyJu4uGeMmv5WSkRM4YLmu9qQGjvVsw29FZ2v4VYiEBYyUbAstGJZPc9QXMeg91EUNRxc6SfjasZbhszZpZPGNMhyCd7dFGmUTwo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mkvHrPakuZ76fTy1fzAVMVXhXhbvkZ3GAG\",\n \"pubkey\": \"tpubDA9GDAntyJu4ME9SKj2EDughs9HkL7a2UffkzhDBscnrxq7GaqJ2h2CPmz2qG9XCMswsBjcaSnViy11YYeeUFoCEZUsNnK8VaykLxAEWy3A\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mm8513wykTEzgSAqBPtdq9Ai9qBDBn8nxN\",\n \"pubkey\": \"tpubDA9GDAntyJu4HgCM5xTNWezdF2P3a9iwQxoL43LLpKvieYmyN69LoNmCssgSL9KZAcwHExvRFraf6jMkyyhLegKxuzqixh1BaYWx8LjP69S\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mmSmRrq4CDj1VbENwN2ZjTqLusaY3Azfvn\",\n \"pubkey\": \"tpubDA9GDAntyJu524kbAUtS8d382CU1qzwPdmsGVHUKXmPYCBG9q6dryB71jc2kr9hkEwZ9pKJXb1v9ZrBPHs6uQZD7pp78pvKT2MqQobyAQvd\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mnJoKk2k9S48448KS6eTiM4tzuQizvBV9F\",\n \"pubkey\": \"tpubDA9GDAntyJu4QZ3bdmza9KmF7oeXgfeR8JTkueLM7irJzQH4TqcMWRG7G9azn4g3B45G4jHt6un4wzkkBWDaCGnSpDevuh1UTLLtqSdnisy\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"moFuZSjjwQCTVfJ3e57QKGUCyTUPxaC12D\",\n \"pubkey\": \"tpubDA9GDAntyJu54KK3mRquWYGRqge5C1B3nFVTDw7aucaQL3bTh5sdRjkCREkQLYf8Ky1kvgrnDq7n27Ve23AGh1zVmEVwPTz7LBDQHqTmM7h\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"moJxiemXwfZ1hEDZHrn1o7Mfq4CNi1m9Ns\",\n \"pubkey\": \"tpubDA9GDAntyJu4rANpygzqjNSfTkncdqAfVYJxfKfgv6A7yGZ4dfNASsrP4VaSctFZ45cQDqR8CThYeFGtAFM3VWABy7aGYPRtHsC5gGQU5KX\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mpN4nJ92JJ4bD3VuUK43xRmQrF6i4qMgQt\",\n \"pubkey\": \"tpubDA9GDAntyJu4QS4bLXoezLnzqW8tTZQijhv9e3RR1uLXVrd7vR5nj1kdp4riengATZrAtL5f4F8wU4U6dPBw9uzGD54f6SFCmHD3MgA1JZn\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mpSRtWkpqpFx7er7WLht7TtinwkwA333Et\",\n \"pubkey\": \"tpubDA9GDAntyJu4zK5U61UpMDKCpZxM3QZJaivcRAneNz727sSFjkxroaM8uuKvu6rDE2HHxCwepsB6XPRwu1qxRvwb7eeU8oD2cXtcDXusMSA\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mpyJHWXkHT6DeYywY8QPERuHNWRAfQdDqq\",\n \"pubkey\": \"tpubDA9GDAntyJu4nrqEVq2Wjjo8PvKtNtdUE8Z4MfESkCTAtuyCBnXzEgvsafSZHatxVop6KFR9etdLQgGwWKR4G6oj8v1QyKjKbRMbxkadwvo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mrX24nUWrYRyS9Ga9x37vdHGn9rDfwdzp4\",\n \"pubkey\": \"tpubDA9GDAntyJu4YqyKxxSxJKHPyxqyqae16JC2XqevAE5pPPGB9Tz2ysrcebRCHXDc7pDEiWxRa75hscHgd917HdBXE6hcg7wZ54D1vivmB7D\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"ms9VPsDDLSnjF7hfdvLi7yRgKBkehFYgR9\",\n \"pubkey\": \"tpubDA9GDAntyJu4NoTVLeq2xRUgwbu5cw4m62DeJZz1EryENnn4nwRpG3Fyk6TqVRRbzZ6kZeY8Sv7YsqVZMisR4rYinJY3sMEXuwrd9E6mGr1\",\n \"used_times\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 53,\n \"total_pages\": 3\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mgNMjQVKcqqqyReNgdXaUNA2SsJUrgkexs\",\n \"pubkey\": \"tpubDA9GDAntyJu4E2ELboeDG8SejZxX8kwqhToug3fLwDbwjZjnRegpAx9NeBpKDCJYCb3CtyQid9fWJqQ4HwvNbjo36N9LDiU1g6hsevBMvjg\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mgYZnVBuFN2E8oxtVAe5H8tvWVGvYCb13Q\",\n \"pubkey\": \"tpubDA9GDAntyJu4mJZcpCRdYLDfsCs8wvvYcfRzoappu8AHxZ2Et9C7kDwJstrfT99aeZ1JWD8e2uW6XNV4TavMoVvw2XuYX3gYnone4WTQrE8\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mhyLhRL8fzhQse22hDnzE8DXUGT64DQDST\",\n \"pubkey\": \"tpubDA9GDAntyJu4Rc7gjGEM2XfuSgzbHSt72Pssbh8ZYboizGhBD8n2HuzxsLYnXhfgWfaQyLCW2cCbNkzoRdvoXGBd7fLQ28dFpUmKRNTshxV\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"miExorVLEBkxgredhL68fzyanUnUCnR8dd\",\n \"pubkey\": \"tpubDA9GDAntyJu4sRMTnJmAGgBoM1fM72WVGf9Yzj1eYVdhTZ3KHruAinqP3erfjWLb2Prr9Ry3hRX63D76iEMaxPW2rfWyejJxHySjG78YiLs\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mihYvvNZxYgSdvuC6qK2sGZU1UHzmCo1GV\",\n \"pubkey\": \"tpubDA9GDAntyJu4yGgZ5W3798PE45nqMK1JAepDXWGKXHsqKnEtRb2Apxx5t1E4dpj5bfYfGTE39b93CNixcqu6N56rvBpfshCeVeMmrUKGBSE\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mjHwexqoaixwzZ589sNhrMjYoXqc14GUrx\",\n \"pubkey\": \"tpubDA9GDAntyJu4TVAzFEmpVgSnn9qhD58Bie3AgBaETcrVKMa1GLrgSCbtUztDditGxYDpRBz7EwiSZgghgQdTNTNVhhmmsJzR5chBVfQw8qd\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mkwWdzRkmMKS1WiWEBeDNXNfVF8jqy7heJ\",\n \"pubkey\": \"tpubDA9GDAntyJu4VBBpH5dhCbFM5HKSJXMLms5TPBjWsW7oYKgzLMJHCc6WchikWZu3mVoEe1LVrtWZjLP7ptB1UNxdiLcbhJUHKiBqvfp6AqE\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mmcVef8uHH5aSH87FKYAe6W2bP21ZiRt4C\",\n \"pubkey\": \"tpubDA9GDAntyJu4MbQPSPd47BHLNGwxmb69NNUhiREftRbQDXszwTRDTKTZksWS2gFWGAKwwN49vi842USGJnnW5UR64DzD334eME5KLv3CAjN\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mntCzmJ4SPcpquSFYPPGTPArAPSayP6WYj\",\n \"pubkey\": \"tpubDA9GDAntyJu4Guw6dvdUELkhWJHzbnkbvX2szKYhn69NWn7dmqWHQoeaKT189cXVy9SxpNTr22qtS6RnKfu1P3QxcMCFQESexAs6PtytE4t\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mpBQ2ivLgojdjtUCWwsZmcxiaDWqLSQrRY\",\n \"pubkey\": \"tpubDA9GDAntyJu4wg8aeq15jNBvNRYAz4QKRkid2iYQffxGrNxKv1BPjcKoUW3SCdwg8e9HNejt2aKuvB94swxqBP17QDVmdwPhYb7EwqfK2Qz\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mphM6AoU31CKt3vZmQCjsmfZh7Cb9nqyPo\",\n \"pubkey\": \"tpubDA9GDAntyJu52EqQNQAg7K5AaLeb1vR9djGQkkBrpvq1AhUBHEKrm3s3ZSLc5qqscoEu8zKMnM11dtNc1DUNk9etWbWLmfh8V6gjv1huRYQ\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mqA1X1B8euwQ3K9GQSEUdZhwqXz8mPfkt2\",\n \"pubkey\": \"tpubDA9GDAntyJu4NdFttokyHiD44NvHrWcL4D64BACSNVWPrzocQYpRHvgudq9BRCcyzQFFBmAKyT353TwJbjLU74Qu3HZPsAGjQGYujv7sNh7\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mqULC1YA3wMv2pNg3A9xd45ZJnsty6EHGc\",\n \"pubkey\": \"tpubDA9GDAntyJu56YggSz4BALqSnc99Mb4FtHK96MSUA1MEaHVSaRTnA3b2XkAL2H5MYx4pVHmbi7HS5u4wvLQ9Sbz19Xb6cA3ogr8J16Mg2F2\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mrQxfPnnJ2xyLqYje5iHV6xvJrNw6hF1Fz\",\n \"pubkey\": \"tpubDA9GDAntyJu4MSnaQFwDVX41eSk7JvJNZqdySuoPqML89hMsSxTZisnr1FevGRU66sCoNRNAHXKgmhGTdtR3mV88cZGpfUrp9m4umMaEzze\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mrU23UwMzBKYfNS5jhNgHdJvSqb2aw6Qh8\",\n \"pubkey\": \"tpubDA9GDAntyJu4jHzTCok5iKVVjPb9tuPabo3VZ4bLuPkyDKxEyJmvTKXkZCU7MfKfjniqSjCneLi7SgAxqg5Wd3KZQQktB4u7Vfp5TrooELR\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mrppmRnkw5TLZ1KPQ9aE4MT7WTMhVfpT75\",\n \"pubkey\": \"tpubDA9GDAntyJu4ES8UAvseLKJ6TeZ9uhyh8M4u6FUKr6gVjxSxotAegGboLRXJ8AkRnHd9zEu84rVj6fZUaf2pjoHHZ6H8Xnwf2FM1cv8U7BM\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mtuyKvRqkV3r6d2gP4TKpF62c169Mt66u2\",\n \"pubkey\": \"tpubDA9GDAntyJu4ohUfMaMfHKoWM6WM2xBWYtTupf8MWbDDywbSFrj8PhDKuprg3x4qXkvxCKwFw3MBT28q7TD1RC3JrfDBQkBSQYByQwCK542\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mu9iDsuDz3b9DQmQkgyrzTtmeSPzDij9JW\",\n \"pubkey\": \"tpubDA9GDAntyJu4Svu4aKbHHhxMuzAejChAD6heQiqLTeVAdDNDt9u6ja2CCSm5CZpxjFgLqQikcPfigdrxWuFW7ePTZEPLqMY2UQg3NbXiqZL\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mvZavf3jRP1xBH9vgagrxZVEHf9W8t1PUN\",\n \"pubkey\": \"tpubDA9GDAntyJu4ZC1VdMEeL3LNgoPXf9JA2heUmzZd9ZQ5BJvptyPPZnH7U6sew543CYvazSpWV3gL7LmWBsVSbmxdpFr8DZ7WrVGDBLHFVCo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mwV5VanLio7X1BvPHtfj6uwVsJeBMiQddS\",\n \"pubkey\": \"tpubDA9GDAntyJu4Kh8rUnaUZKLEWfRkAyT76KCU5hN7B78msZte7oXTUGo84p8qwv4cwmYgpHQXy158hsPxVbtRZKqzuTodactaAYNBTosMMRZ\",\n \"used_times\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 53,\n \"total_pages\": 3\n }\n}" }, { "title": "List addresses in specified account", - "curl": "curl -d'{\"method\": \"address_list\", \"params\": {\"account_id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\"}}' http://localhost:5279/", - "lbrynet": "lbrynet address list --account_id=\"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_list\", \"params\": {\"account_id\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mg2NERbtPAEA8C7ES2Rz4jdrrJiDCCdWmH\",\n \"pubkey\": \"tpubDA9GDAntyJu4at3suvUYotfBtxtiazhFD5Pogs6acYsWEbWaQWt4y8tqsrt5hXdo5S2X58amQ2McJfRYW2YSR8b52hjicdYvc2KYZ41Vb1X\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mgKiqvmz3wgJ2XgBigbVZiQ7VQ9LTjvvoj\",\n \"pubkey\": \"tpubDA9GDAntyJu4vg4ZF2xqV7Yt159uArMpcsQTTErYCdrS1wi6HhLWDDrV7EQiU96nrniLjGBHWM8jQpymT4c58bHFb7FgM6Bfqcso93iXpvj\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mgSfjS4VkrkFz3dEwy26DXezpetUN4oX4J\",\n \"pubkey\": \"tpubDA9GDAntyJu4KFBpzZG3NrPyugTy2zpXwXZi1mDpvwW4tfjtAgZZyJ2pjt395sB4FyW5SXHYrnuWyNK8rfECcH1enNs9Dnz6Mt9hyrPLvHD\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mgqeQ2stZJrPrWfpRTnxUJs5rfzuHeFphm\",\n \"pubkey\": \"tpubDA9GDAntyJu4hFaK3tfXbZPD5YEbz6k7RowjKgzjBBuhTZVPfeHfFw2NS2ZcpBvE6cTCrmXo5yJ3EDdFHjZM5LSpJCMwC2r7y3JrY1RCLeo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"miAQbjwqBsJCVwbBxY1VyQFh4HP1LGfk3F\",\n \"pubkey\": \"tpubDA9GDAntyJu4VqvoXeKr1SJNn7dncCgzcDycvNKYk86NhU785JHdBRqjsMtnGtc7JTWKRSkdpmdtPGozvLtiS5SCuJw69kqDYB1EFmDSXBQ\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"miwoedeKZncJhuw5kn6ecMm9P97QF21iGw\",\n \"pubkey\": \"tpubDA9GDAntyJu4U6GkK7hPQ2pdwatdFVjPsyPuPQapt6PsEAkSdGAFuJwXhzLYsp8eQSmUJLZR6WH95tezrGGeaH5XsZHaUssdeYRfswjNxyM\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mizmHkQq1XgNdq1WbTkMpkXYDD6tqfLD7b\",\n \"pubkey\": \"tpubDA9GDAntyJu4HhPBMBLfHfLbAW1NHiYHAnjoX1dv8fXqFb9497Cp8jxCaK2FTQJQyKUf7MFVsmJcBccBoLTKiFbcYDFZS8wmC5UKkj7gw6h\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mjiinNeUAhoYMqyQm4bUXAM2J4M2gaqbUd\",\n \"pubkey\": \"tpubDA9GDAntyJu4F8nKEdAUptDsLSctszvPq3egNzFRQqsZMpzid1AXGmyrjZN7UWNMwLkVGkrvvyUeFwhFfWv2Vz2Z5L3DEQj1To5xkrsnTtf\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mkPBRdjioKsGgEykieJMUUZd5NqEt6WrS7\",\n \"pubkey\": \"tpubDA9GDAntyJu4uGeMmv5WSkRM4YLmu9qQGjvVsw29FZ2v4VYiEBYyUbAstGJZPc9QXMeg91EUNRxc6SfjasZbhszZpZPGNMhyCd7dFGmUTwo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mkvHrPakuZ76fTy1fzAVMVXhXhbvkZ3GAG\",\n \"pubkey\": \"tpubDA9GDAntyJu4ME9SKj2EDughs9HkL7a2UffkzhDBscnrxq7GaqJ2h2CPmz2qG9XCMswsBjcaSnViy11YYeeUFoCEZUsNnK8VaykLxAEWy3A\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mm8513wykTEzgSAqBPtdq9Ai9qBDBn8nxN\",\n \"pubkey\": \"tpubDA9GDAntyJu4HgCM5xTNWezdF2P3a9iwQxoL43LLpKvieYmyN69LoNmCssgSL9KZAcwHExvRFraf6jMkyyhLegKxuzqixh1BaYWx8LjP69S\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mmSmRrq4CDj1VbENwN2ZjTqLusaY3Azfvn\",\n \"pubkey\": \"tpubDA9GDAntyJu524kbAUtS8d382CU1qzwPdmsGVHUKXmPYCBG9q6dryB71jc2kr9hkEwZ9pKJXb1v9ZrBPHs6uQZD7pp78pvKT2MqQobyAQvd\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mnJoKk2k9S48448KS6eTiM4tzuQizvBV9F\",\n \"pubkey\": \"tpubDA9GDAntyJu4QZ3bdmza9KmF7oeXgfeR8JTkueLM7irJzQH4TqcMWRG7G9azn4g3B45G4jHt6un4wzkkBWDaCGnSpDevuh1UTLLtqSdnisy\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"moFuZSjjwQCTVfJ3e57QKGUCyTUPxaC12D\",\n \"pubkey\": \"tpubDA9GDAntyJu54KK3mRquWYGRqge5C1B3nFVTDw7aucaQL3bTh5sdRjkCREkQLYf8Ky1kvgrnDq7n27Ve23AGh1zVmEVwPTz7LBDQHqTmM7h\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"moJxiemXwfZ1hEDZHrn1o7Mfq4CNi1m9Ns\",\n \"pubkey\": \"tpubDA9GDAntyJu4rANpygzqjNSfTkncdqAfVYJxfKfgv6A7yGZ4dfNASsrP4VaSctFZ45cQDqR8CThYeFGtAFM3VWABy7aGYPRtHsC5gGQU5KX\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mpN4nJ92JJ4bD3VuUK43xRmQrF6i4qMgQt\",\n \"pubkey\": \"tpubDA9GDAntyJu4QS4bLXoezLnzqW8tTZQijhv9e3RR1uLXVrd7vR5nj1kdp4riengATZrAtL5f4F8wU4U6dPBw9uzGD54f6SFCmHD3MgA1JZn\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mpSRtWkpqpFx7er7WLht7TtinwkwA333Et\",\n \"pubkey\": \"tpubDA9GDAntyJu4zK5U61UpMDKCpZxM3QZJaivcRAneNz727sSFjkxroaM8uuKvu6rDE2HHxCwepsB6XPRwu1qxRvwb7eeU8oD2cXtcDXusMSA\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mpyJHWXkHT6DeYywY8QPERuHNWRAfQdDqq\",\n \"pubkey\": \"tpubDA9GDAntyJu4nrqEVq2Wjjo8PvKtNtdUE8Z4MfESkCTAtuyCBnXzEgvsafSZHatxVop6KFR9etdLQgGwWKR4G6oj8v1QyKjKbRMbxkadwvo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"mrX24nUWrYRyS9Ga9x37vdHGn9rDfwdzp4\",\n \"pubkey\": \"tpubDA9GDAntyJu4YqyKxxSxJKHPyxqyqae16JC2XqevAE5pPPGB9Tz2ysrcebRCHXDc7pDEiWxRa75hscHgd917HdBXE6hcg7wZ54D1vivmB7D\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnU5HSxQS2e1ZMt9AMRj6BzUhjCk8b46GB\",\n \"address\": \"ms9VPsDDLSnjF7hfdvLi7yRgKBkehFYgR9\",\n \"pubkey\": \"tpubDA9GDAntyJu4NoTVLeq2xRUgwbu5cw4m62DeJZz1EryENnn4nwRpG3Fyk6TqVRRbzZ6kZeY8Sv7YsqVZMisR4rYinJY3sMEXuwrd9E6mGr1\",\n \"used_times\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 26,\n \"total_pages\": 2\n }\n}" + "curl": "curl -d'{\"method\": \"address_list\", \"params\": {\"account_id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\"}}' http://localhost:5279/", + "lbrynet": "lbrynet address list --account_id=\"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_list\", \"params\": {\"account_id\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mgNMjQVKcqqqyReNgdXaUNA2SsJUrgkexs\",\n \"pubkey\": \"tpubDA9GDAntyJu4E2ELboeDG8SejZxX8kwqhToug3fLwDbwjZjnRegpAx9NeBpKDCJYCb3CtyQid9fWJqQ4HwvNbjo36N9LDiU1g6hsevBMvjg\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mgYZnVBuFN2E8oxtVAe5H8tvWVGvYCb13Q\",\n \"pubkey\": \"tpubDA9GDAntyJu4mJZcpCRdYLDfsCs8wvvYcfRzoappu8AHxZ2Et9C7kDwJstrfT99aeZ1JWD8e2uW6XNV4TavMoVvw2XuYX3gYnone4WTQrE8\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mhyLhRL8fzhQse22hDnzE8DXUGT64DQDST\",\n \"pubkey\": \"tpubDA9GDAntyJu4Rc7gjGEM2XfuSgzbHSt72Pssbh8ZYboizGhBD8n2HuzxsLYnXhfgWfaQyLCW2cCbNkzoRdvoXGBd7fLQ28dFpUmKRNTshxV\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"miExorVLEBkxgredhL68fzyanUnUCnR8dd\",\n \"pubkey\": \"tpubDA9GDAntyJu4sRMTnJmAGgBoM1fM72WVGf9Yzj1eYVdhTZ3KHruAinqP3erfjWLb2Prr9Ry3hRX63D76iEMaxPW2rfWyejJxHySjG78YiLs\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mihYvvNZxYgSdvuC6qK2sGZU1UHzmCo1GV\",\n \"pubkey\": \"tpubDA9GDAntyJu4yGgZ5W3798PE45nqMK1JAepDXWGKXHsqKnEtRb2Apxx5t1E4dpj5bfYfGTE39b93CNixcqu6N56rvBpfshCeVeMmrUKGBSE\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mjHwexqoaixwzZ589sNhrMjYoXqc14GUrx\",\n \"pubkey\": \"tpubDA9GDAntyJu4TVAzFEmpVgSnn9qhD58Bie3AgBaETcrVKMa1GLrgSCbtUztDditGxYDpRBz7EwiSZgghgQdTNTNVhhmmsJzR5chBVfQw8qd\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mkwWdzRkmMKS1WiWEBeDNXNfVF8jqy7heJ\",\n \"pubkey\": \"tpubDA9GDAntyJu4VBBpH5dhCbFM5HKSJXMLms5TPBjWsW7oYKgzLMJHCc6WchikWZu3mVoEe1LVrtWZjLP7ptB1UNxdiLcbhJUHKiBqvfp6AqE\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mmcVef8uHH5aSH87FKYAe6W2bP21ZiRt4C\",\n \"pubkey\": \"tpubDA9GDAntyJu4MbQPSPd47BHLNGwxmb69NNUhiREftRbQDXszwTRDTKTZksWS2gFWGAKwwN49vi842USGJnnW5UR64DzD334eME5KLv3CAjN\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mntCzmJ4SPcpquSFYPPGTPArAPSayP6WYj\",\n \"pubkey\": \"tpubDA9GDAntyJu4Guw6dvdUELkhWJHzbnkbvX2szKYhn69NWn7dmqWHQoeaKT189cXVy9SxpNTr22qtS6RnKfu1P3QxcMCFQESexAs6PtytE4t\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mpBQ2ivLgojdjtUCWwsZmcxiaDWqLSQrRY\",\n \"pubkey\": \"tpubDA9GDAntyJu4wg8aeq15jNBvNRYAz4QKRkid2iYQffxGrNxKv1BPjcKoUW3SCdwg8e9HNejt2aKuvB94swxqBP17QDVmdwPhYb7EwqfK2Qz\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mphM6AoU31CKt3vZmQCjsmfZh7Cb9nqyPo\",\n \"pubkey\": \"tpubDA9GDAntyJu52EqQNQAg7K5AaLeb1vR9djGQkkBrpvq1AhUBHEKrm3s3ZSLc5qqscoEu8zKMnM11dtNc1DUNk9etWbWLmfh8V6gjv1huRYQ\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mqA1X1B8euwQ3K9GQSEUdZhwqXz8mPfkt2\",\n \"pubkey\": \"tpubDA9GDAntyJu4NdFttokyHiD44NvHrWcL4D64BACSNVWPrzocQYpRHvgudq9BRCcyzQFFBmAKyT353TwJbjLU74Qu3HZPsAGjQGYujv7sNh7\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mqULC1YA3wMv2pNg3A9xd45ZJnsty6EHGc\",\n \"pubkey\": \"tpubDA9GDAntyJu56YggSz4BALqSnc99Mb4FtHK96MSUA1MEaHVSaRTnA3b2XkAL2H5MYx4pVHmbi7HS5u4wvLQ9Sbz19Xb6cA3ogr8J16Mg2F2\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mrQxfPnnJ2xyLqYje5iHV6xvJrNw6hF1Fz\",\n \"pubkey\": \"tpubDA9GDAntyJu4MSnaQFwDVX41eSk7JvJNZqdySuoPqML89hMsSxTZisnr1FevGRU66sCoNRNAHXKgmhGTdtR3mV88cZGpfUrp9m4umMaEzze\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mrU23UwMzBKYfNS5jhNgHdJvSqb2aw6Qh8\",\n \"pubkey\": \"tpubDA9GDAntyJu4jHzTCok5iKVVjPb9tuPabo3VZ4bLuPkyDKxEyJmvTKXkZCU7MfKfjniqSjCneLi7SgAxqg5Wd3KZQQktB4u7Vfp5TrooELR\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mrppmRnkw5TLZ1KPQ9aE4MT7WTMhVfpT75\",\n \"pubkey\": \"tpubDA9GDAntyJu4ES8UAvseLKJ6TeZ9uhyh8M4u6FUKr6gVjxSxotAegGboLRXJ8AkRnHd9zEu84rVj6fZUaf2pjoHHZ6H8Xnwf2FM1cv8U7BM\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mtuyKvRqkV3r6d2gP4TKpF62c169Mt66u2\",\n \"pubkey\": \"tpubDA9GDAntyJu4ohUfMaMfHKoWM6WM2xBWYtTupf8MWbDDywbSFrj8PhDKuprg3x4qXkvxCKwFw3MBT28q7TD1RC3JrfDBQkBSQYByQwCK542\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mu9iDsuDz3b9DQmQkgyrzTtmeSPzDij9JW\",\n \"pubkey\": \"tpubDA9GDAntyJu4Svu4aKbHHhxMuzAejChAD6heQiqLTeVAdDNDt9u6ja2CCSm5CZpxjFgLqQikcPfigdrxWuFW7ePTZEPLqMY2UQg3NbXiqZL\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mvZavf3jRP1xBH9vgagrxZVEHf9W8t1PUN\",\n \"pubkey\": \"tpubDA9GDAntyJu4ZC1VdMEeL3LNgoPXf9JA2heUmzZd9ZQ5BJvptyPPZnH7U6sew543CYvazSpWV3gL7LmWBsVSbmxdpFr8DZ7WrVGDBLHFVCo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mhpDAQhU25jPcBFUcDZRgWmRSyPVrWJTWJ\",\n \"address\": \"mwV5VanLio7X1BvPHtfj6uwVsJeBMiQddS\",\n \"pubkey\": \"tpubDA9GDAntyJu4Kh8rUnaUZKLEWfRkAyT76KCU5hN7B78msZte7oXTUGo84p8qwv4cwmYgpHQXy158hsPxVbtRZKqzuTodactaAYNBTosMMRZ\",\n \"used_times\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 26,\n \"total_pages\": 2\n }\n}" } ] }, @@ -875,7 +875,7 @@ "curl": "curl -d'{\"method\": \"address_unused\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet address unused", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_unused\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"n26Ruaur9Urn4jw5jrnav4shRsZt56bCVy\"\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"msCScRqSj79yrnN9YnnFCUcciRNSHyxKU5\"\n}" } ] } @@ -925,10 +925,10 @@ "examples": [ { "title": "Delete a blob", - "curl": "curl -d'{\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\"}}' http://localhost:5279/", - "lbrynet": "lbrynet blob delete 63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"Deleted 63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\"\n}" + "curl": "curl -d'{\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280\"}}' http://localhost:5279/", + "lbrynet": "lbrynet blob delete 842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"Deleted 842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280\"\n}" } ] }, @@ -1006,7 +1006,7 @@ "curl": "curl -d'{\"method\": \"blob_list\", \"params\": {\"needed\": false, \"finished\": false}}' http://localhost:5279/", "lbrynet": "lbrynet blob list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"blob_list\", \"params\": {\"needed\": false, \"finished\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"0cef3e461b5a2f4f1bbf009a852659ccb754a8a2da39cdee3e92543535af1c2bd600ea65446072b305b499d3555b6737\",\n \"273e718afaa2a7fb5ccdf3d14e63e81c6a2359deaa1bcc5e6d6bfded7f91157badab2f56e3bdd433f96292658b2c763e\",\n \"bac3bf82dd819d7d635e0b7e7e67a931ffb1510a33ec2226b850a107a9b31d63e43b96ccfe906e73d122845a84d4baf8\"\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 4,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n \"842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280\",\n \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"b1427d43847b8fbd04100d01ccd42198d5ce499f2c7ac1b96085cca4e45ce0dec6144270874b091401ebbf154f5062f6\",\n \"45fe2e67e84026fa7f24f596e3c16817bd093c4944ffc76ae25d6a69a613a7a1959e639c11d5871453c872dd5b75bedd\"\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 4,\n \"total_pages\": 1\n }\n}" } ] }, @@ -1087,10 +1087,10 @@ "examples": [ { "title": "Abandon a channel claim", - "curl": "curl -d'{\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet channel abandon 304613c5db3e0439d3aeac2183296aaeaf49a328", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\", \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c3fa1809f13a5b160c6136e759e32cd6d8d0ef309d566c7cf8ff1074be1c4e1b000000006b4830450221009fec41103c3464a08d98b8e177ae35e4b6549a5f532ddb70246bdd3010aac75902207c06d1c511beb95f7a0fcd773ded1248e3e1f42491cef9eba3328d6beb8850ba012102e8e98ecb426bb86ecb8217a04d1e6224ea49d619c19350da6e50f7a1f76ab3a5ffffffff0134b7f505000000001976a91481e88231b34fdf9914e77f7baeb3be6af516fb7788ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"msMqzn8MYsBoKJAALBVAuiMZ3H87RWfen2\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": 1466646266,\n \"txid\": \"7b84fd4b4f83ab0734ba6c216e9272787b9ff90141aede9f926515bb563aa28e\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"7b84fd4b4f83ab0734ba6c216e9272787b9ff90141aede9f926515bb563aa28e\"\n }\n}" + "curl": "curl -d'{\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet channel abandon d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\", \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c392962a69c3942bb8f5c68884f4e9031ff3abafd984fad14cd2c30d0362b7dc000000006a473044022031772dad8d97cb3ccdd1ad8f872c6fb146b1c7e94a57662fdcc540b3c1b8dc9b02203679b84273ba5e5e4506caee91df6107a782b8b624dbd642403497d1fa47fb8501210252c26cef70338437b7e0c44ba72581b44c635fff12e83ab7f2677cdc25fab6a3ffffffff0134b7f505000000001976a914c0c0d3711c6f1bf1735a18d8e7db55715ea1cd3988ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"my692fdxxRGzWrMMPrNcoS6NRf7y8fkJjF\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"f6dd7e31b9c3b24e6fc16718045ea048c75d9cde1a9405c1bb56bac2844e0dcb\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"f6dd7e31b9c3b24e6fc16718045ea048c75d9cde1a9405c1bb56bac2844e0dcb\"\n }\n}" } ] }, @@ -1220,14 +1220,14 @@ "curl": "curl -d'{\"method\": \"channel_create\", \"params\": {\"name\": \"@channel\", \"bid\": \"1.0\", \"featured\": [], \"tags\": [], \"languages\": [], \"locations\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", "lbrynet": "lbrynet channel create @channel 1.0", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_create\", \"params\": {\"name\": \"@channel\", \"bid\": \"1.0\", \"featured\": [], \"tags\": [], \"languages\": [], \"locations\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000018b2696ad1143df1ec2e29474867d5c7d521a0f2f4af1fc2967577d8a1c7303de010000006a473044022004a59dffc4b9dc47a8c6b5d88aac2ec5280a9ed9180960a8fdb9b0aa06ab9db502206308904bef9e34afde0fd5eaa36ea28827634bbd179cb89bcead7cb2fcdb966a012102f699883d795469b9983e6d9353dcfca47a2e2cb05e6ce427731090a902b1e6c2ffffffff0200e1f5050000000084b508406368616e6e656c4c5d00125a0a583056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c6386d7576a9144887901f6fc283acfbadc1b194e042ad19145ebd88acc462a029000000001976a914e7e11b1e988a86f680f5968df5b449822c0e497188ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mz5KdgkPjuzRAnBuivAdfeg49qMuvSNPMo\",\n \"amount\": \"7.999876\",\n \"confirmations\": 2,\n \"height\": 207,\n \"is_spent\": false,\n \"nout\": 1,\n \"timestamp\": 1466679849,\n \"txid\": \"de03731c8a7d576729fcf14a2f0f1a527d5c7d867494e2c21edf4311ad96268b\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"has_signing_key\": true,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466646266,\n \"txid\": \"6093877c7f4a7d662480afd9d63affdefa9bc0949cc4d22ae4cd5fac8d3af8a1\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"n2f241395dLShG7ccmpZKUSfR7YFitLnbr\",\n \"amount\": \"6.983769\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"6093877c7f4a7d662480afd9d63affdefa9bc0949cc4d22ae4cd5fac8d3af8a1\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.016107\",\n \"total_input\": \"7.999876\",\n \"total_output\": \"7.983769\",\n \"txid\": \"6093877c7f4a7d662480afd9d63affdefa9bc0949cc4d22ae4cd5fac8d3af8a1\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c80196aa86e842d703c0fdfa93e8b90eae35702e62a38598313d10aa873ec0eb010000006b483045022100801cb0147bdcd8b132053f07bdabea5c8de5ae7e671ed2865d0221c5cac6f1ed02202b1342331340964bab194f8514ef3ea500a82b01d6a0bcbcda3a0a53b558aaa2012103e7e68cee927803690638a1bfead6b155a684ca709a9b2eb7ed663c1c6e8f43e9ffffffff0200e1f5050000000084b508406368616e6e656c4c5d00125a0a583056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c6d7576a914217c36c07e974d7a40b499b6cef2552598e2fa6588acc462a029000000001976a914984ed5645f267651c6c3d8bb0f3d398db8719ada88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mz546qPyqGArpMv4SxLmgH5zEsP86tHjRA\",\n \"amount\": \"7.999876\",\n \"confirmations\": 2,\n \"height\": 207,\n \"nout\": 1,\n \"timestamp\": 1466679849,\n \"txid\": \"ebc03e87aa103d319885a3622e7035ae0eb9e893fafdc003d742e886aa9601c8\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"has_signing_key\": true,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": null,\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"muQHSfUfrSRj3raXfy7vK3M1PjhUFv7MY7\",\n \"amount\": \"6.983769\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.016107\",\n \"total_input\": \"7.999876\",\n \"total_output\": \"7.983769\",\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\"\n }\n}" }, { "title": "Create a channel claim with all metadata", "curl": "curl -d'{\"method\": \"channel_create\", \"params\": {\"name\": \"@bigchannel\", \"bid\": \"1.0\", \"title\": \"Big Channel\", \"description\": \"A channel with lots of videos.\", \"email\": \"creator@smallmedia.com\", \"website_url\": \"http://smallmedia.com\", \"featured\": [], \"tags\": [\"music\", \"art\"], \"languages\": [\"pt-BR\", \"uk\"], \"locations\": [\"BR\", \"UA::Kiyv\"], \"thumbnail_url\": \"http://smallmedia.com/logo.jpg\", \"cover_url\": \"http://smallmedia.com/logo.jpg\", \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", "lbrynet": "lbrynet channel create @bigchannel 1.0 --title=\"Big Channel\" --description=\"A channel with lots of videos.\" --email=\"creator@smallmedia.com\" --tags=music --tags=art --languages=pt-BR --languages=uk --locations=BR --locations=UA::Kiyv --website_url=\"http://smallmedia.com\" --thumbnail_url=\"http://smallmedia.com/logo.jpg\" --cover_url=\"http://smallmedia.com/logo.jpg\"", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_create\", \"params\": {\"name\": \"@bigchannel\", \"bid\": \"1.0\", \"title\": \"Big Channel\", \"description\": \"A channel with lots of videos.\", \"email\": \"creator@smallmedia.com\", \"website_url\": \"http://smallmedia.com\", \"featured\": [], \"tags\": [\"music\", \"art\"], \"languages\": [\"pt-BR\", \"uk\"], \"locations\": [\"BR\", \"UA::Kiyv\"], \"thumbnail_url\": \"http://smallmedia.com/logo.jpg\", \"cover_url\": \"http://smallmedia.com/logo.jpg\", \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c3fa1809f13a5b160c6136e759e32cd6d8d0ef309d566c7cf8ff1074be1c4e1b010000006a473044022051d1cfde99a9c5ba28d06326f44d6057a03f05beb991a1db9b0045a10d083260022066c6b2129f93a74501c6dc1fd5795d59125351f3906ee1af25d7a622c6e912cc012103e46bef23d6732bd2fc783da723bd296b765ac47cbe64a269b78d076d8ffecc0fffffffff0200e1f50500000000fd5001b50b406269676368616e6e656c4d25010012ab010a583056301006072a8648ce3d020106052b8104000a034200040c0776ef3c7bd287c6c7f252edd4aa950ee40107df604adad221058ba757577328a99d2284f60522b85e08e6e4600df8f86a2d285928bfd04c7ab7447e6c7b80121663726561746f7240736d616c6c6d656469612e636f6d1a15687474703a2f2f736d616c6c6d656469612e636f6d22202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a7067420b426967204368616e6e656c4a1e41206368616e6e656c2077697468206c6f7473206f6620766964656f732e52202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a70675a056d757369635a0361727462050883011820620308ab016a0208206a0908e9011a044b6979766d7576a914e1b74ad1ade2dbf1079d148c755f35d5601687f388ace221d305000000001976a9140002186ea235bfc061e9a0fda30c230802085a1f88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mpN1k4fBHJTEdYBd6nBKFvej3rAp9vvcAB\",\n \"amount\": \"1.9993355\",\n \"confirmations\": 1,\n \"height\": 210,\n \"is_spent\": false,\n \"nout\": 1,\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n26Ruaur9Urn4jw5jrnav4shRsZt56bCVy\",\n \"amount\": \"1.0\",\n \"claim_id\": \"97d7d07a00b49769f454345e7ed11621795284bf\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"has_signing_key\": true,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"@bigchannel\",\n \"normalized_name\": \"@bigchannel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@bigchannel#97d7d07a00b49769f454345e7ed11621795284bf\",\n \"timestamp\": 1466646266,\n \"txid\": \"2e20a8847a25bbe7d7a6b5b137dadfb8b4ab71ed9cfc38b40d24836817d74f76\",\n \"type\": \"claim\",\n \"value\": {\n \"cover\": {\n \"url\": \"http://smallmedia.com/logo.jpg\"\n },\n \"description\": \"A channel with lots of videos.\",\n \"email\": \"creator@smallmedia.com\",\n \"languages\": [\n \"pt-BR\",\n \"uk\"\n ],\n \"locations\": [\n {\n \"country\": \"BR\"\n },\n {\n \"city\": \"Kiyv\",\n \"country\": \"UA\"\n }\n ],\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200040c0776ef3c7bd287c6c7f252edd4aa950ee40107df604adad221058ba757577328a99d2284f60522b85e08e6e4600df8f86a2d285928bfd04c7ab7447e6c7b80\",\n \"public_key_id\": \"mpSDMqMnhxX428hTSAV1GBfmwEvhyNHqsf\",\n \"tags\": [\n \"music\",\n \"art\"\n ],\n \"thumbnail\": {\n \"url\": \"http://smallmedia.com/logo.jpg\"\n },\n \"title\": \"Big Channel\",\n \"website_url\": \"http://smallmedia.com\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mfWzoeWq8tdZJWcMKaWgC2iLHVx6fWtQkB\",\n \"amount\": \"0.9772285\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"2e20a8847a25bbe7d7a6b5b137dadfb8b4ab71ed9cfc38b40d24836817d74f76\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"1.9993355\",\n \"total_output\": \"1.9772285\",\n \"txid\": \"2e20a8847a25bbe7d7a6b5b137dadfb8b4ab71ed9cfc38b40d24836817d74f76\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c392962a69c3942bb8f5c68884f4e9031ff3abafd984fad14cd2c30d0362b7dc010000006a473044022052ba54f056dca8819778fd0c4a1431d630988680275d103b34372dbc44ee83b802202b62baa856e0fe6552fa8a83ebb1863eb20d730ffbff1c4b7affa0c7b146f27b01210239868e0cb652f34cb5ae3c04a39169df929a1bec6202058f9584dc8838ae1a12ffffffff0200e1f50500000000fd5001b50b406269676368616e6e656c4d25010012ab010a583056301006072a8648ce3d020106052b8104000a03420004842f088019caa1ae9d78f8f24ecee07e0d55546b977e7c17eee1479e08094f4e7c05789e82045b4334f70816205365b08bd489e19cb4e4416e9154c49bff606d121663726561746f7240736d616c6c6d656469612e636f6d1a15687474703a2f2f736d616c6c6d656469612e636f6d22202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a7067420b426967204368616e6e656c4a1e41206368616e6e656c2077697468206c6f7473206f6620766964656f732e52202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a70675a056d757369635a0361727462050883011820620308ab016a0208206a0908e9011a044b6979766d7576a914477d21e2e2b0cbb2c894f60f9a29ed07877bcb8788ace221d305000000001976a9146cce28f04e05d84f02379238892c8d8da9b54c2d88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mr847FHfJwnPdMYHuvahu5th9Ej2fngAMa\",\n \"amount\": \"1.9993355\",\n \"confirmations\": 1,\n \"height\": 210,\n \"nout\": 1,\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mn2xB2JoJraQYcv34u6kBza8218ieqNZq6\",\n \"amount\": \"1.0\",\n \"claim_id\": \"78c7b909a9a71250894def65ee8ce7692809f937\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"has_signing_key\": true,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"@bigchannel\",\n \"normalized_name\": \"@bigchannel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@bigchannel#78c7b909a9a71250894def65ee8ce7692809f937\",\n \"timestamp\": null,\n \"txid\": \"4f028cf7b556d4a35f511be221b5d17469a985a19dd692f254a613233fe15b2e\",\n \"type\": \"claim\",\n \"value\": {\n \"cover\": {\n \"url\": \"http://smallmedia.com/logo.jpg\"\n },\n \"description\": \"A channel with lots of videos.\",\n \"email\": \"creator@smallmedia.com\",\n \"languages\": [\n \"pt-BR\",\n \"uk\"\n ],\n \"locations\": [\n {\n \"country\": \"BR\"\n },\n {\n \"city\": \"Kiyv\",\n \"country\": \"UA\"\n }\n ],\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004842f088019caa1ae9d78f8f24ecee07e0d55546b977e7c17eee1479e08094f4e7c05789e82045b4334f70816205365b08bd489e19cb4e4416e9154c49bff606d\",\n \"public_key_id\": \"muDutYWjifqWFwEPDi5JvxTizVqWG6Ncqa\",\n \"tags\": [\n \"music\",\n \"art\"\n ],\n \"thumbnail\": {\n \"url\": \"http://smallmedia.com/logo.jpg\"\n },\n \"title\": \"Big Channel\",\n \"website_url\": \"http://smallmedia.com\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mqSGF1kpizu7MHdEidmWoL2BYrvSVCwhfs\",\n \"amount\": \"0.9772285\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"4f028cf7b556d4a35f511be221b5d17469a985a19dd692f254a613233fe15b2e\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"1.9993355\",\n \"total_output\": \"1.9772285\",\n \"txid\": \"4f028cf7b556d4a35f511be221b5d17469a985a19dd692f254a613233fe15b2e\"\n }\n}" } ] }, @@ -1299,6 +1299,12 @@ "description": "channel id", "is_required": false }, + { + "name": "is_spent", + "type": "bool", + "description": "shows previous channel updates and abandons", + "is_required": false + }, { "name": "account_id", "type": "str", @@ -1340,17 +1346,17 @@ "examples": [ { "title": "List your channel claims", - "curl": "curl -d'{\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", + "curl": "curl -d'{\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", "lbrynet": "lbrynet channel list", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"resolve\": false, \"no_totals\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680171,\n \"txid\": \"6093877c7f4a7d662480afd9d63affdefa9bc0949cc4d22ae4cd5fac8d3af8a1\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"resolve\": false, \"no_totals\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680171,\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" }, { "title": "Paginate your channel claims", - "curl": "curl -d'{\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", + "curl": "curl -d'{\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", "lbrynet": "lbrynet channel list --page=1 --page_size=20", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680171,\n \"txid\": \"6093877c7f4a7d662480afd9d63affdefa9bc0949cc4d22ae4cd5fac8d3af8a1\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680171,\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -1507,10 +1513,10 @@ "examples": [ { "title": "Update a channel claim", - "curl": "curl -d'{\"method\": \"channel_update\", \"params\": {\"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\", \"title\": \"New Channel\", \"featured\": [], \"clear_featured\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"new_signing_key\": false, \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet channel update 304613c5db3e0439d3aeac2183296aaeaf49a328 --title=\"New Channel\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_update\", \"params\": {\"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\", \"title\": \"New Channel\", \"featured\": [], \"clear_featured\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"new_signing_key\": false, \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000002a1f83a8dac5fcde42ad2c49c94c09bfadeff3ad6d9af8024667d4a7f7c879360000000006a473044022030620aed6ea4d807669926dfe3683ddfbf190592c5d9fad3008062e6195440a102203996fe59971ab6fed75e74fc852689ac57a2053c2089a2f3c3b03f90e9fbbd96012102e8e98ecb426bb86ecb8217a04d1e6224ea49d619c19350da6e50f7a1f76ab3a5ffffffffc817c6eeac076f2c5d85b266ca768802247598945b53c08953d4dd8a7bbedeb8000000006a47304402207517d7ef915693b1e090c5f8bd91f2faa152efb8ff8a445a9891dd6f250271a7022041c54190c560575718a5a7ac366c20952b33d6f1a6886c99f8c110a3fa2f4faa012102017deec5fa4572a29704158fbb15a3673f1bcb33f8d95d261579fcdb1555a4e3ffffffff0200e1f50500000000a6b708406368616e6e656c1428a349afae6a298321acaed339043edbc51346304c6a00125a0a583056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638420b4e6577204368616e6e656c6d6d76a9144887901f6fc283acfbadc1b194e042ad19145ebd88ac6ebeea0b000000001976a9146108445b235c957157080d56d5ba5675091efb3688ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680171,\n \"txid\": \"6093877c7f4a7d662480afd9d63affdefa9bc0949cc4d22ae4cd5fac8d3af8a1\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mm7Ap8eGFKRiKcuXgJowSpDy3nZQzY9AX4\",\n \"amount\": \"1.999604\",\n \"confirmations\": 1,\n \"height\": 209,\n \"is_spent\": false,\n \"nout\": 0,\n \"timestamp\": 1466680171,\n \"txid\": \"b8debe7b8addd45389c0535b94987524028876ca66b2855d2c6f07aceec617c8\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": -2,\n \"has_signing_key\": true,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466646266,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mpN1k4fBHJTEdYBd6nBKFvej3rAp9vvcAB\",\n \"amount\": \"1.9993355\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.0002685\",\n \"total_input\": \"2.999604\",\n \"total_output\": \"2.9993355\",\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\"\n }\n}" + "curl": "curl -d'{\"method\": \"channel_update\", \"params\": {\"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\", \"title\": \"New Channel\", \"featured\": [], \"clear_featured\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"new_signing_key\": false, \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet channel update d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6 --title=\"New Channel\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_update\", \"params\": {\"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\", \"title\": \"New Channel\", \"featured\": [], \"clear_featured\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"new_signing_key\": false, \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000002d47b17d06b9237574fa9ae9ea457145944f8e01907632d807c07c9be48f8e9ff000000006a47304402204c6c7c131ad0c4993a29074ac76d0badede7d27d1be92e00367b4b8e11d235d2022007872c261b67d2cdf98c926f09de26d88c73e661fa1d0e520ee55f32340bf1bb01210252c26cef70338437b7e0c44ba72581b44c635fff12e83ab7f2677cdc25fab6a3ffffffff17dc0fc9256768aba1588a02fb0812825272d13b8780bb294d99b457a9d981c1000000006b483045022100f9ff05111ac65236d28f14f02f2c68f68c31294262ac4d97bb803961788541bf02203788404b6ed8906f13b69d41fa71010a6af45d121fc61344d23ecc111406bad201210351945fdf5feb9507ebdd331b0c8a408b6c9766917a2d0c294ff93b06bea2bb61ffffffff0200e1f50500000000a6b708406368616e6e656c14f6e2d016ad055e9e2f2d7eb8f3dc0a919d316ad34c6a00125a0a583056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c420b4e6577204368616e6e656c6d6d76a914217c36c07e974d7a40b499b6cef2552598e2fa6588ac6ebeea0b000000001976a9147454ab651c3ee8820ea3c9c82edf7de3668457b888ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680171,\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"muQHSfUfrSRj3raXfy7vK3M1PjhUFv7MY7\",\n \"amount\": \"1.999604\",\n \"confirmations\": 1,\n \"height\": 209,\n \"nout\": 0,\n \"timestamp\": 1466680171,\n \"txid\": \"c181d9a957b4994d29bb80873bd17252821208fb028a58a1ab686725c90fdc17\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": -2,\n \"has_signing_key\": true,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": null,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mr847FHfJwnPdMYHuvahu5th9Ej2fngAMa\",\n \"amount\": \"1.9993355\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.0002685\",\n \"total_input\": \"2.999604\",\n \"total_output\": \"2.9993355\",\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\"\n }\n}" } ] } @@ -1547,6 +1553,12 @@ "description": "claim name", "is_required": false }, + { + "name": "is_spent", + "type": "bool", + "description": "shows previous claim updates and abandons", + "is_required": false + }, { "name": "account_id", "type": "str", @@ -1600,17 +1612,17 @@ "examples": [ { "title": "List all your claims", - "curl": "curl -d'{\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"channel_id\": [], \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}' http://localhost:5279/", + "curl": "curl -d'{\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"is_spent\": false, \"channel_id\": [], \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}' http://localhost:5279/", "lbrynet": "lbrynet claim list", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"channel_id\": [], \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"is_spent\": false, \"channel_id\": [], \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"create\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"timestamp\": 1466680814,\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mn2xB2JoJraQYcv34u6kBza8218ieqNZq6\",\n \"amount\": \"1.0\",\n \"claim_id\": \"78c7b909a9a71250894def65ee8ce7692809f937\",\n \"claim_op\": \"create\",\n \"confirmations\": 4,\n \"has_signing_key\": true,\n \"height\": 211,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"@bigchannel\",\n \"normalized_name\": \"@bigchannel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@bigchannel#78c7b909a9a71250894def65ee8ce7692809f937\",\n \"timestamp\": 1466680492,\n \"txid\": \"4f028cf7b556d4a35f511be221b5d17469a985a19dd692f254a613233fe15b2e\",\n \"type\": \"claim\",\n \"value\": {\n \"cover\": {\n \"url\": \"http://smallmedia.com/logo.jpg\"\n },\n \"description\": \"A channel with lots of videos.\",\n \"email\": \"creator@smallmedia.com\",\n \"languages\": [\n \"pt-BR\",\n \"uk\"\n ],\n \"locations\": [\n {\n \"country\": \"BR\"\n },\n {\n \"city\": \"Kiyv\",\n \"country\": \"UA\"\n }\n ],\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004842f088019caa1ae9d78f8f24ecee07e0d55546b977e7c17eee1479e08094f4e7c05789e82045b4334f70816205365b08bd489e19cb4e4416e9154c49bff606d\",\n \"public_key_id\": \"muDutYWjifqWFwEPDi5JvxTizVqWG6Ncqa\",\n \"tags\": [\n \"music\",\n \"art\"\n ],\n \"thumbnail\": {\n \"url\": \"http://smallmedia.com/logo.jpg\"\n },\n \"title\": \"Big Channel\",\n \"website_url\": \"http://smallmedia.com\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"create\",\n \"confirmations\": 6,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680171,\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 5,\n \"total_pages\": 1\n }\n}" }, { "title": "Paginate your claims", - "curl": "curl -d'{\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"channel_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}' http://localhost:5279/", + "curl": "curl -d'{\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"is_spent\": false, \"channel_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}' http://localhost:5279/", "lbrynet": "lbrynet claim list --page=1 --page_size=20", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"channel_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"is_spent\": false, \"channel_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"create\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"timestamp\": 1466680814,\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mn2xB2JoJraQYcv34u6kBza8218ieqNZq6\",\n \"amount\": \"1.0\",\n \"claim_id\": \"78c7b909a9a71250894def65ee8ce7692809f937\",\n \"claim_op\": \"create\",\n \"confirmations\": 4,\n \"has_signing_key\": true,\n \"height\": 211,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"@bigchannel\",\n \"normalized_name\": \"@bigchannel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@bigchannel#78c7b909a9a71250894def65ee8ce7692809f937\",\n \"timestamp\": 1466680492,\n \"txid\": \"4f028cf7b556d4a35f511be221b5d17469a985a19dd692f254a613233fe15b2e\",\n \"type\": \"claim\",\n \"value\": {\n \"cover\": {\n \"url\": \"http://smallmedia.com/logo.jpg\"\n },\n \"description\": \"A channel with lots of videos.\",\n \"email\": \"creator@smallmedia.com\",\n \"languages\": [\n \"pt-BR\",\n \"uk\"\n ],\n \"locations\": [\n {\n \"country\": \"BR\"\n },\n {\n \"city\": \"Kiyv\",\n \"country\": \"UA\"\n }\n ],\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004842f088019caa1ae9d78f8f24ecee07e0d55546b977e7c17eee1479e08094f4e7c05789e82045b4334f70816205365b08bd489e19cb4e4416e9154c49bff606d\",\n \"public_key_id\": \"muDutYWjifqWFwEPDi5JvxTizVqWG6Ncqa\",\n \"tags\": [\n \"music\",\n \"art\"\n ],\n \"thumbnail\": {\n \"url\": \"http://smallmedia.com/logo.jpg\"\n },\n \"title\": \"Big Channel\",\n \"website_url\": \"http://smallmedia.com\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"create\",\n \"confirmations\": 6,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680171,\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 5,\n \"total_pages\": 1\n }\n}" } ] }, @@ -1938,14 +1950,14 @@ "curl": "curl -d'{\"method\": \"claim_search\", \"params\": {\"claim_ids\": [], \"channel\": \"@channel\", \"channel_ids\": [], \"not_channel_ids\": [], \"has_channel_signature\": false, \"valid_channel_signature\": false, \"invalid_channel_signature\": false, \"is_controlling\": false, \"stream_types\": [], \"media_types\": [], \"any_tags\": [], \"all_tags\": [], \"not_tags\": [], \"any_languages\": [], \"all_languages\": [], \"not_languages\": [], \"any_locations\": [], \"all_locations\": [], \"not_locations\": [], \"order_by\": [], \"include_purchase_receipt\": false, \"include_is_my_output\": false}}' http://localhost:5279/", "lbrynet": "lbrynet claim search --channel=@channel", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_search\", \"params\": {\"claim_ids\": [], \"channel\": \"@channel\", \"channel_ids\": [], \"not_channel_ids\": [], \"has_channel_signature\": false, \"valid_channel_signature\": false, \"invalid_channel_signature\": false, \"is_controlling\": false, \"stream_types\": [], \"media_types\": [], \"any_tags\": [], \"all_tags\": [], \"not_tags\": [], \"any_languages\": [], \"all_languages\": [], \"not_languages\": [], \"any_locations\": [], \"all_locations\": [], \"not_locations\": [], \"order_by\": [], \"include_purchase_receipt\": false, \"include_is_my_output\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blocked\": {\n \"channels\": [],\n \"total\": 0\n },\n \"items\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3/astream#b\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1466680814,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263187,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 213,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"short_url\": \"lbry://astream#b\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 1,\n \"creation_height\": 209,\n \"creation_timestamp\": 1466680171,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263183,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 209,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"short_url\": \"lbry://@channel#3\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blocked\": {\n \"channels\": [],\n \"total\": 0\n },\n \"items\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#d/astream#4\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1466680814,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263187,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 213,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"short_url\": \"lbry://astream#4\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#d\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 1,\n \"creation_height\": 209,\n \"creation_timestamp\": 1466680171,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263183,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 209,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"short_url\": \"lbry://@channel#d\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" }, { "title": "Search for claims matching a name", "curl": "curl -d'{\"method\": \"claim_search\", \"params\": {\"name\": \"astream\", \"claim_ids\": [], \"channel_ids\": [], \"not_channel_ids\": [], \"has_channel_signature\": false, \"valid_channel_signature\": false, \"invalid_channel_signature\": false, \"is_controlling\": false, \"stream_types\": [], \"media_types\": [], \"any_tags\": [], \"all_tags\": [], \"not_tags\": [], \"any_languages\": [], \"all_languages\": [], \"not_languages\": [], \"any_locations\": [], \"all_locations\": [], \"not_locations\": [], \"order_by\": [], \"include_purchase_receipt\": false, \"include_is_my_output\": false}}' http://localhost:5279/", "lbrynet": "lbrynet claim search --name=\"astream\"", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_search\", \"params\": {\"name\": \"astream\", \"claim_ids\": [], \"channel_ids\": [], \"not_channel_ids\": [], \"has_channel_signature\": false, \"valid_channel_signature\": false, \"invalid_channel_signature\": false, \"is_controlling\": false, \"stream_types\": [], \"media_types\": [], \"any_tags\": [], \"all_tags\": [], \"not_tags\": [], \"any_languages\": [], \"all_languages\": [], \"not_languages\": [], \"any_locations\": [], \"all_locations\": [], \"not_locations\": [], \"order_by\": [], \"include_purchase_receipt\": false, \"include_is_my_output\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blocked\": {\n \"channels\": [],\n \"total\": 0\n },\n \"items\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3/astream#b\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1466680814,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263187,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 213,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"short_url\": \"lbry://astream#b\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 1,\n \"creation_height\": 209,\n \"creation_timestamp\": 1466680171,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263183,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 209,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"short_url\": \"lbry://@channel#3\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blocked\": {\n \"channels\": [],\n \"total\": 0\n },\n \"items\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#d/astream#4\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1466680814,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263187,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 213,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"short_url\": \"lbry://astream#4\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#d\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 1,\n \"creation_height\": 209,\n \"creation_timestamp\": 1466680171,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263183,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 209,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"short_url\": \"lbry://@channel#d\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] } @@ -2356,9 +2368,9 @@ "examples": [ { "title": "Abandon a comment", - "curl": "curl -d'{\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\"}}' http://localhost:5279/", - "lbrynet": "lbrynet comment abandon 136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\"}}).json()", + "curl": "curl -d'{\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\"}}' http://localhost:5279/", + "lbrynet": "lbrynet comment abandon 55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"abandoned\": false\n }\n}" } ] @@ -2414,17 +2426,17 @@ "examples": [ { "title": "Posting a comment as your channel", - "curl": "curl -d'{\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", - "lbrynet": "lbrynet comment create --comment=\"Thank you Based God\" --channel_name=@channel --claim_id=b417290577f86e33f746980cc43dcf35a76e3374", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"signature\": \"4474bf96bdc76626df8c9c3d818c8e83179ece4ce614a77faaa61b1da52e2941b8aee2d38695671a4e2a6aa6c5c891bfd4f5a4c46324922009f7deb04d36e663\",\n \"signing_ts\": \"1585619138\",\n \"timestamp\": 1585619138\n }\n}" + "curl": "curl -d'{\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", + "lbrynet": "lbrynet comment create --comment=\"Thank you Based God\" --channel_name=@channel --claim_id=454e2102366e4aad6710f8520deb79093429c8a0", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"signature\": \"1f52cb8098b63d2633769eb7edbe72ee918f11c9406529612812e30f89b2365afccbfbbd541bc1368147d761e1450db4c9c58972d7c2c187740ebe95488f915b\",\n \"signing_ts\": \"1586192024\",\n \"timestamp\": 1586192025\n }\n}" }, { "title": "Use the parent_id param to make replies", - "curl": "curl -d'{\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"parent_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", - "lbrynet": "lbrynet comment create --comment=\"I have photographic evidence confirming Sasquatch exists\" --channel_name=@channel --parent_id=136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"parent_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"27502e5961eb902cf29c64f0547c7646582a3b91124042d043cdcf557be286c6\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"parent_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\",\n \"signature\": \"20112298a3b30f126651195470283f17092a5381fa6d1254af15ffe010761b4f743c28e01a1847c9d7fa4efdfd1d26e2fffae08378f75f3b5084c7d870772ebe\",\n \"signing_ts\": \"1585619138\",\n \"timestamp\": 1585619139\n }\n}" + "curl": "curl -d'{\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"parent_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", + "lbrynet": "lbrynet comment create --comment=\"I have photographic evidence confirming Sasquatch exists\" --channel_name=@channel --parent_id=55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"parent_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"5b7279ccf97a7bd3899547b5426ef84778fc903b6ebbbd2b841bed69b0c39c56\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"parent_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\",\n \"signature\": \"5b1bd28cf81de9781406a505a1ca9e66faca76fe9e79c064112a6d0e69d5d84c8774add5cfcae183f04074405c112414696883e1c77e191898c627f807481ab8\",\n \"signing_ts\": \"1586192025\",\n \"timestamp\": 1586192025\n }\n}" } ] }, @@ -2505,17 +2517,17 @@ "examples": [ { "title": "List all comments on a claim", - "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"include_replies\": true, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet comment list b417290577f86e33f746980cc43dcf35a76e3374 --include_replies", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"include_replies\": true, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"has_hidden_comments\": false,\n \"items\": [\n {\n \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"27502e5961eb902cf29c64f0547c7646582a3b91124042d043cdcf557be286c6\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"parent_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\",\n \"signature\": \"20112298a3b30f126651195470283f17092a5381fa6d1254af15ffe010761b4f743c28e01a1847c9d7fa4efdfd1d26e2fffae08378f75f3b5084c7d870772ebe\",\n \"signing_ts\": \"1585619138\",\n \"timestamp\": 1585619139\n },\n {\n \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"signature\": \"4474bf96bdc76626df8c9c3d818c8e83179ece4ce614a77faaa61b1da52e2941b8aee2d38695671a4e2a6aa6c5c891bfd4f5a4c46324922009f7deb04d36e663\",\n \"signing_ts\": \"1585619138\",\n \"timestamp\": 1585619138\n }\n ],\n \"page\": 1,\n \"page_size\": 50,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"include_replies\": true, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet comment list 454e2102366e4aad6710f8520deb79093429c8a0 --include_replies", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"include_replies\": true, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"has_hidden_comments\": false,\n \"items\": [\n {\n \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"signature\": \"1f52cb8098b63d2633769eb7edbe72ee918f11c9406529612812e30f89b2365afccbfbbd541bc1368147d761e1450db4c9c58972d7c2c187740ebe95488f915b\",\n \"signing_ts\": \"1586192024\",\n \"timestamp\": 1586192025\n },\n {\n \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"5b7279ccf97a7bd3899547b5426ef84778fc903b6ebbbd2b841bed69b0c39c56\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"parent_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\",\n \"signature\": \"5b1bd28cf81de9781406a505a1ca9e66faca76fe9e79c064112a6d0e69d5d84c8774add5cfcae183f04074405c112414696883e1c77e191898c627f807481ab8\",\n \"signing_ts\": \"1586192025\",\n \"timestamp\": 1586192025\n }\n ],\n \"page\": 1,\n \"page_size\": 50,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" }, { "title": "List a comment thread replying to a top level comment", - "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"parent_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\", \"include_replies\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet comment list b417290577f86e33f746980cc43dcf35a76e3374 --parent_id=136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"parent_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\", \"include_replies\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"has_hidden_comments\": false,\n \"items\": [\n {\n \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"signature\": \"4474bf96bdc76626df8c9c3d818c8e83179ece4ce614a77faaa61b1da52e2941b8aee2d38695671a4e2a6aa6c5c891bfd4f5a4c46324922009f7deb04d36e663\",\n \"signing_ts\": \"1585619138\",\n \"timestamp\": 1585619138\n }\n ],\n \"page\": 1,\n \"page_size\": 50,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"parent_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\", \"include_replies\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet comment list 454e2102366e4aad6710f8520deb79093429c8a0 --parent_id=55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"parent_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\", \"include_replies\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"has_hidden_comments\": false,\n \"items\": [\n {\n \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"signature\": \"1f52cb8098b63d2633769eb7edbe72ee918f11c9406529612812e30f89b2365afccbfbbd541bc1368147d761e1450db4c9c58972d7c2c187740ebe95488f915b\",\n \"signing_ts\": \"1586192024\",\n \"timestamp\": 1586192025\n }\n ],\n \"page\": 1,\n \"page_size\": 50,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -2546,9 +2558,9 @@ "examples": [ { "title": "Edit the contents of a comment", - "curl": "curl -d'{\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\"}}' http://localhost:5279/", - "lbrynet": "lbrynet comment update Where there was once sasquatch, there is not --comment_id=136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"136bd27d898eb02f272ca6da97dbcd47b59ec1d849d281fb606d8d0a0a2d3998\"}}).json()", + "curl": "curl -d'{\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\"}}' http://localhost:5279/", + "lbrynet": "lbrynet comment update Where there was once sasquatch, there is not --comment_id=55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"55d82b0183f0e41e9a22ccfc6350ebe1763d61aea1006c6124eac1921b1ee837\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": null\n}" } ] @@ -2639,9 +2651,9 @@ "examples": [ { "title": "Delete a file", - "curl": "curl -d'{\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\"}}' http://localhost:5279/", - "lbrynet": "lbrynet file delete --claim_id=\"b417290577f86e33f746980cc43dcf35a76e3374\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\"}}).json()", + "curl": "curl -d'{\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\"}}' http://localhost:5279/", + "lbrynet": "lbrynet file delete --claim_id=\"454e2102366e4aad6710f8520deb79093429c8a0\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": true\n}" } ] @@ -2772,14 +2784,14 @@ "curl": "curl -d'{\"method\": \"file_list\", \"params\": {\"reverse\": false}}' http://localhost:5279/", "lbrynet": "lbrynet file list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_list\", \"params\": {\"reverse\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"added_on\": null,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": -1,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": -1,\n \"is_fully_reflected\": true,\n \"key\": \"33d1b3fcadd55ab27a674c579fe33d69\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0128a349afae6a298321acaed339043edbc5134630e3e5c3fffabbc16690ec00df8f717235b3217ea27fbd8cd335c0abf344ebbe19d733d648f4230ee35ed5144a97aed7852dc8e613629eb6289ef8db0a8f8f25850a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d703473327276356c72180b22186170706c69636174696f6e2f6f637465742d73747265616d323063004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"6444414d8b1853d67710a6314a853bb5eec6b089ee334c0ec0b69982c1f6d1ef3331a778fe880f6f483fcf5438f42e35\",\n \"stream_name\": \"tmp4s2rv5lr\",\n \"streaming_url\": \"http://localhost:5280/stream/63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"suggested_file_name\": \"tmp4s2rv5lr\",\n \"timestamp\": 1466646427,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"written_bytes\": 0\n },\n {\n \"added_on\": null,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"cff8ccad3fd50a18bca94a93c8f6094fd26c0aa5\",\n \"claim_name\": \"blank-image\",\n \"completed\": false,\n \"confirmations\": -1,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": -1,\n \"is_fully_reflected\": true,\n \"key\": \"a5c7c3efbd235d11dafeb21e2f758a23\",\n \"metadata\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mya4RmQTERdSBem1HV8PzXQhx6Zri7ED1X\",\n \"amount\": \"0.3\",\n \"currency\": \"LBC\"\n },\n \"image\": {\n \"height\": 7,\n \"width\": 5\n },\n \"languages\": [\n \"en\"\n ],\n \"license\": \"Public Domain\",\n \"license_url\": \"http://public-domain.org\",\n \"locations\": [\n {\n \"city\": \"Manchester\",\n \"country\": \"US\",\n \"state\": \"NH\"\n }\n ],\n \"release_time\": \"1585619135\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmp0bz4e07e.png\",\n \"sd_hash\": \"bac3bf82dd819d7d635e0b7e7e67a931ffb1510a33ec2226b850a107a9b31d63e43b96ccfe906e73d122845a84d4baf8\",\n \"size\": \"99\"\n },\n \"stream_type\": \"image\",\n \"tags\": [\n \"blank\",\n \"art\"\n ],\n \"thumbnail\": {\n \"url\": \"http://smallmedia.com/thumbnail.jpg\"\n },\n \"title\": \"Blank Image\"\n },\n \"mime_type\": \"image/png\",\n \"nout\": 0,\n \"outpoint\": \"58e9bf49003400a47c4e3d122670aee7cc589a50852150d68a36b95acbf61eb6:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0128a349afae6a298321acaed339043edbc51346309f46b4ef31aade52076b9eea70cc65f2b35c3fdf3d270d9c3c4ddf6ff5d7e826488928d5375156b244f27a39ca11ec999f5788cd854119240426d5e7e4cc08de0ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d7030627a34653037652e706e6718632209696d6167652f706e673230bac3bf82dd819d7d635e0b7e7e67a931ffb1510a33ec2226b850a107a9b31d63e43b96ccfe906e73d122845a84d4baf8120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728bfc18af4053222080112196fc608a1aca773f6714c174cc895cf030f2f1b67082806ac16188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e63686573746572\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"bac3bf82dd819d7d635e0b7e7e67a931ffb1510a33ec2226b850a107a9b31d63e43b96ccfe906e73d122845a84d4baf8\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"4786b654fbb4e087f1312f9645ba2bef08b3e9eb2243a1798353055a8b64905692aa7fe6147675603abbcd792b76217e\",\n \"stream_name\": \"tmp0bz4e07e.png\",\n \"streaming_url\": \"http://localhost:5280/stream/bac3bf82dd819d7d635e0b7e7e67a931ffb1510a33ec2226b850a107a9b31d63e43b96ccfe906e73d122845a84d4baf8\",\n \"suggested_file_name\": \"tmp0bz4e07e.png\",\n \"timestamp\": 1466646427,\n \"total_bytes\": 112,\n \"total_bytes_lower_bound\": 96,\n \"txid\": \"58e9bf49003400a47c4e3d122670aee7cc589a50852150d68a36b95acbf61eb6\",\n \"written_bytes\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"added_on\": null,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": -1,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": -1,\n \"is_fully_reflected\": true,\n \"key\": \"f8ee36e429460859e867d14f390cd139\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01f6e2d016ad055e9e2f2d7eb8f3dc0a919d316ad3cedf954eefb6105bb86cd04a708f50e7e6d5ceac543ecc64fb60047aeb9708b1c9c4c174498f1ca959c471183f56b84c882c20d00cd09f5cc842dec6a84c2c0f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707770743363726867180b22186170706c69636174696f6e2f6f637465742d73747265616d323056874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"9584bc9fa0c545fce945080b4c8ac57722455077cb9579efe4130c07d4de29961b5bd85e55af604a20ddab72e3839a74\",\n \"stream_name\": \"tmpwpt3crhg\",\n \"streaming_url\": \"http://localhost:5280/stream/56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"suggested_file_name\": \"tmpwpt3crhg\",\n \"timestamp\": null,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"written_bytes\": 0\n },\n {\n \"added_on\": null,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"485ffc0df5f7b0b4dd17ab0eec3695126d0036fd\",\n \"claim_name\": \"blank-image\",\n \"completed\": false,\n \"confirmations\": -1,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": -1,\n \"is_fully_reflected\": true,\n \"key\": \"a96238b23a1aa93da20880befe51c8ba\",\n \"metadata\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mgby3HVfuumTkNc8D5eGpL1fNEHSoy51QH\",\n \"amount\": \"0.3\",\n \"currency\": \"LBC\"\n },\n \"image\": {\n \"height\": 7,\n \"width\": 5\n },\n \"languages\": [\n \"en\"\n ],\n \"license\": \"Public Domain\",\n \"license_url\": \"http://public-domain.org\",\n \"locations\": [\n {\n \"city\": \"Manchester\",\n \"country\": \"US\",\n \"state\": \"NH\"\n }\n ],\n \"release_time\": \"1586192022\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpeps_93l3.png\",\n \"sd_hash\": \"842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280\",\n \"size\": \"99\"\n },\n \"stream_type\": \"image\",\n \"tags\": [\n \"blank\",\n \"art\"\n ],\n \"thumbnail\": {\n \"url\": \"http://smallmedia.com/thumbnail.jpg\"\n },\n \"title\": \"Blank Image\"\n },\n \"mime_type\": \"image/png\",\n \"nout\": 0,\n \"outpoint\": \"29e3584f7c0564e2552fd05dc5b8acbe45a4edc3bb7eafd98b8b1d1cf6f51eb8:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01f6e2d016ad055e9e2f2d7eb8f3dc0a919d316ad3f1994b58214f0d2a6b75255d0362e961133e4d6df32e559f7a1f6e2056eb0ddf28a1f0d89f742a3c961b9cf232395ed3ef1d811c274412cf07afe7147b84dc340ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d706570735f39336c332e706e6718632209696d6167652f706e673230842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f72672896bdadf4053222080112196f0bead3ea3148c596e1adea6310d245d2edb5b560d5d52766188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e63686573746572\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"1ac46d2224481b9447037cc219e81ba2e93dbfa34140ec34d7597b5cb07b9f5da49e5cfaf569b9aa45d7ea7ac616724d\",\n \"stream_name\": \"tmpeps_93l3.png\",\n \"streaming_url\": \"http://localhost:5280/stream/842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280\",\n \"suggested_file_name\": \"tmpeps_93l3.png\",\n \"timestamp\": null,\n \"total_bytes\": 112,\n \"total_bytes_lower_bound\": 96,\n \"txid\": \"29e3584f7c0564e2552fd05dc5b8acbe45a4edc3bb7eafd98b8b1d1cf6f51eb8\",\n \"written_bytes\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" }, { "title": "List files matching a parameter", - "curl": "curl -d'{\"method\": \"file_list\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"reverse\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet file list --claim_id=\"b417290577f86e33f746980cc43dcf35a76e3374\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_list\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"reverse\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"added_on\": null,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": 214,\n \"is_fully_reflected\": true,\n \"key\": \"33d1b3fcadd55ab27a674c579fe33d69\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0128a349afae6a298321acaed339043edbc5134630e3e5c3fffabbc16690ec00df8f717235b3217ea27fbd8cd335c0abf344ebbe19d733d648f4230ee35ed5144a97aed7852dc8e613629eb6289ef8db0a8f8f25850a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d703473327276356c72180b22186170706c69636174696f6e2f6f637465742d73747265616d323063004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"6444414d8b1853d67710a6314a853bb5eec6b089ee334c0ec0b69982c1f6d1ef3331a778fe880f6f483fcf5438f42e35\",\n \"stream_name\": \"tmp4s2rv5lr\",\n \"streaming_url\": \"http://localhost:5280/stream/63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"suggested_file_name\": \"tmp4s2rv5lr\",\n \"timestamp\": 1466680974,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"written_bytes\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "curl": "curl -d'{\"method\": \"file_list\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"reverse\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet file list --claim_id=\"454e2102366e4aad6710f8520deb79093429c8a0\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_list\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"reverse\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"added_on\": null,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": 214,\n \"is_fully_reflected\": true,\n \"key\": \"f8ee36e429460859e867d14f390cd139\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01f6e2d016ad055e9e2f2d7eb8f3dc0a919d316ad3cedf954eefb6105bb86cd04a708f50e7e6d5ceac543ecc64fb60047aeb9708b1c9c4c174498f1ca959c471183f56b84c882c20d00cd09f5cc842dec6a84c2c0f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707770743363726867180b22186170706c69636174696f6e2f6f637465742d73747265616d323056874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"9584bc9fa0c545fce945080b4c8ac57722455077cb9579efe4130c07d4de29961b5bd85e55af604a20ddab72e3839a74\",\n \"stream_name\": \"tmpwpt3crhg\",\n \"streaming_url\": \"http://localhost:5280/stream/56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"suggested_file_name\": \"tmpwpt3crhg\",\n \"timestamp\": 1466680974,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"written_bytes\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -2896,10 +2908,10 @@ "examples": [ { "title": "Save a file to the downloads directory", - "curl": "curl -d'{\"method\": \"file_save\", \"params\": {\"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\"}}' http://localhost:5279/", - "lbrynet": "lbrynet file save --sd_hash=\"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_save\", \"params\": {\"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1585619142,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmpx9izt3bj\",\n \"download_path\": \"/tmp/tmpx9izt3bj/tmp4s2rv5lr_1\",\n \"file_name\": \"tmp4s2rv5lr_1\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"33d1b3fcadd55ab27a674c579fe33d69\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0128a349afae6a298321acaed339043edbc5134630e3e5c3fffabbc16690ec00df8f717235b3217ea27fbd8cd335c0abf344ebbe19d733d648f4230ee35ed5144a97aed7852dc8e613629eb6289ef8db0a8f8f25850a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d703473327276356c72180b22186170706c69636174696f6e2f6f637465742d73747265616d323063004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"6444414d8b1853d67710a6314a853bb5eec6b089ee334c0ec0b69982c1f6d1ef3331a778fe880f6f483fcf5438f42e35\",\n \"stream_name\": \"tmp4s2rv5lr\",\n \"streaming_url\": \"http://localhost:5280/stream/63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"suggested_file_name\": \"tmp4s2rv5lr\",\n \"timestamp\": 1466680974,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"written_bytes\": 11\n }\n}" + "curl": "curl -d'{\"method\": \"file_save\", \"params\": {\"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\"}}' http://localhost:5279/", + "lbrynet": "lbrynet file save --sd_hash=\"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_save\", \"params\": {\"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1586192027,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmplr8v74_8\",\n \"download_path\": \"/tmp/tmplr8v74_8/tmpwpt3crhg_1\",\n \"file_name\": \"tmpwpt3crhg_1\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"f8ee36e429460859e867d14f390cd139\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01f6e2d016ad055e9e2f2d7eb8f3dc0a919d316ad3cedf954eefb6105bb86cd04a708f50e7e6d5ceac543ecc64fb60047aeb9708b1c9c4c174498f1ca959c471183f56b84c882c20d00cd09f5cc842dec6a84c2c0f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707770743363726867180b22186170706c69636174696f6e2f6f637465742d73747265616d323056874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"9584bc9fa0c545fce945080b4c8ac57722455077cb9579efe4130c07d4de29961b5bd85e55af604a20ddab72e3839a74\",\n \"stream_name\": \"tmpwpt3crhg\",\n \"streaming_url\": \"http://localhost:5280/stream/56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"suggested_file_name\": \"tmpwpt3crhg\",\n \"timestamp\": 1466680974,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"written_bytes\": 11\n }\n}" } ] }, @@ -3180,7 +3192,7 @@ "curl": "curl -d'{\"method\": \"settings_get\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet settings get", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"settings_get\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"announce_head_and_sd_only\": true,\n \"api\": \"localhost:5279\",\n \"audio_encoder\": \"aac -b:a 160k\",\n \"blob_download_timeout\": 30.0,\n \"blob_lru_cache_size\": 0,\n \"blockchain_name\": \"lbrycrd_regtest\",\n \"cache_time\": 150,\n \"coin_selection_strategy\": \"standard\",\n \"comment_server\": \"https://comments.lbry.com/api\",\n \"components_to_skip\": [\n \"dht\",\n \"upnp\",\n \"hash_announcer\",\n \"peer_protocol_server\"\n ],\n \"concurrent_blob_announcers\": 10,\n \"concurrent_reflector_uploads\": 10,\n \"config\": \"/home/lex/.local/share/lbry/lbrynet/daemon_settings.yml\",\n \"data_dir\": \"/tmp/tmpx9izt3bj\",\n \"download_dir\": \"/tmp/tmpx9izt3bj\",\n \"download_timeout\": 30.0,\n \"ffmpeg_path\": \"\",\n \"fixed_peer_delay\": 2.0,\n \"known_dht_nodes\": [],\n \"lbryum_servers\": [\n [\n \"127.0.0.1\",\n 50001\n ]\n ],\n \"max_connections_per_download\": 4,\n \"max_key_fee\": {\n \"amount\": 50.0,\n \"currency\": \"USD\"\n },\n \"max_wallet_server_fee\": \"0.0\",\n \"network_interface\": \"0.0.0.0\",\n \"node_rpc_timeout\": 5.0,\n \"peer_connect_timeout\": 3.0,\n \"prometheus_port\": 0,\n \"reflect_streams\": true,\n \"reflector_servers\": [\n [\n \"127.0.0.1\",\n 5566\n ]\n ],\n \"s3_headers_depth\": 960,\n \"save_blobs\": true,\n \"save_files\": true,\n \"save_resolved_claims\": true,\n \"share_usage_data\": false,\n \"split_buckets_under_index\": 1,\n \"streaming_get\": true,\n \"streaming_server\": \"localhost:5280\",\n \"tcp_port\": 3333,\n \"track_bandwidth\": true,\n \"udp_port\": 4444,\n \"use_upnp\": false,\n \"video_bitrate_maximum\": 8400000,\n \"video_encoder\": \"libx264 -crf 21 -preset faster -pix_fmt yuv420p\",\n \"video_scaler\": \"-vf \\\"scale=if(gte(iw\\\\,ih)\\\\,min(1920\\\\,iw)\\\\,-2):if(lt(iw\\\\,ih)\\\\,min(1920\\\\,ih)\\\\,-2)\\\" -maxrate 8400K -bufsize 5000K\",\n \"volume_analysis_time\": 240,\n \"volume_filter\": \"-af loudnorm\",\n \"wallet_dir\": \"/tmp/tmpx9izt3bj\",\n \"wallets\": [\n \"default_wallet\"\n ]\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"announce_head_and_sd_only\": true,\n \"api\": \"localhost:5279\",\n \"audio_encoder\": \"aac -b:a 160k\",\n \"blob_download_timeout\": 30.0,\n \"blob_lru_cache_size\": 0,\n \"blockchain_name\": \"lbrycrd_regtest\",\n \"cache_time\": 150,\n \"coin_selection_strategy\": \"standard\",\n \"comment_server\": \"https://comments.lbry.com/api\",\n \"components_to_skip\": [\n \"dht\",\n \"upnp\",\n \"hash_announcer\",\n \"peer_protocol_server\"\n ],\n \"concurrent_blob_announcers\": 10,\n \"concurrent_reflector_uploads\": 10,\n \"config\": \"/home/lex/.local/share/lbry/lbrynet/daemon_settings.yml\",\n \"data_dir\": \"/tmp/tmplr8v74_8\",\n \"download_dir\": \"/tmp/tmplr8v74_8\",\n \"download_timeout\": 30.0,\n \"ffmpeg_path\": \"\",\n \"fixed_peer_delay\": 2.0,\n \"known_dht_nodes\": [],\n \"lbryum_servers\": [\n [\n \"127.0.0.1\",\n 50001\n ]\n ],\n \"max_connections_per_download\": 4,\n \"max_key_fee\": {\n \"amount\": 50.0,\n \"currency\": \"USD\"\n },\n \"max_wallet_server_fee\": \"0.0\",\n \"network_interface\": \"0.0.0.0\",\n \"node_rpc_timeout\": 5.0,\n \"peer_connect_timeout\": 3.0,\n \"prometheus_port\": 0,\n \"reflect_streams\": true,\n \"reflector_servers\": [\n [\n \"127.0.0.1\",\n 5566\n ]\n ],\n \"s3_headers_depth\": 960,\n \"save_blobs\": true,\n \"save_files\": true,\n \"save_resolved_claims\": true,\n \"share_usage_data\": false,\n \"split_buckets_under_index\": 1,\n \"streaming_get\": true,\n \"streaming_server\": \"localhost:5280\",\n \"tcp_port\": 3333,\n \"track_bandwidth\": true,\n \"udp_port\": 4444,\n \"use_upnp\": false,\n \"video_bitrate_maximum\": 8400000,\n \"video_encoder\": \"libx264 -crf 21 -preset faster -pix_fmt yuv420p\",\n \"video_scaler\": \"-vf \\\"scale=if(gte(iw\\\\,ih)\\\\,min(1920\\\\,iw)\\\\,-2):if(lt(iw\\\\,ih)\\\\,min(1920\\\\,ih)\\\\,-2)\\\" -maxrate 8400K -bufsize 5000K\",\n \"volume_analysis_time\": 240,\n \"volume_filter\": \"-af loudnorm\",\n \"wallet_dir\": \"/tmp/tmplr8v74_8\",\n \"wallets\": [\n \"default_wallet\"\n ]\n }\n}" } ] }, @@ -3255,10 +3267,10 @@ "examples": [ { "title": "Abandon a stream claim", - "curl": "curl -d'{\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream abandon b417290577f86e33f746980cc43dcf35a76e3374", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"010000000147b02b5e13d5b4cc153493734022cbc0c9df2a93f49afbd26c640c7db9c13ac3000000006b483045022100f6d5269d88af21461f57f6e7cf7ed6d548d22393fb371336fee9f0ba56692c36022028ab977abc1fdc681d0af0753b1816c61cce2939c1abbfcad8ad53be82a22af2012102b343002aa3e967dc7fd58c5e42a43afd9917761247c39eab60b5543068ea9b36ffffffff0134b7f505000000001976a9143f6f6e293757d1ec5035d4940811d684f1b4af6788ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": 3,\n \"height\": 214,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"timestamp\": 1466680974,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mmJNMTFfsS7yJJ4hAXxr2kESegkUqhUGxK\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": 1466646266,\n \"txid\": \"51d50cb1ed0d10ee35b52b76464f831413792d1e5f2b0dcec2beca03d6fe3a9c\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"51d50cb1ed0d10ee35b52b76464f831413792d1e5f2b0dcec2beca03d6fe3a9c\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream abandon 454e2102366e4aad6710f8520deb79093429c8a0", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000015c01419181cc683843d1ef32fb9e42d116b0649aeedc81c12ed8bb5590e1173b000000006a473044022066a7d89dcd2fc0eb7783680663541c3287375a3de88ba14fa284f7d0e94112b702207292edf9864549bbd6e0ab9ecc56bce9d4c6cf9abc7d206c4cb7dec252d61a830121033069faa90223a38a5d5d2fd43124c7d8160096077f144a0afe661c78e4830359ffffffff0134b7f505000000001976a9149805256d9bcce382cc63c05ca51913bc5e45669488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": 3,\n \"height\": 214,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"timestamp\": 1466680974,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"muNmAn1EovBRYxcxG8h9Rp8m3d7LwSpJ2A\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"6fb0762e7aec8037cc18989bafbfa151c9d53e50ffd3ce9835c6a5cfe4728148\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"6fb0762e7aec8037cc18989bafbfa151c9d53e50ffd3ce9835c6a5cfe4728148\"\n }\n}" } ] }, @@ -3471,17 +3483,17 @@ "examples": [ { "title": "Create a stream claim without metadata", - "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmp4s2rv5lr\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream create astream 1.0 /tmp/tmp4s2rv5lr", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmp4s2rv5lr\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001a1f83a8dac5fcde42ad2c49c94c09bfadeff3ad6d9af8024667d4a7f7c879360010000006a47304402201ed5bb4e669c723c264c94433157ef3470b0eac91e937e3d7442b812db44560302201e0538961870642b1beec5192ee325f4dcf66dfce5fdaba21a68100bb86713980121023b7a79ed531c250d3941e007e168d8837208b61ef3adf8e91963e93c8464300cffffffff0200e1f50500000000bab5076173747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d703473327276356c72180b22186170706c69636174696f6e2f6f637465742d73747265616d323063004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b816d7576a914b116bc7b344a29a65a05624cc01681215b056b4288ac38fb9423000000001976a914ee58da4da04826c532264958457031d70dfde91488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n2f241395dLShG7ccmpZKUSfR7YFitLnbr\",\n \"amount\": \"6.983769\",\n \"confirmations\": 4,\n \"height\": 209,\n \"is_spent\": false,\n \"nout\": 1,\n \"timestamp\": 1466680171,\n \"txid\": \"6093877c7f4a7d662480afd9d63affdefa9bc0949cc4d22ae4cd5fac8d3af8a1\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"timestamp\": 1466646266,\n \"txid\": \"d6f249f429c3fe9c50a3d347cf4a0e46053a23b32d9af5de027c74491ffca732\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n3FDZJkAZdD88VrnNJvHaskA8m8oF267rB\",\n \"amount\": \"5.969662\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"d6f249f429c3fe9c50a3d347cf4a0e46053a23b32d9af5de027c74491ffca732\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.014107\",\n \"total_input\": \"6.983769\",\n \"total_output\": \"6.969662\",\n \"txid\": \"d6f249f429c3fe9c50a3d347cf4a0e46053a23b32d9af5de027c74491ffca732\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpwpt3crhg\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream create astream 1.0 /tmp/tmpwpt3crhg", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpwpt3crhg\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001d47b17d06b9237574fa9ae9ea457145944f8e01907632d807c07c9be48f8e9ff010000006a473044022043f945f9ad95dfd6ae92e7e6a76601d515de9dcadeac296b453256a96f67dc58022017ca2e905dbb307bd3475810ae721e558a0928aecd416f25d5ddf46208f0b75d01210351945fdf5feb9507ebdd331b0c8a408b6c9766917a2d0c294ff93b06bea2bb61ffffffff0200e1f50500000000bab5076173747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707770743363726867180b22186170706c69636174696f6e2f6f637465742d73747265616d323056874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e16d7576a9146e4dd7c4bb9e0be61a4ed67cd5cdd6752be25e9088ac38fb9423000000001976a914bc3984fc416a03b391c8d7933d0a1d96600b5fec88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"muQHSfUfrSRj3raXfy7vK3M1PjhUFv7MY7\",\n \"amount\": \"6.983769\",\n \"confirmations\": 4,\n \"height\": 209,\n \"nout\": 1,\n \"timestamp\": 1466680171,\n \"txid\": \"ffe9f848bec9077c802d630719e0f844591457a49eaea94f5737926bd0177bd4\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"height\": -2,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"timestamp\": null,\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mxgCEe9UBGyKJiKnEEGxx8JbAiZEiKtcrY\",\n \"amount\": \"5.969662\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.014107\",\n \"total_input\": \"6.983769\",\n \"total_output\": \"6.969662\",\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\"\n }\n}" }, { "title": "Create an image stream claim with all metadata and fee", - "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmp0bz4e07e.png\", \"validate_file\": false, \"optimize_file\": false, \"fee_currency\": \"LBC\", \"fee_amount\": \"0.3\", \"title\": \"Blank Image\", \"description\": \"A blank PNG that is 5x7.\", \"author\": \"Picaso\", \"tags\": [\"blank\", \"art\"], \"languages\": [\"en\"], \"locations\": [\"US:NH:Manchester\"], \"license\": \"Public Domain\", \"license_url\": \"http://public-domain.org\", \"thumbnail_url\": \"http://smallmedia.com/thumbnail.jpg\", \"release_time\": 1585619135, \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream create blank-image 1.0 /tmp/tmp0bz4e07e.png --tags=blank --tags=art --languages=en --locations=US:NH:Manchester --fee_currency=LBC --fee_amount=0.3 --title=\"Blank Image\" --description=\"A blank PNG that is 5x7.\" --author=Picaso --license=\"Public Domain\" --license_url=http://public-domain.org --thumbnail_url=\"http://smallmedia.com/thumbnail.jpg\" --release_time=1585619135 --channel_id=\"304613c5db3e0439d3aeac2183296aaeaf49a328\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmp0bz4e07e.png\", \"validate_file\": false, \"optimize_file\": false, \"fee_currency\": \"LBC\", \"fee_amount\": \"0.3\", \"title\": \"Blank Image\", \"description\": \"A blank PNG that is 5x7.\", \"author\": \"Picaso\", \"tags\": [\"blank\", \"art\"], \"languages\": [\"en\"], \"locations\": [\"US:NH:Manchester\"], \"license\": \"Public Domain\", \"license_url\": \"http://public-domain.org\", \"thumbnail_url\": \"http://smallmedia.com/thumbnail.jpg\", \"release_time\": 1585619135, \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"010000000132a7fc1f49747c02def59a2db3233a05460e4acf47d3a3509cfec329f449f2d6010000006b483045022100c29b9c07ff0c0e33fa2a774ae537fc64ea673188493addc177a7df67d24600e2022016ce4ab6712b02eaf58e807528a5c22f5ebc9886b7d3e74a71d8e6848e54ded7012103d79d6395c6b7a9a089e29dcdde76ee9e7b119193ca966e0e597e17fde306f3f7ffffffff0200e1f50500000000fddc01b50b626c616e6b2d696d6167654db1010128a349afae6a298321acaed339043edbc51346309f46b4ef31aade52076b9eea70cc65f2b35c3fdf3d270d9c3c4ddf6ff5d7e826488928d5375156b244f27a39ca11ec999f5788cd854119240426d5e7e4cc08de0ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d7030627a34653037652e706e6718632209696d6167652f706e673230bac3bf82dd819d7d635e0b7e7e67a931ffb1510a33ec2226b850a107a9b31d63e43b96ccfe906e73d122845a84d4baf8120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728bfc18af4053222080112196fc608a1aca773f6714c174cc895cf030f2f1b67082806ac16188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e636865737465726d7576a914c608a1aca773f6714c174cc895cf030f2f1b670888acac5e7d1d000000001976a91434cae27d4aa666a3b8208ec8de561baaf42c5fb888ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n3FDZJkAZdD88VrnNJvHaskA8m8oF267rB\",\n \"amount\": \"5.969662\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_spent\": false,\n \"nout\": 1,\n \"timestamp\": 1466680814,\n \"txid\": \"d6f249f429c3fe9c50a3d347cf4a0e46053a23b32d9af5de027c74491ffca732\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mya4RmQTERdSBem1HV8PzXQhx6Zri7ED1X\",\n \"amount\": \"1.0\",\n \"claim_id\": \"cff8ccad3fd50a18bca94a93c8f6094fd26c0aa5\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"height\": -2,\n \"is_channel_signature_valid\": true,\n \"meta\": {},\n \"name\": \"blank-image\",\n \"normalized_name\": \"blank-image\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://blank-image#cff8ccad3fd50a18bca94a93c8f6094fd26c0aa5\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466646266,\n \"txid\": \"58e9bf49003400a47c4e3d122670aee7cc589a50852150d68a36b95acbf61eb6\",\n \"type\": \"claim\",\n \"value\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mya4RmQTERdSBem1HV8PzXQhx6Zri7ED1X\",\n \"amount\": \"0.3\",\n \"currency\": \"LBC\"\n },\n \"image\": {\n \"height\": 7,\n \"width\": 5\n },\n \"languages\": [\n \"en\"\n ],\n \"license\": \"Public Domain\",\n \"license_url\": \"http://public-domain.org\",\n \"locations\": [\n {\n \"city\": \"Manchester\",\n \"country\": \"US\",\n \"state\": \"NH\"\n }\n ],\n \"release_time\": \"1585619135\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmp0bz4e07e.png\",\n \"sd_hash\": \"bac3bf82dd819d7d635e0b7e7e67a931ffb1510a33ec2226b850a107a9b31d63e43b96ccfe906e73d122845a84d4baf8\",\n \"size\": \"99\"\n },\n \"stream_type\": \"image\",\n \"tags\": [\n \"blank\",\n \"art\"\n ],\n \"thumbnail\": {\n \"url\": \"http://smallmedia.com/thumbnail.jpg\"\n },\n \"title\": \"Blank Image\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mkL6UhxXe22hMUnJwMXRSGYjAPQp7Rk5kW\",\n \"amount\": \"4.947555\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"58e9bf49003400a47c4e3d122670aee7cc589a50852150d68a36b95acbf61eb6\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"5.969662\",\n \"total_output\": \"5.947555\",\n \"txid\": \"58e9bf49003400a47c4e3d122670aee7cc589a50852150d68a36b95acbf61eb6\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpeps_93l3.png\", \"validate_file\": false, \"optimize_file\": false, \"fee_currency\": \"LBC\", \"fee_amount\": \"0.3\", \"title\": \"Blank Image\", \"description\": \"A blank PNG that is 5x7.\", \"author\": \"Picaso\", \"tags\": [\"blank\", \"art\"], \"languages\": [\"en\"], \"locations\": [\"US:NH:Manchester\"], \"license\": \"Public Domain\", \"license_url\": \"http://public-domain.org\", \"thumbnail_url\": \"http://smallmedia.com/thumbnail.jpg\", \"release_time\": 1586192022, \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream create blank-image 1.0 /tmp/tmpeps_93l3.png --tags=blank --tags=art --languages=en --locations=US:NH:Manchester --fee_currency=LBC --fee_amount=0.3 --title=\"Blank Image\" --description=\"A blank PNG that is 5x7.\" --author=Picaso --license=\"Public Domain\" --license_url=http://public-domain.org --thumbnail_url=\"http://smallmedia.com/thumbnail.jpg\" --release_time=1586192022 --channel_id=\"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpeps_93l3.png\", \"validate_file\": false, \"optimize_file\": false, \"fee_currency\": \"LBC\", \"fee_amount\": \"0.3\", \"title\": \"Blank Image\", \"description\": \"A blank PNG that is 5x7.\", \"author\": \"Picaso\", \"tags\": [\"blank\", \"art\"], \"languages\": [\"en\"], \"locations\": [\"US:NH:Manchester\"], \"license\": \"Public Domain\", \"license_url\": \"http://public-domain.org\", \"thumbnail_url\": \"http://smallmedia.com/thumbnail.jpg\", \"release_time\": 1586192022, \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001fbfd9e215b95c64c2ea9108558606d6f5eb11063f78bf2381b4f33403fe525a6010000006b4830450221008a28e5590156caef448624e4bd7e43b384dfe2fc5bb25459ea14ab23a5408ec702207f388ee0fd54e37e93fdf52a64d3ce8f66e1a7f2c5241327597ef2bcfad998cf012103feb48b3ba77198e300a8e89d0a9014cc048e8d83ace52379e06a76af639b2327ffffffff0200e1f50500000000fddc01b50b626c616e6b2d696d6167654db10101f6e2d016ad055e9e2f2d7eb8f3dc0a919d316ad3f1994b58214f0d2a6b75255d0362e961133e4d6df32e559f7a1f6e2056eb0ddf28a1f0d89f742a3c961b9cf232395ed3ef1d811c274412cf07afe7147b84dc340ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d706570735f39336c332e706e6718632209696d6167652f706e673230842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f72672896bdadf4053222080112196f0bead3ea3148c596e1adea6310d245d2edb5b560d5d52766188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e636865737465726d7576a9140bead3ea3148c596e1adea6310d245d2edb5b56088acac5e7d1d000000001976a9148609cbafee190e69920e8c88a80d6f21f2a8396088ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mxgCEe9UBGyKJiKnEEGxx8JbAiZEiKtcrY\",\n \"amount\": \"5.969662\",\n \"confirmations\": 2,\n \"height\": 213,\n \"nout\": 1,\n \"timestamp\": 1466680814,\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mgby3HVfuumTkNc8D5eGpL1fNEHSoy51QH\",\n \"amount\": \"1.0\",\n \"claim_id\": \"485ffc0df5f7b0b4dd17ab0eec3695126d0036fd\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"height\": -2,\n \"is_channel_signature_valid\": true,\n \"meta\": {},\n \"name\": \"blank-image\",\n \"normalized_name\": \"blank-image\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://blank-image#485ffc0df5f7b0b4dd17ab0eec3695126d0036fd\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"29e3584f7c0564e2552fd05dc5b8acbe45a4edc3bb7eafd98b8b1d1cf6f51eb8\",\n \"type\": \"claim\",\n \"value\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mgby3HVfuumTkNc8D5eGpL1fNEHSoy51QH\",\n \"amount\": \"0.3\",\n \"currency\": \"LBC\"\n },\n \"image\": {\n \"height\": 7,\n \"width\": 5\n },\n \"languages\": [\n \"en\"\n ],\n \"license\": \"Public Domain\",\n \"license_url\": \"http://public-domain.org\",\n \"locations\": [\n {\n \"city\": \"Manchester\",\n \"country\": \"US\",\n \"state\": \"NH\"\n }\n ],\n \"release_time\": \"1586192022\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpeps_93l3.png\",\n \"sd_hash\": \"842c6998c239e6c114de29efdb44a3451e61dd59f86cb36ec0494fdd9d8433e05ae143f78c5449960c243d99490c5280\",\n \"size\": \"99\"\n },\n \"stream_type\": \"image\",\n \"tags\": [\n \"blank\",\n \"art\"\n ],\n \"thumbnail\": {\n \"url\": \"http://smallmedia.com/thumbnail.jpg\"\n },\n \"title\": \"Blank Image\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"msjgaNbkWUPhoKkSBDhX8kGX3U3BTVejHr\",\n \"amount\": \"4.947555\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"29e3584f7c0564e2552fd05dc5b8acbe45a4edc3bb7eafd98b8b1d1cf6f51eb8\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"5.969662\",\n \"total_output\": \"5.947555\",\n \"txid\": \"29e3584f7c0564e2552fd05dc5b8acbe45a4edc3bb7eafd98b8b1d1cf6f51eb8\"\n }\n}" } ] }, @@ -3501,6 +3513,12 @@ "description": "stream id", "is_required": false }, + { + "name": "is_spent", + "type": "bool", + "description": "shows previous stream updates and abandons", + "is_required": false + }, { "name": "account_id", "type": "str", @@ -3542,17 +3560,17 @@ "examples": [ { "title": "List all your stream claims", - "curl": "curl -d'{\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", + "curl": "curl -d'{\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", "lbrynet": "lbrynet stream list", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"resolve\": false, \"no_totals\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"resolve\": false, \"no_totals\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"create\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"timestamp\": 1466680814,\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" }, { "title": "Paginate your stream claims", - "curl": "curl -d'{\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", + "curl": "curl -d'{\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", "lbrynet": "lbrynet stream list --page=1 --page_size=20", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466680974,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"create\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"timestamp\": 1466680814,\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" } ] }, @@ -3885,10 +3903,10 @@ "examples": [ { "title": "Update a stream claim to add channel", - "curl": "curl -d'{\"method\": \"stream_update\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream update b417290577f86e33f746980cc43dcf35a76e3374 --channel_id=\"304613c5db3e0439d3aeac2183296aaeaf49a328\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_update\", \"params\": {\"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"010000000232a7fc1f49747c02def59a2db3233a05460e4acf47d3a3509cfec329f449f2d6000000006b483045022100af94690d7e86b0bb266622803b4923958ee3ebfa810271875cf6193897ff14c5022076c717310ea890d84f16306bb8163a25724d6592ade879623ee48b7feb105c59012102b343002aa3e967dc7fd58c5e42a43afd9917761247c39eab60b5543068ea9b36ffffffff764fd7176883240db438fc9ced71abb4b8dfda37b1b5a6d7e7bb257a84a8202e010000006b483045022100fa5ff07909a0b5c497dbf35d82f67e113be50a7676db9179c4a803de9c3c311b022067b9cba37f2511c63523c3a35cfe34fd1d01ad5257ee94525fd8d50c32a6da9f012102e81bdae9fae369844547c06c6d0ff0f9a78cb7626b70ff71461ce3d930191969ffffffff0200e1f50500000000fd2301b7076173747265616d1474336ea735cf3dc40c9846f7336ef877052917b44ce80128a349afae6a298321acaed339043edbc5134630e3e5c3fffabbc16690ec00df8f717235b3217ea27fbd8cd335c0abf344ebbe19d733d648f4230ee35ed5144a97aed7852dc8e613629eb6289ef8db0a8f8f25850a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d703473327276356c72180b22186170706c69636174696f6e2f6f637465742d73747265616d323063004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b816d6d76a914b116bc7b344a29a65a05624cc01681215b056b4288ac32a0d205000000001976a91432f5fcc29e9c70ebf331e37279112cb3a5b9752488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"height\": 213,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"timestamp\": 1466680814,\n \"txid\": \"d6f249f429c3fe9c50a3d347cf4a0e46053a23b32d9af5de027c74491ffca732\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mfWzoeWq8tdZJWcMKaWgC2iLHVx6fWtQkB\",\n \"amount\": \"0.9772285\",\n \"confirmations\": 3,\n \"height\": 211,\n \"is_spent\": false,\n \"nout\": 1,\n \"timestamp\": 1466680492,\n \"txid\": \"2e20a8847a25bbe7d7a6b5b137dadfb8b4ab71ed9cfc38b40d24836817d74f76\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mwfK8kVb2w4P5HMQG7qF9FJUphvwvv276R\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b417290577f86e33f746980cc43dcf35a76e3374\",\n \"claim_op\": \"update\",\n \"confirmations\": -2,\n \"height\": -2,\n \"is_channel_signature_valid\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#b417290577f86e33f746980cc43dcf35a76e3374\",\n \"signing_channel\": {\n \"address\": \"mn8TLwsBKAhp3hBdmqFBriYMP1pKbWmCkQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#304613c5db3e0439d3aeac2183296aaeaf49a328\",\n \"timestamp\": 1466680331,\n \"txid\": \"1b4e1cbe7410fff87c6c569d30efd0d8d62ce359e736610c165b3af10918fac3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048cd7720f02952ebe51d9e8c1b495743919ce730f25ac195cae43d8d598724a60b88d50381ad4874d6ba0b3dcf819077a41ab854831404f97d7626c3df626c638\",\n \"public_key_id\": \"mjP2THCJ1MFjmsmw8nRK5Wd3BfehMSHSEs\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1466646266,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp4s2rv5lr\",\n \"sd_hash\": \"63004f5578b24360b3c67cffa552d07a4a334375afb7972c8beb47b835a1cec86b7208dc17addf852377e6afb78b8b81\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mkAQm9R1CD72sLjMnSgtiYJWfEu8vc6opu\",\n \"amount\": \"0.9768965\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": 1466646266,\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000332\",\n \"total_input\": \"1.9772285\",\n \"total_output\": \"1.9768965\",\n \"txid\": \"c33ac1b97d0c646cd2fb9af4932adfc9c0cb224073933415ccb4d5135e2bb047\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_update\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream update 454e2102366e4aad6710f8520deb79093429c8a0 --channel_id=\"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_update\", \"params\": {\"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000002fbfd9e215b95c64c2ea9108558606d6f5eb11063f78bf2381b4f33403fe525a6000000006a47304402203c0007217bf2c140f5d6078d7375f375ca8e0c75cc14c2130a0ed30566d66e0702204c2648023d6d1c8eea98ad05fca5429e65b4e65a240de2b7595104eb99a23da10121033069faa90223a38a5d5d2fd43124c7d8160096077f144a0afe661c78e4830359ffffffff2e5be13f2313a654f292d69da185a96974d1b521e21b515fa3d456b5f78c024f010000006b483045022100de00ae7b3c36c28a366a40a8d06ab37258e4001712c893fe135c0a4ef04ac54b0220535f942d2be83107d489dda40664e21ea7c9028f72161f66ef9c63a086947e4301210340c641e50a644e5c468da71c88cf72faf3a67fb1539be201fd176a7976a065dcffffffff0200e1f50500000000fd2301b7076173747265616d14a0c829340979eb0d52f81067ad4a6e3602214e454ce801f6e2d016ad055e9e2f2d7eb8f3dc0a919d316ad3cedf954eefb6105bb86cd04a708f50e7e6d5ceac543ecc64fb60047aeb9708b1c9c4c174498f1ca959c471183f56b84c882c20d00cd09f5cc842dec6a84c2c0f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707770743363726867180b22186170706c69636174696f6e2f6f637465742d73747265616d323056874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e16d6d76a9146e4dd7c4bb9e0be61a4ed67cd5cdd6752be25e9088ac32a0d205000000001976a914e505feb573f767679051d2984480e93a7e47324988ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"height\": 213,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"timestamp\": 1466680814,\n \"txid\": \"a625e53f40334f1b38f28bf76310b15e6f6d60588510a92e4cc6955b219efdfb\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqSGF1kpizu7MHdEidmWoL2BYrvSVCwhfs\",\n \"amount\": \"0.9772285\",\n \"confirmations\": 3,\n \"height\": 211,\n \"nout\": 1,\n \"timestamp\": 1466680492,\n \"txid\": \"4f028cf7b556d4a35f511be221b5d17469a985a19dd692f254a613233fe15b2e\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqaBsmgF4KGpYq5TPjf8ydLJdynPvS42i9\",\n \"amount\": \"1.0\",\n \"claim_id\": \"454e2102366e4aad6710f8520deb79093429c8a0\",\n \"claim_op\": \"update\",\n \"confirmations\": -2,\n \"height\": -2,\n \"is_channel_signature_valid\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#454e2102366e4aad6710f8520deb79093429c8a0\",\n \"signing_channel\": {\n \"address\": \"mia1Pv4pSUNMA6YjwyZMMmPvSSxQdDa1BU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#d36a319d910adcf3b87e2d2f9e5e05ad16d0e2f6\",\n \"timestamp\": 1466680331,\n \"txid\": \"dcb762030dc3d24cd1fa84d9afabf31f03e9f48488c6f5b82b94c3692a9692c3\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004d4038df41f3ae810e68aab816af054f9f941c5300a524e8f6b3fb3faab7169148f5003e4cbe4d9895a89907fa41a6f627991abb78a8e0bd9b1c192f7f563274c\",\n \"public_key_id\": \"mn9MUBD6jC5wej35vpNSfpJ5cQ1k6QwM3Y\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpt3crhg\",\n \"sd_hash\": \"56874fa682690c5415893936262b455aa7b8247f8db16f169dbbc3a23525570c07d22adfd9f49ce8e50521356837d8e1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n2PvDX7hebEE28YuMSvHXr83tSjaDKrK3d\",\n \"amount\": \"0.9768965\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000332\",\n \"total_input\": \"1.9772285\",\n \"total_output\": \"1.9768965\",\n \"txid\": \"3b17e19055bbd82ec181dcee9a64b016d1429efb32efd1433868cc819141015c\"\n }\n}" } ] } @@ -4011,7 +4029,7 @@ }, { "name": "support_list", - "description": "List supports and tips in my control.", + "description": "List staked supports and sent/received tips.", "arguments": [ { "name": "name", @@ -4026,9 +4044,27 @@ "is_required": false }, { - "name": "tips", + "name": "received", "type": "bool", - "description": "only show tips", + "description": "only show received (tips)", + "is_required": false + }, + { + "name": "sent", + "type": "bool", + "description": "only show sent (tips)", + "is_required": false + }, + { + "name": "staked", + "type": "bool", + "description": "only show my staked supports", + "is_required": false + }, + { + "name": "is_spent", + "type": "bool", + "description": "show abandoned supports", "is_required": false }, { @@ -4190,7 +4226,7 @@ "curl": "curl -d'{\"method\": \"transaction_list\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet transaction list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"transaction_list\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 1,\n \"date\": \"2016-06-23 07:04\",\n \"fee\": \"-0.000124\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1466679849,\n \"txid\": \"de03731c8a7d576729fcf14a2f0f1a527d5c7d867494e2c21edf4311ad96268b\",\n \"update_info\": [],\n \"value\": \"0.0\"\n },\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 7,\n \"date\": \"2016-06-23 06:48\",\n \"fee\": \"0.0\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1466678885,\n \"txid\": \"f8d53cf8bfafd0a6e05e5a664f0e63933664e36fd2c9104683382e6e6a7d76ba\",\n \"update_info\": [],\n \"value\": \"10.0\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 1,\n \"date\": \"2016-06-23 07:04\",\n \"fee\": \"-0.000124\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1466679849,\n \"txid\": \"ebc03e87aa103d319885a3622e7035ae0eb9e893fafdc003d742e886aa9601c8\",\n \"update_info\": [],\n \"value\": \"0.0\"\n },\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 7,\n \"date\": \"2016-06-23 06:48\",\n \"fee\": \"0.0\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1466678885,\n \"txid\": \"e9a9b17976b086cc280a592195879890992c78108eb37187cc62bd85bf15308f\",\n \"update_info\": [],\n \"value\": \"10.0\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" } ] }, @@ -4248,9 +4284,15 @@ "is_required": false }, { - "name": "unspent", + "name": "is_spent", "type": "bool", - "description": "hide spent outputs, show only unspent ones", + "description": "only show spent txos", + "is_required": false + }, + { + "name": "is_not_spent", + "type": "bool", + "description": "only show not spent txos", "is_required": false }, { @@ -4370,9 +4412,15 @@ "is_required": false }, { - "name": "unspent", + "name": "is_spent", "type": "bool", - "description": "hide spent outputs, show only unspent ones", + "description": "only show spent txos", + "is_required": false + }, + { + "name": "is_not_spent", + "type": "bool", + "description": "only show not spent txos", "is_required": false }, { @@ -4572,9 +4620,15 @@ "is_required": false }, { - "name": "unspent", + "name": "is_spent", "type": "bool", - "description": "hide spent outputs, show only unspent ones", + "description": "only show spent txos", + "is_required": false + }, + { + "name": "is_not_spent", + "type": "bool", + "description": "only show not spent txos", "is_required": false }, {