diff --git a/lbry/docs/api.json b/lbry/docs/api.json index 7d7d186f8..06d90cf78 100644 --- a/lbry/docs/api.json +++ b/lbry/docs/api.json @@ -47,10 +47,10 @@ "examples": [ { "title": "Get a file", - "curl": "curl -d'{\"method\": \"get\", \"params\": {\"uri\": \"astream#7595c2f82ced3c58c1225073590ce18f3edd0291\"}}' http://localhost:5279/", - "lbrynet": "lbrynet get astream#7595c2f82ced3c58c1225073590ce18f3edd0291", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"get\", \"params\": {\"uri\": \"astream#7595c2f82ced3c58c1225073590ce18f3edd0291\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1574264332,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmp5dcqjwi1\",\n \"download_path\": \"/tmp/tmp5dcqjwi1/tmp6zg8pas6\",\n \"file_name\": \"tmp6zg8pas6\",\n \"height\": 214,\n \"key\": \"d59637b15acc1d0a31ac7025d5318241\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01834299b5b1cbce8b18d14ea57374ff848c85daea8197ad276293ee21d20b350f8c8bec61bf067c9853833b06d9e8253bc3aaae327ca7b97e008ffd759ffc961090621fce9c2dd1a1541306784185f78610b0f62b0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70367a673870617336180b22186170706c69636174696f6e2f6f637465742d73747265616d3230966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"0377e60d0033942da7b9a28c07a7e89eba0046dbd8bd60a11c7f3e2df1d51a2467da10bbcb7a395b13750ab7ceae9470\",\n \"stream_name\": \"tmp6zg8pas6\",\n \"streaming_url\": \"http://localhost:5280/stream/966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"suggested_file_name\": \"tmp6zg8pas6\",\n \"timestamp\": 1574264354,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"written_bytes\": 11\n }\n}" + "curl": "curl -d'{\"method\": \"get\", \"params\": {\"uri\": \"astream#6d779c509a47c97a050540a42863341eed6c47ad\"}}' http://localhost:5279/", + "lbrynet": "lbrynet get astream#6d779c509a47c97a050540a42863341eed6c47ad", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"get\", \"params\": {\"uri\": \"astream#6d779c509a47c97a050540a42863341eed6c47ad\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1574265331,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmpgnoina61\",\n \"download_path\": \"/tmp/tmpgnoina61/tmprsllesnu\",\n \"file_name\": \"tmprsllesnu\",\n \"height\": 214,\n \"key\": \"f67a8b72104b6dba232cfcd28e7a4766\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01a1fdf826393329fab1baee6ea3a5d7d104b8f97610031e5b3c49954d7f8854224fcc586162ffb37ebce66182dfadad96713bf9bb3c14c01dd7f8dce2923d4b4b07fbc272d1d7365de8719f714a3647fb62b2ca3a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d7072736c6c65736e75180b22186170706c69636174696f6e2f6f637465742d73747265616d3230b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"092716e0202018119c909a6cce0f837c05a817359061112ca9efc5112d34369510980187e66ec45a3c34f40319275879\",\n \"stream_name\": \"tmprsllesnu\",\n \"streaming_url\": \"http://localhost:5280/stream/b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"suggested_file_name\": \"tmprsllesnu\",\n \"timestamp\": 1574265353,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"written_bytes\": 11\n }\n}" } ] }, @@ -231,10 +231,10 @@ "examples": [ { "title": "Publish a file", - "curl": "curl -d'{\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpxdmudhib\", \"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/tmpxdmudhib", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpxdmudhib\", \"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\": \"01000000011fa70618992270f1b04e18acb8faca83357d8b5ea4150062858e0c5856cd35f8010000006b483045022100db0e94a0d2a5593e04aed8ea8de9532debcfb461c419da698f1936f327e8a4c60220226dc64703ab90316f25184583bf56876e886bb2791f8c357e774acc3613abf5012102ca69f4dfe3f350aae07639105a9e24d82d66cf0f1233a1cc1c02fbe1841d1271ffffffff0200e1f50500000000bfb50c612d6e65772d73747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d7078646d7564686962180b22186170706c69636174696f6e2f6f637465742d73747265616d32303985ebf1101afd71bb3c73978a27bd532fdbea2740a0b6870547e68ca12421a585777a19ce6d1bcf921f68cdb5cbe70f6d7576a9146cb9ca542adc5cdf1ebd5c9fc574adc7267a9f9c88ace0b46217000000001976a9146db3a738e1b6842f5a3d3f9b97749f37ee40c22c88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mtkpp5jNbnuAfZha2ZV2e9o3taMynbz6FN\",\n \"amount\": \"4.947555\",\n \"confirmations\": 4,\n \"height\": 215,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574264354,\n \"txid\": \"f835cd56580c8e85620015a45e8b7d3583cafab8ac184eb0f17022991806a71f\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqRqqiD6s1XFCaiSbMDAHVdafDQ2KXgEfa\",\n \"amount\": \"1.0\",\n \"claim_id\": \"ef4c640ea7687c11a4c7a0f42c12b2ca0f84dae4\",\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#ef4c640ea7687c11a4c7a0f42c12b2ca0f84dae4\",\n \"timestamp\": null,\n \"txid\": \"a0bf4ceaac724560d21ad63cb83bbae76df455799b4eab97acd57dac37357d92\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpxdmudhib\",\n \"sd_hash\": \"3985ebf1101afd71bb3c73978a27bd532fdbea2740a0b6870547e68ca12421a585777a19ce6d1bcf921f68cdb5cbe70f\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqX1AVEGR4s5LMy1LbuVJ5UvCwrPmaKF1A\",\n \"amount\": \"3.923448\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"a0bf4ceaac724560d21ad63cb83bbae76df455799b4eab97acd57dac37357d92\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.024107\",\n \"total_input\": \"4.947555\",\n \"total_output\": \"4.923448\",\n \"txid\": \"a0bf4ceaac724560d21ad63cb83bbae76df455799b4eab97acd57dac37357d92\"\n }\n}" + "curl": "curl -d'{\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpj75adf8c\", \"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/tmpj75adf8c", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpj75adf8c\", \"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\": \"01000000014b4df6fa2d6bb71b8963612d726f784dde2af32bfab13e96b0339f81301b0f48010000006b483045022100aff221a2ddf4253b22658eaeaf7cb16c2d561e3adcf68f7fee8965b3a935de5f0220321668388dc2b49b200d49e890027f500a3eb249645d9f5b6f46a33a9362dbf6012103a6b983e7675a1caab5c6ba805072f0dc58d8c1c968f1d52a4dd3be4f2fa04eb9ffffffff0200e1f50500000000bfb50c612d6e65772d73747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d706a37356164663863180b22186170706c69636174696f6e2f6f637465742d73747265616d3230776854e31884a3d321f5cba68a640d5d995830a21e4f7ea985d0441807f27bce45931c596ce0593ad47098dc7e55b6286d7576a9145b6f93dc376438022d0efc6e47fee875712590b488ace0b46217000000001976a9141bfe3963c1ea54a16243934a6c2fb6e2e3bf751788ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mpzToGNACEPUN3SP3mavDeXyjZLPBAdKzh\",\n \"amount\": \"4.947555\",\n \"confirmations\": 4,\n \"height\": 215,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574265353,\n \"txid\": \"480f1b30819f33b0963eb1fa2bf32ade4d786f722d6163891bb76b2dfaf64d4b\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"morRT4ExEyDWP11jMcr1HgZEq41QcScjzV\",\n \"amount\": \"1.0\",\n \"claim_id\": \"252b24ba95a8ce9219092bc57fae0e79680f0339\",\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#252b24ba95a8ce9219092bc57fae0e79680f0339\",\n \"timestamp\": null,\n \"txid\": \"7da7cd3dea5c6ee825309226683067a2faa2011c18482048f84be11da74a615a\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpj75adf8c\",\n \"sd_hash\": \"776854e31884a3d321f5cba68a640d5d995830a21e4f7ea985d0441807f27bce45931c596ce0593ad47098dc7e55b628\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mi4y63DYGkcC8Vgc1wLMc1GSB4wJdK9zQL\",\n \"amount\": \"3.923448\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"7da7cd3dea5c6ee825309226683067a2faa2011c18482048f84be11da74a615a\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.024107\",\n \"total_input\": \"4.947555\",\n \"total_output\": \"4.923448\",\n \"txid\": \"7da7cd3dea5c6ee825309226683067a2faa2011c18482048f84be11da74a615a\"\n }\n}" } ] }, @@ -259,10 +259,10 @@ "examples": [ { "title": "Resolve a claim", - "curl": "curl -d'{\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#7595c2f82ced3c58c1225073590ce18f3edd0291\"]}}' http://localhost:5279/", - "lbrynet": "lbrynet resolve astream#7595c2f82ced3c58c1225073590ce18f3edd0291", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#7595c2f82ced3c58c1225073590ce18f3edd0291\"]}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"astream#7595c2f82ced3c58c1225073590ce18f3edd0291\": {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#e/astream#7\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\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\": 1574264354,\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#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"short_url\": \"lbry://astream#7\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#e\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\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\": 1574264353,\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#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"short_url\": \"lbry://@channel#e\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574264354,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n }\n}" + "curl": "curl -d'{\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#6d779c509a47c97a050540a42863341eed6c47ad\"]}}' http://localhost:5279/", + "lbrynet": "lbrynet resolve astream#6d779c509a47c97a050540a42863341eed6c47ad", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#6d779c509a47c97a050540a42863341eed6c47ad\"]}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"astream#6d779c509a47c97a050540a42863341eed6c47ad\": {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#7/astream#6\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\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\": 1574265353,\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#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"short_url\": \"lbry://astream#6\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#7\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\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\": 1574265352,\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#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"short_url\": \"lbry://@channel#7\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574265353,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n }\n}" } ] }, @@ -284,7 +284,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\": \"connected\",\n \"message\": \"No connection problems detected\"\n },\n \"installation_id\": \"9sPrk46gUmtYcL9aHw3y1PBc8g6JiWj1SAfULwsHh3iujzNorAXKA2hfz75mKQ3ZMk\",\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 },\n \"stream_manager\": {\n \"managed_files\": 0\n },\n \"wallet\": {\n \"best_blockhash\": \"2e5b3c38359c926699d2c33e2071d0efd33381c410bd3677a81e0e3a5e91e41e\",\n \"blocks\": 206,\n \"blocks_behind\": 0,\n \"connected_servers\": [\n {\n \"host\": \"localhost\",\n \"latency\": 0.01,\n \"port\": 50002\n }\n ],\n \"headers_synchronization_progress\": 100\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\": \"connected\",\n \"message\": \"No connection problems detected\"\n },\n \"installation_id\": \"74U1CVifa5TSrJmrBCWUemuehciruvX7jp93cy3JZ3hPueR58izqFbkVeEkjo8dkcc\",\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 },\n \"stream_manager\": {\n \"managed_files\": 0\n },\n \"wallet\": {\n \"best_blockhash\": \"ee5cc9630f7869eb12890fb4041401996ea0190974145eeeea71a5155030d888\",\n \"blocks\": 206,\n \"blocks_behind\": 0,\n \"connected_servers\": [\n {\n \"host\": \"localhost\",\n \"latency\": 0.01,\n \"port\": 50002\n }\n ],\n \"headers_synchronization_progress\": 100\n }\n }\n}" } ] }, @@ -360,10 +360,10 @@ "examples": [ { "title": "Add an account from seed", - "curl": "curl -d'{\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"sock panda move ethics pact question muffin visa sausage assault exit weather\", \"single_key\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet account add \"new account\" --seed=\"sock panda move ethics pact question muffin visa sausage assault exit weather\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"sock panda move ethics pact question muffin visa sausage assault exit weather\", \"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\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1574264321.4309537,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPfP8S3BpZ7QnthNTxkuisWA4CffhM7AUmyjnzL8ufb9WnDzQSjN1dmWoX64SptnEs2EqsWdah6vKbSYc5yMRUD7pwXUgSi2V\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YrADvqV9WpT1GPytvEun5TeyxBjeXSHApE3kxXjFme8eQ7c5PzwARZE9XkXbYjK1DpTG7QkFsrpXZbwobVjXWoryEKLbvyY\",\n \"seed\": \"sock panda move ethics pact question muffin visa sausage assault exit weather\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"boat diesel bring bounce aerobic scrap nephew aerobic palm dumb asthma tower\", \"single_key\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet account add \"new account\" --seed=\"boat diesel bring bounce aerobic scrap nephew aerobic palm dumb asthma tower\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"boat diesel bring bounce aerobic scrap nephew aerobic palm dumb asthma tower\", \"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\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1574265320.2105434,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPdRGVhcCgBrtSjGo285mwfMDKLWfk5bh86xwY1cJ1kLxuYhazqBt71vMPLDhSc4EAT56NkNGWBGNpxJkNQCD5PihgzB5sc1v\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WtJHbFsGbGYZJJJxHQxrEep6d2i3VsVWwTCJe17bvqamipUqzRMr1DhNPdv7DCDyEiwmZLLZgDdNKagSvfb4s84hXbPnnSH\",\n \"seed\": \"boat diesel bring bounce aerobic scrap nephew aerobic palm dumb asthma tower\"\n }\n}" } ] }, @@ -401,9 +401,9 @@ }, { "title": "Get balance for specific account by id", - "curl": "curl -d'{\"method\": \"account_balance\", \"params\": {\"account_id\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\"}}' http://localhost:5279/", - "lbrynet": "lbrynet account balance \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_balance\", \"params\": {\"account_id\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\"}}).json()", + "curl": "curl -d'{\"method\": \"account_balance\", \"params\": {\"account_id\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\"}}' http://localhost:5279/", + "lbrynet": "lbrynet account balance \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_balance\", \"params\": {\"account_id\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\"}}).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}" } ] @@ -438,7 +438,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\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1574264321.2536354,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPfP8S3BpZ7QnthNTxkuisWA4CffhM7AUmyjnzL8ufb9WnDzQSjN1dmWoX64SptnEs2EqsWdah6vKbSYc5yMRUD7pwXUgSi2V\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YrADvqV9WpT1GPytvEun5TeyxBjeXSHApE3kxXjFme8eQ7c5PzwARZE9XkXbYjK1DpTG7QkFsrpXZbwobVjXWoryEKLbvyY\",\n \"seed\": \"sock panda move ethics pact question muffin visa sausage assault exit weather\"\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\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1574265320.0034864,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPdRGVhcCgBrtSjGo285mwfMDKLWfk5bh86xwY1cJ1kLxuYhazqBt71vMPLDhSc4EAT56NkNGWBGNpxJkNQCD5PihgzB5sc1v\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WtJHbFsGbGYZJJJxHQxrEep6d2i3VsVWwTCJe17bvqamipUqzRMr1DhNPdv7DCDyEiwmZLLZgDdNKagSvfb4s84hXbPnnSH\",\n \"seed\": \"boat diesel bring bounce aerobic scrap nephew aerobic palm dumb asthma tower\"\n }\n}" } ] }, @@ -493,24 +493,24 @@ "examples": [ { "title": "Transfer 2 LBC from default account to specific account", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --to_account=\"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\" --amount=2.0 --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001a846445c1113717336246fbc526d698299a08893417ea0e6cb23b30fbc4b5d21010000006a47304402203bdb132e8d21ce02164c8940cc7506ffbf7aeca24448fecddbff4791ce4b04af0220746cdf0f667ab2c89117bd389f174e9e8c8d48556bfd0072d4a77ece5f6f8d5a01210395f64c23caf9db4a1757953d03df9b2ac7669a9b43126a10caa6292d513d141affffffff0200c2eb0b000000001976a91412d41231858794363acfc8d9c9bb847c61b0fa0f88ac90d7ae2f000000001976a9149aba8994502c55c76258bd46e7d96f11c3adf58188ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mujug3Jorq72ZbuF7ZvCTPApvdqL4E33fY\",\n \"amount\": \"10.0\",\n \"confirmations\": 6,\n \"height\": 201,\n \"is_change\": false,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574264352,\n \"txid\": \"215d4bbc0fb323cbe6a07e419388a09982696d52bc6f2436737113115c4446a8\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mhEWWTp8pVfXNvBLc2NYP2L9b8wtYswRVs\",\n \"amount\": \"2.0\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"c1962cea22002ef015edbe292ea8f12e5c8be70d5daace5653a9bfab74555b80\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mud5pSea6YmQeqygsiwRfSfiFw8VrYVVAW\",\n \"amount\": \"7.999876\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"c1962cea22002ef015edbe292ea8f12e5c8be70d5daace5653a9bfab74555b80\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000124\",\n \"total_input\": \"10.0\",\n \"total_output\": \"9.999876\",\n \"txid\": \"c1962cea22002ef015edbe292ea8f12e5c8be70d5daace5653a9bfab74555b80\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --to_account=\"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\" --amount=2.0 --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001276e9cfba73cb4448a96198655b86391ac3da3a508cc0efbef344f9be34ccf1b010000006b483045022100e0d7d563ba1fef74e214800b5ef2a52b39a1a028f669da9c2e5a929faabb799002200342f38bba0e5f98b2d2257e3614fb8923ea67a74bca5bed2e704ee34025f348012102474c29b50715004a9ebcbd3437d191003a07d070e7d690f308d6617784f6b589ffffffff0200c2eb0b000000001976a91430ef0de4c1658b4786a47735a51889541f4ea0d888ac90d7ae2f000000001976a9140954d00cc8870a6fffe95dd68a4b8c0b43e0eb1488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mii4sVHEHUe2b5ByScY8YRy8uoFHJQQiLL\",\n \"amount\": \"10.0\",\n \"confirmations\": 6,\n \"height\": 201,\n \"is_change\": false,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574265351,\n \"txid\": \"1bcf4ce39b4f34effb0ecc08a5a33dac9163b8558619968a44b43ca7fb9c6e27\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mjyh73VqvMjSJqXjwBQPhjmxfssBfToEYb\",\n \"amount\": \"2.0\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"0d57203f8c33a7d381716014c0ff32a1e532420b91cdd36e2c141552b218bd6c\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mgNHyfoek6eo9py6eA7nVWihdjQoepAqaE\",\n \"amount\": \"7.999876\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"0d57203f8c33a7d381716014c0ff32a1e532420b91cdd36e2c141552b218bd6c\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000124\",\n \"total_input\": \"10.0\",\n \"total_output\": \"9.999876\",\n \"txid\": \"0d57203f8c33a7d381716014c0ff32a1e532420b91cdd36e2c141552b218bd6c\"\n }\n}" }, { "title": "Spread LBC between multiple addresses", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"from_account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --to_account=\"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\" --from_account=\"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\" --amount=1.5 --outputs=2 --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"from_account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001805b5574abbfa95356ceaa5d0de78b5c2ef1a82e29beed15f02e0022ea2c96c1000000006b483045022100faf624d2408a0f4228bb4f9a16ab5483c42a841d69d5d56a79e349706f28635702206de2cb80e2929d895a0c7b8e52bace504b816ed1391ec5ba0683ea9fc604ea7e012103edcb4e28f63469097b4fe8c29be1c6c3df916b53ec722d1675d8c4bbe9ea8844ffffffff03c0687804000000001976a91411c20f1a9612ced3f4042f0ee78985f9aade015088acc0687804000000001976a91411c20f1a9612ced3f4042f0ee78985f9aade015088ac6cb9fa02000000001976a9141856ed443140daed2573945803e9b31e8cc50af088ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mhEWWTp8pVfXNvBLc2NYP2L9b8wtYswRVs\",\n \"amount\": \"2.0\",\n \"confirmations\": 1,\n \"height\": 207,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 0,\n \"timestamp\": 1574264353,\n \"txid\": \"c1962cea22002ef015edbe292ea8f12e5c8be70d5daace5653a9bfab74555b80\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mh8rFmfDnjMH3H6m81nGV48U5kYRSsrQVQ\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"8179dc90cd4e90ec463eded1ecdbf444a6fe896a24d1c57a6fd12818a630f356\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mh8rFmfDnjMH3H6m81nGV48U5kYRSsrQVQ\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"8179dc90cd4e90ec463eded1ecdbf444a6fe896a24d1c57a6fd12818a630f356\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mhjeeSSSRkynvH94rm9WWsFVnWbzj7qv7j\",\n \"amount\": \"0.499859\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 2,\n \"timestamp\": null,\n \"txid\": \"8179dc90cd4e90ec463eded1ecdbf444a6fe896a24d1c57a6fd12818a630f356\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000141\",\n \"total_input\": \"2.0\",\n \"total_output\": \"1.999859\",\n \"txid\": \"8179dc90cd4e90ec463eded1ecdbf444a6fe896a24d1c57a6fd12818a630f356\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"from_account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --to_account=\"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\" --from_account=\"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\" --amount=1.5 --outputs=2 --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"from_account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000016cbd18b25215142c6ed3cd910b4232e5a132ffc014607181d3a7338c3f20570d000000006a473044022017d83b4c85717d50123a5546972c87f9a91eaeadfb115b989f59cd3ce19a268502203bd0b5b501a2dc8b86bee47bc89e4e1ef32e6fc07408031dae4fc962dfb26a1d012103695b56b93635a3b926f1c545dc7a8f04589c6b92a0b3cc85b6837001383808bbffffffff03c0687804000000001976a9144cbad435ba26b413a104d3d3ee35f4f86ae561af88acc0687804000000001976a9144cbad435ba26b413a104d3d3ee35f4f86ae561af88ac6cb9fa02000000001976a9144cbad435ba26b413a104d3d3ee35f4f86ae561af88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mjyh73VqvMjSJqXjwBQPhjmxfssBfToEYb\",\n \"amount\": \"2.0\",\n \"confirmations\": 1,\n \"height\": 207,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 0,\n \"timestamp\": 1574265352,\n \"txid\": \"0d57203f8c33a7d381716014c0ff32a1e532420b91cdd36e2c141552b218bd6c\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mnWfTjdTbKbSZR8XW14tptAUVd96LkjUFm\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"5505b37a2941d70650cba7a3757c1488973a6e50ee48dfc6c0acccc9b3ad7d4a\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mnWfTjdTbKbSZR8XW14tptAUVd96LkjUFm\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"5505b37a2941d70650cba7a3757c1488973a6e50ee48dfc6c0acccc9b3ad7d4a\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mnWfTjdTbKbSZR8XW14tptAUVd96LkjUFm\",\n \"amount\": \"0.499859\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 2,\n \"timestamp\": null,\n \"txid\": \"5505b37a2941d70650cba7a3757c1488973a6e50ee48dfc6c0acccc9b3ad7d4a\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000141\",\n \"total_input\": \"2.0\",\n \"total_output\": \"1.999859\",\n \"txid\": \"5505b37a2941d70650cba7a3757c1488973a6e50ee48dfc6c0acccc9b3ad7d4a\"\n }\n}" }, { "title": "Transfer all LBC to a specified account", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"from_account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"everything\": true, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --from_account=\"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\" --everything --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"from_account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"everything\": true, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"010000000356f330a61828d16f7ac5d1246a89fea644f4dbecd1de3e46ec904ecd90dc7981000000006b483045022100976920d0b466a3921188ab2b8fda30268bcc9b6fe8ab5be07eeaf83ebf487e6702205df781014f0fc6321937f50c1c65e3dc602db25450068b6e08a2c9920a1ef5b801210361d32aa27eea724c0f499e606e3e704a75623bdff83f75d35e41ae33ade38f62ffffffff56f330a61828d16f7ac5d1246a89fea644f4dbecd1de3e46ec904ecd90dc7981010000006a473044022077d832dcc2ebab6a837a214b5891634089aed353c806b07d73cb7b3b7b97872002206ad96abf50dee0efefc54c26e98bf4873b0200a1473b03f08eb9e01187e12e4301210361d32aa27eea724c0f499e606e3e704a75623bdff83f75d35e41ae33ade38f62ffffffff56f330a61828d16f7ac5d1246a89fea644f4dbecd1de3e46ec904ecd90dc7981020000006a47304402207b458411d5daa60d7cdc25a0d5b0f9216014441a84a939b786eff5ae2deccf280220381c216fb1d1ed1d11f679e6f39840b6278e76b7d40b920507d62c8eef8387f801210267117e6d92536e535fb7e116b8d5a27c63130ccc9dbf6dda55fffca028fee35affffffff015027eb0b000000001976a914601de49683d90e74308ff7de9d37610e333b112188ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mh8rFmfDnjMH3H6m81nGV48U5kYRSsrQVQ\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 0,\n \"timestamp\": 1574264353,\n \"txid\": \"8179dc90cd4e90ec463eded1ecdbf444a6fe896a24d1c57a6fd12818a630f356\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mh8rFmfDnjMH3H6m81nGV48U5kYRSsrQVQ\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574264353,\n \"txid\": \"8179dc90cd4e90ec463eded1ecdbf444a6fe896a24d1c57a6fd12818a630f356\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mhjeeSSSRkynvH94rm9WWsFVnWbzj7qv7j\",\n \"amount\": \"0.499859\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 2,\n \"timestamp\": 1574264353,\n \"txid\": \"8179dc90cd4e90ec463eded1ecdbf444a6fe896a24d1c57a6fd12818a630f356\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mpHAyU14Tgt3EM5sLTbH3NGGqgJd7e25jd\",\n \"amount\": \"1.999604\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"92e7fafc002e486e43a6f4b8b1bef62b2fb41ed626a6add6695fc450bbd49f90\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000255\",\n \"total_input\": \"1.999859\",\n \"total_output\": \"1.999604\",\n \"txid\": \"92e7fafc002e486e43a6f4b8b1bef62b2fb41ed626a6add6695fc450bbd49f90\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"from_account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"everything\": true, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --from_account=\"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\" --everything --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"from_account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"everything\": true, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000034a7dadb3c9ccacc0c6df48ee506e3a9788147c75a3a7cb5006d741297ab30555000000006b483045022100b5aa96cd17b50de67f7af1bbe80a6ffa592503d4311f3d30393d0895212f868a022027f9307becff91ad895045143a31cca8a1c2a9e8c9d4c612d44cb51a0d2cbca1012102dda2eccfc24cf7fc3f636e486a3e2eabd25b1df6fa0c18972acc6694be27095affffffff4a7dadb3c9ccacc0c6df48ee506e3a9788147c75a3a7cb5006d741297ab30555010000006b483045022100e5cb8166ad69572fe6e43b5a15013ddf552c901f2e7b2d55d886202c1a31ff9302204f004c6ba66afa8e4e9ac58d61a11f7d126bbf8e69646a185a626ef51ef8f380012102dda2eccfc24cf7fc3f636e486a3e2eabd25b1df6fa0c18972acc6694be27095affffffff4a7dadb3c9ccacc0c6df48ee506e3a9788147c75a3a7cb5006d741297ab30555020000006a473044022028da4cb091fb903f6eb27aec53049682039e86161cb12537b2d0d34834475a97022063ae7817c85d47fca9fbc83e81e0ef6f7ce2592a1cd444984626c135df0cc487012102dda2eccfc24cf7fc3f636e486a3e2eabd25b1df6fa0c18972acc6694be27095affffffff015027eb0b000000001976a91437f69c006d90d2724662b176517c895b2449b82d88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mnWfTjdTbKbSZR8XW14tptAUVd96LkjUFm\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 0,\n \"timestamp\": 1574265352,\n \"txid\": \"5505b37a2941d70650cba7a3757c1488973a6e50ee48dfc6c0acccc9b3ad7d4a\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mnWfTjdTbKbSZR8XW14tptAUVd96LkjUFm\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574265352,\n \"txid\": \"5505b37a2941d70650cba7a3757c1488973a6e50ee48dfc6c0acccc9b3ad7d4a\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mnWfTjdTbKbSZR8XW14tptAUVd96LkjUFm\",\n \"amount\": \"0.499859\",\n \"confirmations\": 1,\n \"height\": 208,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 2,\n \"timestamp\": 1574265352,\n \"txid\": \"5505b37a2941d70650cba7a3757c1488973a6e50ee48dfc6c0acccc9b3ad7d4a\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mkcrtKoGQxAsTRVywM8D6Js5rriUM7yzCE\",\n \"amount\": \"1.999604\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"ac66539c9d64bd67abeed9cb53d3b8cfb1a307438c5787883a6b57af394d7d90\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000255\",\n \"total_input\": \"1.999859\",\n \"total_output\": \"1.999604\",\n \"txid\": \"ac66539c9d64bd67abeed9cb53d3b8cfb1a307438c5787883a6b57af394d7d90\"\n }\n}" } ] }, @@ -568,7 +568,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\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"is_default\": true,\n \"ledger\": \"lbc_regtest\",\n \"name\": \"Account #mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"public_key\": \"tpubD6NzVbkrYhZ4XRqw56sjewddGMSwYRguqruNy18cey35Pmadahzss64RNqZYocZxa21wNCrnhXR5nRq38fCa1nC1xyp3GjdfmE9ArWQ4ipQ\",\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\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"is_default\": true,\n \"ledger\": \"lbc_regtest\",\n \"name\": \"Account #mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YRn7tNGJ5Dm7uXzsaWtuHQyqs1mEfPSa4c6CKM9UNzymW16TriuAq1m53iHmMsCK6XRGNQKFgZrkQmAmKXDa9R1fbsR2SAa\",\n \"satoshis\": 1000000000\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -613,10 +613,10 @@ "examples": [ { "title": "Remove an account", - "curl": "curl -d'{\"method\": \"account_remove\", \"params\": {\"account_id\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\"}}' http://localhost:5279/", - "lbrynet": "lbrynet account remove n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_remove\", \"params\": {\"account_id\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\"}}).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\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1574264321.2536354,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPfP8S3BpZ7QnthNTxkuisWA4CffhM7AUmyjnzL8ufb9WnDzQSjN1dmWoX64SptnEs2EqsWdah6vKbSYc5yMRUD7pwXUgSi2V\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YrADvqV9WpT1GPytvEun5TeyxBjeXSHApE3kxXjFme8eQ7c5PzwARZE9XkXbYjK1DpTG7QkFsrpXZbwobVjXWoryEKLbvyY\",\n \"seed\": \"sock panda move ethics pact question muffin visa sausage assault exit weather\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_remove\", \"params\": {\"account_id\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\"}}' http://localhost:5279/", + "lbrynet": "lbrynet account remove mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_remove\", \"params\": {\"account_id\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\"}}).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\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1574265320.0034864,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPdRGVhcCgBrtSjGo285mwfMDKLWfk5bh86xwY1cJ1kLxuYhazqBt71vMPLDhSc4EAT56NkNGWBGNpxJkNQCD5PihgzB5sc1v\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WtJHbFsGbGYZJJJxHQxrEep6d2i3VsVWwTCJe17bvqamipUqzRMr1DhNPdv7DCDyEiwmZLLZgDdNKagSvfb4s84hXbPnnSH\",\n \"seed\": \"boat diesel bring bounce aerobic scrap nephew aerobic palm dumb asthma tower\"\n }\n}" } ] }, @@ -703,10 +703,10 @@ "examples": [ { "title": "Modify maximum number of times a change address can be reused", - "curl": "curl -d'{\"method\": \"account_set\", \"params\": {\"account_id\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"default\": false, \"change_max_uses\": 10}}' http://localhost:5279/", - "lbrynet": "lbrynet account set n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z --change_max_uses=10", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_set\", \"params\": {\"account_id\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\", \"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\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1574264321.5070114,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPfP8S3BpZ7QnthNTxkuisWA4CffhM7AUmyjnzL8ufb9WnDzQSjN1dmWoX64SptnEs2EqsWdah6vKbSYc5yMRUD7pwXUgSi2V\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YrADvqV9WpT1GPytvEun5TeyxBjeXSHApE3kxXjFme8eQ7c5PzwARZE9XkXbYjK1DpTG7QkFsrpXZbwobVjXWoryEKLbvyY\",\n \"seed\": \"sock panda move ethics pact question muffin visa sausage assault exit weather\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_set\", \"params\": {\"account_id\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"default\": false, \"change_max_uses\": 10}}' http://localhost:5279/", + "lbrynet": "lbrynet account set mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz --change_max_uses=10", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_set\", \"params\": {\"account_id\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\", \"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\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1574265320.2819548,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPdRGVhcCgBrtSjGo285mwfMDKLWfk5bh86xwY1cJ1kLxuYhazqBt71vMPLDhSc4EAT56NkNGWBGNpxJkNQCD5PihgzB5sc1v\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WtJHbFsGbGYZJJJxHQxrEep6d2i3VsVWwTCJe17bvqamipUqzRMr1DhNPdv7DCDyEiwmZLLZgDdNKagSvfb4s84hXbPnnSH\",\n \"seed\": \"boat diesel bring bounce aerobic scrap nephew aerobic palm dumb asthma tower\"\n }\n}" } ] } @@ -742,9 +742,9 @@ "examples": [ { "title": "Check if address is mine", - "curl": "curl -d'{\"method\": \"address_is_mine\", \"params\": {\"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\"}}' http://localhost:5279/", - "lbrynet": "lbrynet address is_mine mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_is_mine\", \"params\": {\"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\"}}).json()", + "curl": "curl -d'{\"method\": \"address_is_mine\", \"params\": {\"address\": \"n1hQFQVV4mhHapCoFTdvXfAE8Z7uk5jGHV\"}}' http://localhost:5279/", + "lbrynet": "lbrynet address is_mine n1hQFQVV4mhHapCoFTdvXfAE8Z7uk5jGHV", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_is_mine\", \"params\": {\"address\": \"n1hQFQVV4mhHapCoFTdvXfAE8Z7uk5jGHV\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": true\n}" } ] @@ -791,14 +791,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\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"pubkey\": \"tpubDA9GDAntyJu4iCaUm8AbZJCBSDG7upKsRv8kQMaJWWAt2oszhPeMVov7CJABiQp4FCY1o2dy18ggXTv9DkS96sTGNcHtxsMXEaP2dojZcij\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mfteQtvyHHFLkwy72dDXFCBJ6uionLMUTN\",\n \"pubkey\": \"tpubDA9GDAntyJu551ZhxDebnmHc158MCBmzaHMno6HNJ1UDNyqyTNmBfgAVTxhsAGek8hV9fmudKMtpy6uj4SMwqorzthBDW9rPPcbjgVck1Qj\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mhvx3LUGFQseiqXSuo8tPt38o9DXXE5ZKi\",\n \"pubkey\": \"tpubDA9GDAntyJu4RtvzwLuY6yGNGpiyQMUA9cPT22jtCerxg9npZzRTZY1nm73HHABxNKZXyTmE7j3Hs7txahjw8wf9S9JCLMGsEnTdX8ARk24\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mi58eKr6xaLRJzcRM2iG33uFmhdMTcNKQK\",\n \"pubkey\": \"tpubDA9GDAntyJu4M5NfkZfJ823aKXDRktXGXPqxNtMrsuVJVLrGmQZJD73pwso1SpNKKipXAdbdEuHGZPZKdsEPA2eHCzPN8Pn8dHEbVC9gGjm\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"miPjjjcr7x5whGSTPtVy5SubvkkkxQxBuF\",\n \"pubkey\": \"tpubDA9GDAntyJu4HgL5pgERUBzQJ4CEwkPNyDeYqeWb6syvs8VzZSBLcMRrpCCyTuKpE4tSHBeBCMEDabbzgdXVqy6yXoGgT9TXho8h2GmLPF6\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mjviZE6Cb5zAVzrHUDkYrctH4PLpg5T8Jh\",\n \"pubkey\": \"tpubDA9GDAntyJu4G1PHonQ12ehqUZwsiCrRUX8pZZdr25K6HcZ4s29T9n7pGb1kLGdRWvKm8uc2p9waCLZMPQYMUcoJzmhSXEjrKBybrqDjyhV\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mkST42avHnx473p6bhEykP8FfjtDjHBxne\",\n \"pubkey\": \"tpubDA9GDAntyJu59JyHteVdZkSy3WCaG4GNtChfBoBNdfFFcvZzkuRSANwQAB1KGBKGyoETUeEPUHXjMJS6oiFP9wRuKWTJz8rT9WtXBuooG4B\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mm8jgbSrM2QUEZFarbg1nChxDojhn9yPFy\",\n \"pubkey\": \"tpubDA9GDAntyJu4H3MKr2wNR8a86tCtpCGVSpGbt5Y7G3TNeyL3ia9ZhtCYFzYB3EzohCeqxmuUhU41YrwvaVqkTdqvzUr4qSzH7ArnYKKJ7Sk\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"pubkey\": \"tpubDA9GDAntyJu4fN1oiuKxx3opsPyb6fjq5dgceWNYwk9kCFMZRy63TQ1YR7FvTSf1sJPyFHYBGD3sBP3BiJpNGmtqXQHepS5sfCjVNuTvTQY\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mnnMZ4JAgxQhjcFq38tZqZWFNM3L33CZgD\",\n \"pubkey\": \"tpubDA9GDAntyJu4x1ZJsTpa1br6Y3Z19Ygn6ctwJmq6KTjwSuCpC3akBkzULA1B3Vcw4RgJsKnV5AuurQ8j3Vgubj9qqDtLUc8QEDtPaymSNqE\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"moRmMpu9ZZQraNCPDrbL1ppbQDikBrfRLW\",\n \"pubkey\": \"tpubDA9GDAntyJu4VFafnZLonjNLHRu2JG22vQezQBbnKB7ihidypUV8uKmiuAA3jDBLN47uPa8JhgnDUQD5Lxd4o3jskVXhq7V4LNki5U6faGB\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mqRqqiD6s1XFCaiSbMDAHVdafDQ2KXgEfa\",\n \"pubkey\": \"tpubDA9GDAntyJu4Ubbohrk2nW2UL5GpJqm9dCGkS4dzxjaw16jA3gxZ54ujEguBKWjfhu7JQ4wK216JYWK6EnHpBi45ScLGNSCZFmGeS71Dkh5\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mr54cm6sq9tNpxy7N6GzfspTitYD72oY8S\",\n \"pubkey\": \"tpubDA9GDAntyJu4gqBAs5pTW7Vt6tccf65xJEfLGHZ4Tkb9oHRtk9Uc72xHwu6MT6MtTZKnrKbX8VtDF69YbUJ2WjAw2J8WGvrYamtZ9T2kQPW\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"ms28WhCaR3KPzbCgVMBH5teXFLrqJcPrie\",\n \"pubkey\": \"tpubDA9GDAntyJu4MFD6on2pfTgMweo1VbxvUxuW7AUJr4qMW86WQNAf1oYTE5DmdAeroV16B5GJyx1gS8tDZZzuDNxp7bP4ZwRFWAPHiDWuZiJ\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mth7m2VT6xea5DWBf68UFComUKu4KrQeAq\",\n \"pubkey\": \"tpubDA9GDAntyJu4smamEAF6vHJLFzgPDHPSsWx8p8wvAKyqNfayrL2P2iMwGhm4PM5CAjVGiUR2UkFyWz5iwwYyhxxsfCyBmivjsutvEZCwU6c\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mtp11hR66KGz5s8ctUJzcYtU1KzHqJ72Zg\",\n \"pubkey\": \"tpubDA9GDAntyJu4m1ftLvGFr2wa2s9B43sGAANkoVSBFFXnrALyLL63oyX1qjqb7JLJbfn9hQ42eubr6dfufuGEkiGDVMEaytmtUSTxUUJiJ5n\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mud5pSea6YmQeqygsiwRfSfiFw8VrYVVAW\",\n \"pubkey\": \"tpubDA9GDAntyJu4PJJBb15GpAZ96EnyrWjQmSzEZCVywBGUzabxJNC2EhiuQjnJ5peWrrBGbgxUyBhMRY7SKB3BvwxxZRGiJ9Bjinsx72fwFwa\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"mujug3Jorq72ZbuF7ZvCTPApvdqL4E33fY\",\n \"pubkey\": \"tpubDA9GDAntyJu4EA14miQYzTCwusmh2XgdvKU8cL87ok7o2KwTDdMhrRRbSdgh2SLDC5iKu7rcf5GxedjhkzV6eg38N1WWgoTk9eWycQcLhS3\",\n \"used_times\": 1\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"muoJZD4BbGorbZY4tgMgfEr9KsJWxiT8Zf\",\n \"pubkey\": \"tpubDA9GDAntyJu4YWqeKsmM8gYa2FDA91KyXRZGSjipsyY123S2bAyGVSJPxVqvj1aseYpwnnyVbs3uP1cYNNmEXcUv7Pt6eGhPiEEoyag4eDA\",\n \"used_times\": 0\n },\n {\n \"account\": \"mopn7QaJwC4biUEu6xgtVuuzi42HUJ6s1y\",\n \"address\": \"muohF5ArCAF6VVu6q6ZUid3tHD3r7eyruP\",\n \"pubkey\": \"tpubDA9GDAntyJu4NWNV5rFUWL9oJYZJ85yEQErJqeqZLXGdJjckMQoM9W9qxCBKk7tQ4zXbLnPsTVUr7DKUjp27LiTCqvxQyqVch2V5bFByGkP\",\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\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"pubkey\": \"tpubDA9GDAntyJu4NgFPKZxseA97DkktAarw2r6TSR7DrCf1UgkGt9wxMM92tZFgQSAxLUQRj46d2BwVWrVpogjXWbBJ5YmEsCNr9bH1dhZKYvf\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mgNHyfoek6eo9py6eA7nVWihdjQoepAqaE\",\n \"pubkey\": \"tpubDA9GDAntyJu4SViVfoRtyZoEKQTcBWnRGiYQkii83dc39MEtQrVGSavkPFPB2kTc3bFGB3VV9osgpVanZGgcE2XNXU1sBGoo9RETWUWDuCq\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mgQqoGzjchpufkZEJKERzef3iChhdQYsb8\",\n \"pubkey\": \"tpubDA9GDAntyJu5353qrDsn4R91yFpdpNoV78Q9DqPcb1mx8wBh9SwMZSAzBRhQpokcKv5KMBVspC6AK4zKeCrw7vw1e2jx8usK6FH1nv8uwCq\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mhfp8CpSpF7pMhecmJuUNdFdiQe4co28FJ\",\n \"pubkey\": \"tpubDA9GDAntyJu4pKENoSXF3dWWWhCmB9L7UcqJWkruaxvtQYeepdMdz7o8xg1DQBaMRa1rN8F2kUKcKvxJbTKUd28jtQwrfVsEu3EYPrUPG8y\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mii4sVHEHUe2b5ByScY8YRy8uoFHJQQiLL\",\n \"pubkey\": \"tpubDA9GDAntyJu4EdgFqxhSLBqEwjoTSX2HRRiJVFZpbcruFJsso1EKmu19DdBc63G1c1pT8HnUhovm7NCSWeVyvE9Q9wGA4JqdJ2miWqhdzkL\",\n \"used_times\": 1\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mjBSc6kpP2gNzb9zN5LspJaQaRnLwMz9mA\",\n \"pubkey\": \"tpubDA9GDAntyJu4KF3RnQ2xracdQ4o6hVtzzuZPPEkE7S3kJz9bbK3Hu3bPsFm7dJZEJFenc2LGiDSh2PL2DMDe46XgvjuKBGtEv1UcEx7xhBB\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mjCepq2yajcN19LiVjzpp1vv9HaLBohX6p\",\n \"pubkey\": \"tpubDA9GDAntyJu4nBLAumTT2q7zWUbRBG5KHnokuYtP6iZvRprHSgvmbGW6U8rp3qrdc5EwwtA8bfXPr8oHUhWqyFghAuje6duXCUSTwnF5neD\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mjD5Gzs6Y6i1EXrozYTVFvYhtR9yW68zzR\",\n \"pubkey\": \"tpubDA9GDAntyJu56yVj8PtkFqEPv1TFfAJ28esQCsWoWYGwpvjCjogrD6WE4oWWftqUGay1NWQqSpU8zTahTBe4TH8tDqbsJLUaLBUpTh6qKFK\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mjjAfXyvgkN79EVAV2RaRJnEr3zCbYrfik\",\n \"pubkey\": \"tpubDA9GDAntyJu4dVKNCK99aJwfUAtt8Vo2qktd5WbmndJRfEPht2h4nh3w8gAvDWvvFUd3amLZtouL5Ytd3ReHG66ar2my4BHd81oGWTc6pK4\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"moeFade6p3SeJrCCLtW8n5xQeC76MmK6rV\",\n \"pubkey\": \"tpubDA9GDAntyJu54ZMryfAAwwUkRTfV8tB6JRi2zE8DujrgHkAFU3ijtG3BbAJLRk5EuPPvyVXas2B1GDy9R8y244y2BECwLfurm7dEjp6h7b8\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"monUko9N21KhSU64cyR71JmXrCwEgASsZD\",\n \"pubkey\": \"tpubDA9GDAntyJu4sgm88kENFkhGUcJcEVTdeXygAkYdV8CH9Wc4KCRR5CPwk88xTqb1eY5mFpxmLeB66UhsZ5mv6joycS5dbrXzginoo5LdHPt\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"morRT4ExEyDWP11jMcr1HgZEq41QcScjzV\",\n \"pubkey\": \"tpubDA9GDAntyJu4bHxs6B2Zyg7qZyrkWD7TxUPKZgMtB3EyTdQ3EFqCbZbDBbVBDhogS2WyBYvwkdLJv2upYc6qZiKqwFo9cHgLfKEXZnYwbN1\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mqdTgFwnMxuQWtH1ye1aAUrfdB94sZ2KxM\",\n \"pubkey\": \"tpubDA9GDAntyJu4P99V3pyArHs3MKE7Sbc9Kn4tHj8rtfVakDn69xJcpyCF14JNLSMSogKYqkYfHnfdvtrjCoMjLB7yx1opx3AdCvs3Jvp51uj\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mrNGxbLpqtct1KWvKFPWbvdrzs1EbAKBTm\",\n \"pubkey\": \"tpubDA9GDAntyJu4G5PVHd8A9DHUsQypRnevFAh77zdRoJMrCAW9qd8PfWPKP1muVHBZWhmr9fG4RGmwoy7jZ4geJ2mB8nVgJM67c5bU6krV7bo\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"msXM5XH862HzC7kjS1XKEG7L5whgULwhWS\",\n \"pubkey\": \"tpubDA9GDAntyJu4tuWbToebo9eMR95uiGo6x58botabQunqkyTrGojrJTE9TuTNmN21neDtaENMMbookzSsgpGJg5rNxNbWNBY9dvA3BY6p24X\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mudPqRHdTfGUwMtpRJpQNJsthhDRjXS53H\",\n \"pubkey\": \"tpubDA9GDAntyJu4Z69jjTHEGyEcf6xjyG7v64NDJcz4cgSWKqoLGis552MY1pAfcrWxfuutTBcdukpq8gPJpgU7BiN3S8MuUTJj4WB726RPJab\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mvNc5xtbdErj7uULreKpH97Fde15RZphGz\",\n \"pubkey\": \"tpubDA9GDAntyJu4T9yicq6fWRwdRyr296FYXVyRVy6Hn1YzQTypiXSSbMW9fBSamTGWEEuWreG548G9hn16KThQFvvSGRVuqKKSrCR6GpeZ8W4\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mven1osKweoMkyJkyhfZ9r2a1bie8K2jzT\",\n \"pubkey\": \"tpubDA9GDAntyJu4wixLuLoF7jowkUMyQrQcBz4ia53Z51sXBGvRUF2EuYJ9PeGgE8Fn8uhbHsoqn6jeknigbFwnb6V2wjrxVkToC5dpHoQc5p7\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mxMMrM8xQMSSfAaTqjwXds4jjLu5CKjMHD\",\n \"pubkey\": \"tpubDA9GDAntyJu4JC4DjX3aqYJxZ51bPcWrZgoDQVAJq8cQa21rjz3updsKYWotBmMpbnNoh1iSUHGtXKt5xNn8FWbz6J1hNDDwtrVKexpHtwa\",\n \"used_times\": 0\n },\n {\n \"account\": \"mnkgeudfzGEFzNCvscFvTJ7sSnLDkTVBsb\",\n \"address\": \"mxjecuQVCicsU7iAGnwApHmvoysTb9PiRt\",\n \"pubkey\": \"tpubDA9GDAntyJu4fjXXXWVK8M5HCNnw7j88thnsDmZVHQqxdbDhKreTqGsEZdJRdWH2htJPXbtCGtdGifXAjsXx5P18GbC73xHxsDwU3vVCRAe\",\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\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\"}}' http://localhost:5279/", - "lbrynet": "lbrynet address list --account_id=\"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_list\", \"params\": {\"account_id\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mga3DphaChcu4vompA5gaXQT82QgBqcJvS\",\n \"pubkey\": \"tpubDA9GDAntyJu4uiPS4NSYKiTQtUE9s9gUGB7sv7cS9GEFqH3vkERzCABJxAWBhyAWvr28ixck72hX4BLs3U7EUzph1iH6ZyQMTeyemfkFCbj\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mhEWWTp8pVfXNvBLc2NYP2L9b8wtYswRVs\",\n \"pubkey\": \"tpubDA9GDAntyJu4HVrnRXqsW31QigyKZ8Ey1vxxgBruPSXxFXMgDiEsQbDkYtQGhxovaGvBQrBwQtmB62uK7rTxXZqfATTmKR9QWsBWR3Kv166\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mhcUqEhnn75yAvDwHo7Uza9Pmpg3ejJ4Eu\",\n \"pubkey\": \"tpubDA9GDAntyJu4sd28EqsHznh8S6RnD5sdSGEPCouvEejGh6mEGiBRaGUTK1VY88VvavMxxWCzJAVk3kud9o2dtWfCaz8iM8x1NjoFXMVumJ8\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mj7WazmG2HBiTk6ZMyAW8UARmhaZ8tzTwj\",\n \"pubkey\": \"tpubDA9GDAntyJu4GXSFQdV6mVY38FHNDS2L7ysLX2Zyo113Xon34nocnMPkfBJrfLVmPNBN5qZBJ1huo8ABRbcs3vvdMHrX1DdFwHNN69Acpa6\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mkCbbvBpCpdSJpeRzGDJottkRso8eVkkA6\",\n \"pubkey\": \"tpubDA9GDAntyJu4hTn9385s37vguGdCkxJiZ5Uks54rFGy4LMvRbqJS8xCTm5fkdHt39f6w6xaB63juPD6Y9u7tSNKDDA6emDMZVQq4RwJZDV7\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mmCvFmqDdQMfBpqqeSCjxAvSAkWY6zDMeS\",\n \"pubkey\": \"tpubDA9GDAntyJu4KCYiYzWGDRWjbfmpsia3yBeybU1manbdXEzjLNDGczATnjM6vmK4vo28RAPR9Zowb8kMfgj6ssXaLA1Yg4KVHbCzH2jzBpc\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mmoCpy956hAjVZrChCoxwMtcDtUvCezrkF\",\n \"pubkey\": \"tpubDA9GDAntyJu4SuMMaSuVRUsAmqBjGHpa54n8HQUa2YCA9nznHZkS6vzUtvcBNSierjFtr7VuKsn2dmi6yVVJJor89jqA9P1K8yRwFZD1nrK\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mnEXfB1RiGMe9Ji2FnTSQ2N9xrP2GGFzWd\",\n \"pubkey\": \"tpubDA9GDAntyJu4GH7oKKCP4n8ELTZZJWUFJZ7BmKQYo3f8dED25EySBh2SMCuGA8zzJRdtqaqRsfW2E59dSo6tZ5e5b481ikaBLAVXDvJMRWw\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mnRhTijZyoHShDEqHP3AgNGAfvjG7BNL9f\",\n \"pubkey\": \"tpubDA9GDAntyJu4S9Z2GLAkEdVYxv11Kjiy2MBjh7iuLPvMfAGq1QomTDxxHFLaEVn1GHTWdXpFXCiGTYEswqwwyZuzwrDU2ogBqeDTpUsBMYt\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mnbdQifmuXjPCxhG3gJ4Yfpv1XWYFURq6F\",\n \"pubkey\": \"tpubDA9GDAntyJu4kdNWe82wr2d8Kz5xLVjiP5YxcrUrarQAKRpNCpab22kaPZydfjTv8TzERPKy4e2FnBWQzDFA4ywYt4scskFMCtUioPGy4Bi\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"moCCq4PFafDzG4TaBGtiWucirfGynMafTg\",\n \"pubkey\": \"tpubDA9GDAntyJu4qQJrDa7KM5yNUHfd6uyKzY4J67p8wLcjECCqNvRC1cj61iSZh5tKdXQGAkwaM7aVAqKVvy3T2VE4CPb7GXs7Xs9ySc2JZK3\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mq2tMfQG6LFn7vwEGEsLd1KB2pvWFULkDj\",\n \"pubkey\": \"tpubDA9GDAntyJu4crV8ayuZN3SfGVzU8BKXKx6x72ETGWVP6pJTVcV4zidTy12keUNunTeTU3LdUDhjb52rb87Aj6BDMorazW5w9qrVamExFf3\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mrbbUc8GkfY4u7MQu76Z4gb5wU7ZpRtXwP\",\n \"pubkey\": \"tpubDA9GDAntyJu4jqcbTA2nhYrzSRSPgkfQXFBg9trh93hYdvQm5i8V5rCuWuPQVeuh5fTheEekVAt8MQiuJU7R8ab5Pg7tTQwuKY5QLqykGpn\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"ms5KFnZQsbSR3nu5sFcPkr7ifv6fD3KV66\",\n \"pubkey\": \"tpubDA9GDAntyJu4xfD8soV4UE2ksNxfqZSthG2vCCkDrMNHuudSkjzCCuXDygAcdd5v4o3pQdc6Gr64nuGWd6LJb5ya9wdcnsCtEGGzCvxpMiB\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"msDRwvkH9pgdmt79MPdHAqHKztpgxmD2Co\",\n \"pubkey\": \"tpubDA9GDAntyJu56HmqP9AW8zLZD5uXZ1T2TroCVWrCNoFGSSgLH9Fi5R1DEKkj6kH6uzyzvJtivPnYLzzxDcntYk5SWefwV8hjcVwSufVWyNr\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mssH26vGghUV4TivYrF5NyR1soqGMq4243\",\n \"pubkey\": \"tpubDA9GDAntyJu4P77ZVEzD9uQxbQ7wdsJRuTNULyZKbHNen41j5kQKgh2C9fsKuwZ5C3wKTbpdNAQjshVe8DhE2njxr8MhisMjfxZSK7dC7UH\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mtLGXY1kAxm5vdf1wpoZtGVWnY6PsrKL4j\",\n \"pubkey\": \"tpubDA9GDAntyJu4cHdxuJknVirR3JKy6NKPZMCjZUHJBPKAcCovbRLK2qPFgxkBZ3JcBfbz1MfKQG7zdWwTVmjH2eQfxykh18a4tdEm8SxKjpH\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mtUj6XhkyKDEtygtsHamB9JzXYd5bPaWGt\",\n \"pubkey\": \"tpubDA9GDAntyJu4PvPqbzhu6xqatr7gqngXGajLuHPRRELxu8ZAecF2yReC44pHMvPXo7YfWNKYof97KcJM5E8RsFazRpTuQtjUo5AVGYxoGS1\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"muQ5Xs4i7fd61F8VXJyj95WAABZnzKN9bE\",\n \"pubkey\": \"tpubDA9GDAntyJu4TMAdofJQ81H33qZLZ38jD6TN3XgoSEs3JiA2WyzKAMt5f9oaQpqszc87QMHFZPLbme8FNvDxc6YrfBgx23tDzAsrQSJDnBC\",\n \"used_times\": 0\n },\n {\n \"account\": \"n1kwxqj5wF13iLytRG1Y3dxdnYSkoY9s6Z\",\n \"address\": \"mwih9K6HdW7tgWQxPvLN5uADVjTstr5NPe\",\n \"pubkey\": \"tpubDA9GDAntyJu4Qrvfx354vWb4nWHmyM34RXFjWHMPxXwMMfgZTKZ8QcgPas1UAGLSuLN4pb6U5TkCBHxRaGHiduBkEJKivbsVbwDyY4LcLn6\",\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\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\"}}' http://localhost:5279/", + "lbrynet": "lbrynet address list --account_id=\"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_list\", \"params\": {\"account_id\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mgjB6e1ezev8FY1ACnkmkDxjNCp5VC7Ano\",\n \"pubkey\": \"tpubDA9GDAntyJu4TFtXYGczh2A4XxW8noxE1dfMcLqjX9sMs8YNE1owV6ck3e9SN594tJiBdbTTqhbepa4JGFoWQRVCwzkEe5WC9ggfRQm7bQ8\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mgrgFeXbtX4DXFSkP8e4AEWSC6jULkZb63\",\n \"pubkey\": \"tpubDA9GDAntyJu4NVGo2ZA32S4SK3DVfKpYWpm6v9YgPcSobJvf8A5Gc5mAJGDzpnYaN9XyALhegTL21Wg8X8jC8AqfX8WS89q9rExJnPC6Kjv\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mhFB8td4KwVBy7hix8364L3yFSEiYuNbq9\",\n \"pubkey\": \"tpubDA9GDAntyJu4GC3Rh9ZJoxBAg3JS3wAXveny8iZBtXxyjZiyZNrQyTXarfBFfq3MzKntNRvgDAZvAs4f8sxwBgugf4vjEF2gE8ryjz79XM9\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"miKdTrdpBKoTvqSKgLZdibYgzZk5zszndC\",\n \"pubkey\": \"tpubDA9GDAntyJu4R6VQkrvDsNCqXw6buTQKvScS8QNKLwsPQ6NcqhaEDU9hpNYiV71f19DDGZyiQpLrr2xoNtKXELLrBW3uSyBfjrt9To1zQWq\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"miLbiPKfLD7c3T1FxfAtZ5idB18QdKmak2\",\n \"pubkey\": \"tpubDA9GDAntyJu4f5YeA4rhsqJ9yHGLjX7Wqa1DSGaC25bV86s5GGUkTvhb4X6DZ2d2qaBoCoGRkSfekVimbwQk187hzdLj6CCGtknPm7BjcRG\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mjyh73VqvMjSJqXjwBQPhjmxfssBfToEYb\",\n \"pubkey\": \"tpubDA9GDAntyJu4P6JJWkvwPzYGCYjdzttU7QaJBHRSEzF8wDTGNPfNQPCShSnLDiqWpxbrEbMEi9Xzwnn3HmgxEKofcnhDLixjQsgAjpf5WD6\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mkGUuHLcLht61VH22buTvPpM3mTPctRBtL\",\n \"pubkey\": \"tpubDA9GDAntyJu4pGUqURvR65CVjtUWWhuNw467D5Cr3aFGRaNavXcYL1fkreM2XJWtPsNfCg1prhe2W3aqW8Ay4a1eWm69Vm6hqNrwTKvy9Nw\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mmgsvuPTWoTUHdD45g1xUveEhhUzRrfVaP\",\n \"pubkey\": \"tpubDA9GDAntyJu4rpvkPkGapDqWw2na6gaGFGX6KEK86WTiEyuoCcbmRvtvcPxnUnKXsacbbpByrQwLkGD9qGjhfk9oUY3DYHEn9m4kJoQuusx\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mnWfTjdTbKbSZR8XW14tptAUVd96LkjUFm\",\n \"pubkey\": \"tpubDA9GDAntyJu4Jhq8X7ZmPJQSuUffLMUCAVqdAHwCdh6R26oieaSpFNGBhUk33nXc6uiU3apFynA4CpPBxG3FzPf1TMuYu1P82oeg8dMqTpn\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mpqKcHmmWE1qY727M7ANv9oBXir5VbHkdP\",\n \"pubkey\": \"tpubDA9GDAntyJu4H9XUa4RnDvRodqUrbJkAXamJwoMiXaseyEnwpqwq2XbkceBUsotfYr8r3YcDAwZce4TJ2rToT4MjnKCAoWTwka996khajde\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"msvdBNEf1cFSszvHNcQu3ANaK9g8gj582c\",\n \"pubkey\": \"tpubDA9GDAntyJu4WjEZzxFAUYS8KUcRM8DorcmbRF69PHaeDm3eu8YoJMMut3PL8RZEPSmvtc64F4Bb6GEJTcak1yw6ADZL6LoonK9E1khHzXM\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"muB4RCbSL3tF7onRRbUB4gRWTQEoT5ZcMz\",\n \"pubkey\": \"tpubDA9GDAntyJu4zcr2HyFHb3CfU44pYhwiS9TaRQySkVQfeQLzP1Zv9RAAsz3K3n8AcraHwf6Sw8AfRK2nKSm4g5Fto5iy1yTve5vGXEa5B48\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"muC5eaJq2CMrtE7te9cWcXUibWhsJnGuAm\",\n \"pubkey\": \"tpubDA9GDAntyJu4TatXRgBNSPcW8JBr4iB4jQ5v8A94Mm4uYvrFT75kNaXucZvewH9YxDMveySVfGbaxcLNv2A4mSavK6SZ3E6y5nvqJDix7tB\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mucSZwuwbd5xyfLxMu92GEBYSWM1pERa2v\",\n \"pubkey\": \"tpubDA9GDAntyJu52c37bwDHuV6CqiNXMGgnksYsK4hJrHQ79e6aKCpk9Qv2sQdLGm5LLq4J18Q89fdoQN9hBgQCZMkgQhhp5wXC8vF4ctwcXnG\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mv2hshHynpW7VyX8Nt7xT5ti9aC9NQyAwr\",\n \"pubkey\": \"tpubDA9GDAntyJu4kmzUa6CmrsCBNmVdHY95RNAkT8T2dBb4oLefiW7etod7B5t3Nh8wf6LoGDDaCrst7YC3NxNxsXibC1QsQGK7LL7HvBxwoxP\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mv5aGKkDs2VDxQ2u36iSfqcZn51BGMwax2\",\n \"pubkey\": \"tpubDA9GDAntyJu4bFmupNxnkNd8ytpwAGZCtJcVgRzvPSaNn1ok8GGnxgrrdkXQZDyu7Zsk1EWhoMktadaDYSnjFjVd2oacfgWLTFfGHd7NmLV\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mwDag7ghPP2pWPyMFwzjCGhAU7QeZwH6vf\",\n \"pubkey\": \"tpubDA9GDAntyJu4LwmAa81T4xZ7kvFstzh1pLvZVZBEk7Jxvc6s85zvVWL3mfRC7PDLDjqEkWYHS4zbA8qMLXtdumgdvyyQxrgo4iWtJPjo2LR\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mwaaxkhpkzN3o1TtvHBqpLiZZd4YpMrF6Y\",\n \"pubkey\": \"tpubDA9GDAntyJu4k2xQ73wyvV5gu3dysJg3QghtTohUfQmi6WkBeDn5jrWvHxbneZJYVCJdpCvNN53Me76h9xkF9uUngFPmVyY9yMk9ceKJyqP\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mwdDVkcLeWaQyYdXFSUy18DdVuaVER8uop\",\n \"pubkey\": \"tpubDA9GDAntyJu4ZJcT95421KsG4QCvYDAGUkgrNVBhwTodHnvRAEfiGktjP1U4iEZQWt8eaAfG5vQ1pgpHE9LDP8uirT2qE4fWJ8QyZ3xqjmt\",\n \"used_times\": 0\n },\n {\n \"account\": \"mzayD1KR21CDvPWZdsxDRX4vzLj7174Qjz\",\n \"address\": \"mxhALC4NpCKwxQdUitbHShiVAaJ1fSoYBi\",\n \"pubkey\": \"tpubDA9GDAntyJu54kGi7LH4ZyN6WXC2cgHCU3uiWzk67uDZFAvyr5jEt1WDXGwDvjWXdMiuHZdDXcWM52jPGueFkD4sXxYdFZpSq4V97K7LRCo\",\n \"used_times\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 26,\n \"total_pages\": 2\n }\n}" } ] }, @@ -826,7 +826,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\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\"\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"n1hQFQVV4mhHapCoFTdvXfAE8Z7uk5jGHV\"\n}" } ] } @@ -876,10 +876,10 @@ "examples": [ { "title": "Delete a blob", - "curl": "curl -d'{\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"24bac40732fe8c181e0d0ac956a26945c10b280f0c512c2383a68a5b5f38e048209194d700baa61297a2f1432bba4dfc\"}}' http://localhost:5279/", - "lbrynet": "lbrynet blob delete 24bac40732fe8c181e0d0ac956a26945c10b280f0c512c2383a68a5b5f38e048209194d700baa61297a2f1432bba4dfc", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"24bac40732fe8c181e0d0ac956a26945c10b280f0c512c2383a68a5b5f38e048209194d700baa61297a2f1432bba4dfc\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"Deleted 24bac40732fe8c181e0d0ac956a26945c10b280f0c512c2383a68a5b5f38e048209194d700baa61297a2f1432bba4dfc\"\n}" + "curl": "curl -d'{\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"d196df834a844e537fe4fbd08852132de6800c0e08e31577f32fb3d42371d81c31dada27c07a4a253fdae616c4ce3605\"}}' http://localhost:5279/", + "lbrynet": "lbrynet blob delete d196df834a844e537fe4fbd08852132de6800c0e08e31577f32fb3d42371d81c31dada27c07a4a253fdae616c4ce3605", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"d196df834a844e537fe4fbd08852132de6800c0e08e31577f32fb3d42371d81c31dada27c07a4a253fdae616c4ce3605\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"Deleted d196df834a844e537fe4fbd08852132de6800c0e08e31577f32fb3d42371d81c31dada27c07a4a253fdae616c4ce3605\"\n}" } ] }, @@ -957,7 +957,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 \"24bac40732fe8c181e0d0ac956a26945c10b280f0c512c2383a68a5b5f38e048209194d700baa61297a2f1432bba4dfc\",\n \"506b802c013dcab98dae3a8fbd72c8ee173af5fd10ad42e10c40ce751b659d30e77fc12018d8f88ea276e83712b0c601\",\n \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"02b7ba0d5d080b812ea3952f106afdcdde51764d832126b2fdb38b09243a6792fc862e6a70f5fb90d9bcbd1c98dd9895\"\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 \"d196df834a844e537fe4fbd08852132de6800c0e08e31577f32fb3d42371d81c31dada27c07a4a253fdae616c4ce3605\",\n \"0017ea2d52e8c2bb3309344fbec05b29a12f059e7ef55dee12682658e8e2f901b3cdf778ff3bfadb9522c008c851801e\",\n \"ff42b24e4b846dd1baf5e2b0f48c53b75184e2ffef8d20e770797704f0ddbf58ba8c243c7e2658b220d6bae9950e7278\",\n \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\"\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 4,\n \"total_pages\": 1\n }\n}" } ] }, @@ -1038,10 +1038,10 @@ "examples": [ { "title": "Abandon a channel claim", - "curl": "curl -d'{\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet channel abandon eada858c84ff7473a54ed1188bcecbb1b5994283", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\", \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"010000000144fcea5dff6a99d7cd4e2f2b4dc8491384afbc6a2b5c51e76ef4d90918fd3111000000006b483045022100dd3b49e9d82c487695257cdbd512e34f36f015767f953129bbbe7bf927ebca8802203da92483f7e4f1c0a1ce1e80275894e947557dceb93c489aa01003a500ad8dfd012102f2fc444107cb475cf4f1ab2b852cc4e9c6851216428360f8efa531c5036de007ffffffff0134b7f505000000001976a9143d9d137b8b944c56e88c973ce881a6acf240090588ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mm8jgbSrM2QUEZFarbg1nChxDojhn9yPFy\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"a552659e7251e6149408b51e205e47693e1d8ca793011a8f72a74eb2de062019\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"a552659e7251e6149408b51e205e47693e1d8ca793011a8f72a74eb2de062019\"\n }\n}" + "curl": "curl -d'{\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet channel abandon 76f9b804d1d7a5a36eeebab1fa29333926f8fda1", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\", \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001252e1cbd42a9e0629e127cc0a74168815a6610900281c90b5193c7660c990087000000006a47304402204023cb7d7bd038b65700e5121ecee2f08505b48561f8ca107f81980d33b220ab0220208af0641036108938197c076d1c9851eca1f0056d8b1e08394bcbd6b75c1d090121036e13c0c6a42f4d830bfadda1c3f130af17ca825ed79348a7de08548fd508cd10ffffffff0134b7f505000000001976a914f078ffcbc1414ec52d95531ae92f24d58a0c38e388ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n3STRGLnoQSevNzSZWZ9oA67SM4apXpFzn\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"99d49ed84cf7532a89775aa62be74dabb715320a5fe7d21c8e83a97b0e85c6c5\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"99d49ed84cf7532a89775aa62be74dabb715320a5fe7d21c8e83a97b0e85c6c5\"\n }\n}" } ] }, @@ -1171,14 +1171,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\": \"0100000001805b5574abbfa95356ceaa5d0de78b5c2ef1a82e29beed15f02e0022ea2c96c1010000006a47304402207ae2d87c5199dc1fb66c5e6606a075c8119a89397ee9a954302ad30f2d26c24d022036bd28a2f85e407571c94b78389f722b658c834bc2331f28776c916524bfadae012103e7c6aca0521b8a11617afec54d659454fc7526bdf27f553e29991deca18db6a5ffffffff0200e1f5050000000084b508406368616e6e656c4c5d00125a0a583056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f6d7576a914485c8a829a9a9e96cee52d8db27405efbcb563cf88acc462a029000000001976a914d41b30bbf758a4c99a77170226528b2385ab5d3088ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mud5pSea6YmQeqygsiwRfSfiFw8VrYVVAW\",\n \"amount\": \"7.999876\",\n \"confirmations\": 2,\n \"height\": 207,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574264353,\n \"txid\": \"c1962cea22002ef015edbe292ea8f12e5c8be70d5daace5653a9bfab74555b80\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\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#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": null,\n \"txid\": \"3e0735fbb026e7d16f968040187c5a8874b0efe2b3cafa744646825ef59258a2\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mzrU7wb2zYC8xh7fY3JbWw8Uv4QcejsJNH\",\n \"amount\": \"6.983769\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"3e0735fbb026e7d16f968040187c5a8874b0efe2b3cafa744646825ef59258a2\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.016107\",\n \"total_input\": \"7.999876\",\n \"total_output\": \"7.983769\",\n \"txid\": \"3e0735fbb026e7d16f968040187c5a8874b0efe2b3cafa744646825ef59258a2\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000016cbd18b25215142c6ed3cd910b4232e5a132ffc014607181d3a7338c3f20570d010000006b483045022100e328e296214c79e4cdcce2dd871b1cd931240af509fc7cb2b1d1cdc26b4dd6a30220567de67be6c7cea11fb5210f133c50db08c6ff5c5c4e5b431c63086003b5f50201210248c8856ffe16b8af0ab9914db4b4f1b3ee9caa94822ad6e9cc15e37d2f346d7bffffffff0200e1f5050000000084b508406368616e6e656c4c5d00125a0a583056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df0666d7576a914e5a5ec8c00823f369d4ba8abb114ea0b2028f21e88acc462a029000000001976a91477053863f3b082f79e4c835ee7137f0f8dd0725188ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mgNHyfoek6eo9py6eA7nVWihdjQoepAqaE\",\n \"amount\": \"7.999876\",\n \"confirmations\": 2,\n \"height\": 207,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574265352,\n \"txid\": \"0d57203f8c33a7d381716014c0ff32a1e532420b91cdd36e2c141552b218bd6c\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\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#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": null,\n \"txid\": \"6fc4af39bd2e5f96bacadee03843088001e1a0d405d1e6e0e7021cff9f953859\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mrNGxbLpqtct1KWvKFPWbvdrzs1EbAKBTm\",\n \"amount\": \"6.983769\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"6fc4af39bd2e5f96bacadee03843088001e1a0d405d1e6e0e7021cff9f953859\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.016107\",\n \"total_input\": \"7.999876\",\n \"total_output\": \"7.983769\",\n \"txid\": \"6fc4af39bd2e5f96bacadee03843088001e1a0d405d1e6e0e7021cff9f953859\"\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\": \"010000000144fcea5dff6a99d7cd4e2f2b4dc8491384afbc6a2b5c51e76ef4d90918fd3111010000006a47304402202f0fb9d84cbc6dd8ea0861f7a51e8a736f5ead390e142593af5c75dc24b1919d02200accd15bfb8a720571e064824509b51048a0b55d4445687a09e568ed78e76f5e012102ac603b46617a5f24959b058d289db186d51e4fcfac49a48e30d546572a91bc2effffffff0200e1f50500000000fd5001b50b406269676368616e6e656c4d25010012ab010a583056301006072a8648ce3d020106052b8104000a03420004f59be148aaf41838926be822f205988e580248ad3272ba9f007524a4971140e71a9920dd267efce6053b5890500d5c4f73d2fd05c421210e6e7f0f9ae89a2dbb121663726561746f7240736d616c6c6d656469612e636f6d1a15687474703a2f2f736d616c6c6d656469612e636f6d22202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a7067420b426967204368616e6e656c4a1e41206368616e6e656c2077697468206c6f7473206f6620766964656f732e52202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a70675a056d757369635a0361727462050883011820620308ab016a0208206a0908e9011a044b6979766d7576a9149cbc449ea4d8ab577c00102f786d6a847d64ec6888ace221d305000000001976a91496f2bab0fe40730a5dc822f04cf65656465aa14688ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mjviZE6Cb5zAVzrHUDkYrctH4PLpg5T8Jh\",\n \"amount\": \"1.9993355\",\n \"confirmations\": 1,\n \"height\": 210,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"muohF5ArCAF6VVu6q6ZUid3tHD3r7eyruP\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8ec56671520a85097936e1332a41680a8c3bddb2\",\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#8ec56671520a85097936e1332a41680a8c3bddb2\",\n \"timestamp\": null,\n \"txid\": \"eb12f5ea093dcb03297ea4851120fe13a13f53f86851888253cc1e3401925f9e\",\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\": \"3056301006072a8648ce3d020106052b8104000a03420004f59be148aaf41838926be822f205988e580248ad3272ba9f007524a4971140e71a9920dd267efce6053b5890500d5c4f73d2fd05c421210e6e7f0f9ae89a2dbb\",\n \"public_key_id\": \"mzviSKcnraUZM1pHd93LmTWUCevVZjgJP5\",\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\": \"muH6RxFgWLFcNPuMy4eZc6n5n4teWejPEd\",\n \"amount\": \"0.9772285\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"eb12f5ea093dcb03297ea4851120fe13a13f53f86851888253cc1e3401925f9e\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"1.9993355\",\n \"total_output\": \"1.9772285\",\n \"txid\": \"eb12f5ea093dcb03297ea4851120fe13a13f53f86851888253cc1e3401925f9e\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001252e1cbd42a9e0629e127cc0a74168815a6610900281c90b5193c7660c990087010000006a47304402201c33fd93ea28b6ca66373e0763a49824a461578ba0b695baf0f43a70eaa97b5802200b7b172f3658a846fdf27885f0e2a770fb6096f1bf6ebda0fd854f848b7a70d801210281518437b8629fe82ada4cbc3fa290655706c66a31c477471cfa1fb69c1c64c2ffffffff0200e1f50500000000fd5001b50b406269676368616e6e656c4d25010012ab010a583056301006072a8648ce3d020106052b8104000a0342000493068955eb537a2d82dccbd84950341f5158c5a2a6deaa4950042b55066b248de1a19a75bc85e0c11d64a82d9145ba15601e6ecce51154ab155b14bd34d12308121663726561746f7240736d616c6c6d656469612e636f6d1a15687474703a2f2f736d616c6c6d656469612e636f6d22202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a7067420b426967204368616e6e656c4a1e41206368616e6e656c2077697468206c6f7473206f6620766964656f732e52202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a70675a056d757369635a0361727462050883011820620308ab016a0208206a0908e9011a044b6979766d7576a914c14a8f51d1028696cf67e23bb5514e0e2431446d88ace221d305000000001976a914b8a9a496d90669cdf7d79dc115a08cc3a82f186388ac00000000\",\n \"inputs\": [\n {\n \"address\": \"myKgmPDaWLycFbgwqF6ei5fg1tYRivVZ2e\",\n \"amount\": \"1.9993355\",\n \"confirmations\": 1,\n \"height\": 210,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"my8z2awNqM4VKJGTvfryoTeKg1YaCKu1kt\",\n \"amount\": \"1.0\",\n \"claim_id\": \"0dddf44763759c5d48f4b517c4c6edf91a835938\",\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#0dddf44763759c5d48f4b517c4c6edf91a835938\",\n \"timestamp\": null,\n \"txid\": \"225ce0e0fc7ed4ff012497786a2208135197a7c8e66fec85bdd5b1565f22b27a\",\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\": \"3056301006072a8648ce3d020106052b8104000a0342000493068955eb537a2d82dccbd84950341f5158c5a2a6deaa4950042b55066b248de1a19a75bc85e0c11d64a82d9145ba15601e6ecce51154ab155b14bd34d12308\",\n \"public_key_id\": \"mpiMSeZA6qn3GvZk8KfChJgLWcfsskdZS5\",\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\": \"mxMMrM8xQMSSfAaTqjwXds4jjLu5CKjMHD\",\n \"amount\": \"0.9772285\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"225ce0e0fc7ed4ff012497786a2208135197a7c8e66fec85bdd5b1565f22b27a\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"1.9993355\",\n \"total_output\": \"1.9772285\",\n \"txid\": \"225ce0e0fc7ed4ff012497786a2208135197a7c8e66fec85bdd5b1565f22b27a\"\n }\n}" } ] }, @@ -1270,14 +1270,14 @@ "curl": "curl -d'{\"method\": \"channel_list\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet channel list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_list\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"3e0735fbb026e7d16f968040187c5a8874b0efe2b3cafa744646825ef59258a2\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\"\n },\n \"value_type\": \"channel\"\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\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"6fc4af39bd2e5f96bacadee03843088001e1a0d405d1e6e0e7021cff9f953859\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\"\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\": {\"page\": 1, \"page_size\": 20}}' http://localhost:5279/", "lbrynet": "lbrynet channel list --page=1 --page_size=20", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_list\", \"params\": {\"page\": 1, \"page_size\": 20}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"3e0735fbb026e7d16f968040187c5a8874b0efe2b3cafa744646825ef59258a2\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\"\n },\n \"value_type\": \"channel\"\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\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"6fc4af39bd2e5f96bacadee03843088001e1a0d405d1e6e0e7021cff9f953859\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -1434,10 +1434,10 @@ "examples": [ { "title": "Update a channel claim", - "curl": "curl -d'{\"method\": \"channel_update\", \"params\": {\"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\", \"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 eada858c84ff7473a54ed1188bcecbb1b5994283 --title=\"New Channel\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_update\", \"params\": {\"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\", \"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\": \"0100000002a25892f55e82464674facab3e2efb074885a7c184080966fd1e726b0fb35073e000000006a4730440220160c5b0d2f0fd5087a12d4ee4b347eac4d5883d356a47a6fd60636c76b17127802202bfe2ec755f506107b208606ecfbaef05a2d12769aa2631c2739600099600e69012102f2fc444107cb475cf4f1ab2b852cc4e9c6851216428360f8efa531c5036de007ffffffff909fd4bb50c45f69d6ada626d61eb42f2bf6beb1b8f4a6436e482e00fcfae792000000006b483045022100d7ef10aaba0766661a29a6d3e78a50b57a2d6003b47d08b12d422f41ca1fa73a02201a88c34e043e6dedcf8f5389e81ebdc3e4ad898d73418647ea6a0e212f93627e012103ad4d52e4e94facfaa27282e493678ba2a67b381b2f226f3a2bc0b4a85853d99affffffff0200e1f50500000000a6b708406368616e6e656c14834299b5b1cbce8b18d14ea57374ff848c85daea4c6a00125a0a583056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f420b4e6577204368616e6e656c6d6d76a914485c8a829a9a9e96cee52d8db27405efbcb563cf88ac6ebeea0b000000001976a914305f0499fca4b096484b1ea5452d890e7cc0fcd088ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"3e0735fbb026e7d16f968040187c5a8874b0efe2b3cafa744646825ef59258a2\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mpHAyU14Tgt3EM5sLTbH3NGGqgJd7e25jd\",\n \"amount\": \"1.999604\",\n \"confirmations\": 1,\n \"height\": 209,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 0,\n \"timestamp\": 1574264353,\n \"txid\": \"92e7fafc002e486e43a6f4b8b1bef62b2fb41ed626a6add6695fc450bbd49f90\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\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#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": null,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mjviZE6Cb5zAVzrHUDkYrctH4PLpg5T8Jh\",\n \"amount\": \"1.9993355\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.0002685\",\n \"total_input\": \"2.999604\",\n \"total_output\": \"2.9993355\",\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\"\n }\n}" + "curl": "curl -d'{\"method\": \"channel_update\", \"params\": {\"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\", \"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 76f9b804d1d7a5a36eeebab1fa29333926f8fda1 --title=\"New Channel\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_update\", \"params\": {\"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\", \"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\": \"01000000025938959fff1c02e7e0e6d105d4a0e10180084338e0decaba965f2ebd39afc46f000000006b483045022100b276b1a4d919aa367b30a4574b92c1f8180dacd1ad1d69a3cb49fd9dd7e36ef70220037d6ad8f11c92fda22e1222af2ad2580e74921ed251bfbb1059c1556f86e77d0121036e13c0c6a42f4d830bfadda1c3f130af17ca825ed79348a7de08548fd508cd10ffffffff907d4d39af576b3a8887578c4307a3b1cfb8d353cbd9eeab67bd649d9c5366ac000000006b483045022100f6fe619cb0d30e26c3495a53bd4b2fc2a643e5f10b5fa009c2e29d02ac0c22c202207eaa90180ba9e77bb6fd4697a08bb7f853de7e63ee760928e66631354cbd9f2e012103491fd5b5854dc05014d0f7fe31dc357816e104284bb2657c2d2753042aa2d609ffffffff0200e1f50500000000a6b708406368616e6e656c14a1fdf826393329fab1baee6ea3a5d7d104b8f9764c6a00125a0a583056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066420b4e6577204368616e6e656c6d6d76a914e5a5ec8c00823f369d4ba8abb114ea0b2028f21e88ac6ebeea0b000000001976a914c350b9ca410642afa1bcf86adbabbeaa995ff26388ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"6fc4af39bd2e5f96bacadee03843088001e1a0d405d1e6e0e7021cff9f953859\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mkcrtKoGQxAsTRVywM8D6Js5rriUM7yzCE\",\n \"amount\": \"1.999604\",\n \"confirmations\": 1,\n \"height\": 209,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 0,\n \"timestamp\": 1574265352,\n \"txid\": \"ac66539c9d64bd67abeed9cb53d3b8cfb1a307438c5787883a6b57af394d7d90\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\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#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": null,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"myKgmPDaWLycFbgwqF6ei5fg1tYRivVZ2e\",\n \"amount\": \"1.9993355\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.0002685\",\n \"total_input\": \"2.999604\",\n \"total_output\": \"2.9993355\",\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\"\n }\n}" } ] } @@ -1488,14 +1488,14 @@ "curl": "curl -d'{\"method\": \"claim_list\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet claim list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_list\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_change\": false,\n \"is_channel_signature_valid\": true,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574264354,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\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}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_change\": false,\n \"is_channel_signature_valid\": true,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574265353,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\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}" }, { "title": "Paginate your claims", "curl": "curl -d'{\"method\": \"claim_list\", \"params\": {\"page\": 1, \"page_size\": 20}}' http://localhost:5279/", "lbrynet": "lbrynet claim list --page=1 --page_size=20", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_list\", \"params\": {\"page\": 1, \"page_size\": 20}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_change\": false,\n \"is_channel_signature_valid\": true,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574264354,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\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}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_change\": false,\n \"is_channel_signature_valid\": true,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574265353,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\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}" } ] }, @@ -1805,14 +1805,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\": []}}' 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\": []}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#e/astream#7\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\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\": 1574264354,\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#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"short_url\": \"lbry://astream#7\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#e\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\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\": 1574264353,\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#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"short_url\": \"lbry://@channel#e\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574264354,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\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 \"items\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#7/astream#6\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\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\": 1574265353,\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#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"short_url\": \"lbry://astream#6\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#7\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\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\": 1574265352,\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#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"short_url\": \"lbry://@channel#7\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574265353,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\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\": []}}' 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\": []}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#e/astream#7\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\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\": 1574264354,\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#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"short_url\": \"lbry://astream#7\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#e\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\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\": 1574264353,\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#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"short_url\": \"lbry://@channel#e\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574264354,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\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 \"items\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#7/astream#6\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\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\": 1574265353,\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#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"short_url\": \"lbry://astream#6\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#7\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\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\": 1574265352,\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#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"short_url\": \"lbry://@channel#7\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574265353,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\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}" } ] } @@ -2434,9 +2434,9 @@ "examples": [ { "title": "Delete a file", - "curl": "curl -d'{\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\"}}' http://localhost:5279/", - "lbrynet": "lbrynet file delete --claim_id=\"7595c2f82ced3c58c1225073590ce18f3edd0291\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\"}}).json()", + "curl": "curl -d'{\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\"}}' http://localhost:5279/", + "lbrynet": "lbrynet file delete --claim_id=\"6d779c509a47c97a050540a42863341eed6c47ad\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": true\n}" } ] @@ -2567,14 +2567,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\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\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 \"key\": \"d59637b15acc1d0a31ac7025d5318241\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01834299b5b1cbce8b18d14ea57374ff848c85daea8197ad276293ee21d20b350f8c8bec61bf067c9853833b06d9e8253bc3aaae327ca7b97e008ffd759ffc961090621fce9c2dd1a1541306784185f78610b0f62b0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70367a673870617336180b22186170706c69636174696f6e2f6f637465742d73747265616d3230966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"0377e60d0033942da7b9a28c07a7e89eba0046dbd8bd60a11c7f3e2df1d51a2467da10bbcb7a395b13750ab7ceae9470\",\n \"stream_name\": \"tmp6zg8pas6\",\n \"streaming_url\": \"http://localhost:5280/stream/966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"suggested_file_name\": \"tmp6zg8pas6\",\n \"timestamp\": null,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\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\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"b132228e64111dab890ab8391db268a1c1a6c4e3\",\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 \"key\": \"7070b5471f986876bef2fb5c9fa49e2b\",\n \"metadata\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mhvx3LUGFQseiqXSuo8tPt38o9DXXE5ZKi\",\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\": \"1574264330\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpwxw_wxay.png\",\n \"sd_hash\": \"506b802c013dcab98dae3a8fbd72c8ee173af5fd10ad42e10c40ce751b659d30e77fc12018d8f88ea276e83712b0c601\",\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\": \"f835cd56580c8e85620015a45e8b7d3583cafab8ac184eb0f17022991806a71f:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01834299b5b1cbce8b18d14ea57374ff848c85daea391502ec3f9bfface5e5437c3fe25708d2147a0b77a32874d1afd7c7f2e675fa87e86be663ee0869eef6adfd815cfe4909f884acb02f9283c49636af8969ef1f0ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d707778775f777861792e706e6718632209696d6167652f706e673230506b802c013dcab98dae3a8fbd72c8ee173af5fd10ad42e10c40ce751b659d30e77fc12018d8f88ea276e83712b0c601120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f7267288abcd5ee053222080112196f1a7a05d837a6d774f801447be60352186bea0eb581ec0d6d188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e63686573746572\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"506b802c013dcab98dae3a8fbd72c8ee173af5fd10ad42e10c40ce751b659d30e77fc12018d8f88ea276e83712b0c601\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"78c6ed41c0e8f25ac808efc55f727afd7f7a4b3937227d16713e39268433633f89b4fc2fc59825fbad21dcf3b7cf8e2a\",\n \"stream_name\": \"tmpwxw_wxay.png\",\n \"streaming_url\": \"http://localhost:5280/stream/506b802c013dcab98dae3a8fbd72c8ee173af5fd10ad42e10c40ce751b659d30e77fc12018d8f88ea276e83712b0c601\",\n \"suggested_file_name\": \"tmpwxw_wxay.png\",\n \"timestamp\": null,\n \"total_bytes\": 112,\n \"total_bytes_lower_bound\": 96,\n \"txid\": \"f835cd56580c8e85620015a45e8b7d3583cafab8ac184eb0f17022991806a71f\",\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\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\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 \"key\": \"f67a8b72104b6dba232cfcd28e7a4766\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01a1fdf826393329fab1baee6ea3a5d7d104b8f97610031e5b3c49954d7f8854224fcc586162ffb37ebce66182dfadad96713bf9bb3c14c01dd7f8dce2923d4b4b07fbc272d1d7365de8719f714a3647fb62b2ca3a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d7072736c6c65736e75180b22186170706c69636174696f6e2f6f637465742d73747265616d3230b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"092716e0202018119c909a6cce0f837c05a817359061112ca9efc5112d34369510980187e66ec45a3c34f40319275879\",\n \"stream_name\": \"tmprsllesnu\",\n \"streaming_url\": \"http://localhost:5280/stream/b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"suggested_file_name\": \"tmprsllesnu\",\n \"timestamp\": null,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\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\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"c9a6d356aa9bba38a32e15e1be4651601c722462\",\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 \"key\": \"e8d2b17d3193371ca7f6c2d13f5663bd\",\n \"metadata\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"n3x8BYAScTPWfaCABx8F4oC56DYMc7havg\",\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\": \"1574265329\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpcsxmdo53.png\",\n \"sd_hash\": \"0017ea2d52e8c2bb3309344fbec05b29a12f059e7ef55dee12682658e8e2f901b3cdf778ff3bfadb9522c008c851801e\",\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\": \"480f1b30819f33b0963eb1fa2bf32ade4d786f722d6163891bb76b2dfaf64d4b:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01a1fdf826393329fab1baee6ea3a5d7d104b8f9765fef5f401f359208ca5e5e24e0409f4b362a7d4a7d47c43c6793e04e1f29f5ff42d552b9a7a9d0deb138d9f62d6214919fafb6fc43f9c18cd6c5b0f599b641f70ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d706373786d646f35332e706e6718632209696d6167652f706e6732300017ea2d52e8c2bb3309344fbec05b29a12f059e7ef55dee12682658e8e2f901b3cdf778ff3bfadb9522c008c851801e120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728f1c3d5ee053222080112196ff6156b8ae227e28d010fc14256d4848501c063137019cfcd188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e63686573746572\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"0017ea2d52e8c2bb3309344fbec05b29a12f059e7ef55dee12682658e8e2f901b3cdf778ff3bfadb9522c008c851801e\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"21b2eeb95de4ca04cd368ee3ab12a11f489e2147cacde83ef6e50ffbcbc01c36daf1e9f63d78380734e38ef8bcac6086\",\n \"stream_name\": \"tmpcsxmdo53.png\",\n \"streaming_url\": \"http://localhost:5280/stream/0017ea2d52e8c2bb3309344fbec05b29a12f059e7ef55dee12682658e8e2f901b3cdf778ff3bfadb9522c008c851801e\",\n \"suggested_file_name\": \"tmpcsxmdo53.png\",\n \"timestamp\": null,\n \"total_bytes\": 112,\n \"total_bytes_lower_bound\": 96,\n \"txid\": \"480f1b30819f33b0963eb1fa2bf32ade4d786f722d6163891bb76b2dfaf64d4b\",\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\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\", \"reverse\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet file list --claim_id=\"7595c2f82ced3c58c1225073590ce18f3edd0291\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_list\", \"params\": {\"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\", \"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\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\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 \"key\": \"d59637b15acc1d0a31ac7025d5318241\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01834299b5b1cbce8b18d14ea57374ff848c85daea8197ad276293ee21d20b350f8c8bec61bf067c9853833b06d9e8253bc3aaae327ca7b97e008ffd759ffc961090621fce9c2dd1a1541306784185f78610b0f62b0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70367a673870617336180b22186170706c69636174696f6e2f6f637465742d73747265616d3230966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"0377e60d0033942da7b9a28c07a7e89eba0046dbd8bd60a11c7f3e2df1d51a2467da10bbcb7a395b13750ab7ceae9470\",\n \"stream_name\": \"tmp6zg8pas6\",\n \"streaming_url\": \"http://localhost:5280/stream/966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"suggested_file_name\": \"tmp6zg8pas6\",\n \"timestamp\": 1574264354,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\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\": \"6d779c509a47c97a050540a42863341eed6c47ad\", \"reverse\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet file list --claim_id=\"6d779c509a47c97a050540a42863341eed6c47ad\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_list\", \"params\": {\"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\", \"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\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\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 \"key\": \"f67a8b72104b6dba232cfcd28e7a4766\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01a1fdf826393329fab1baee6ea3a5d7d104b8f97610031e5b3c49954d7f8854224fcc586162ffb37ebce66182dfadad96713bf9bb3c14c01dd7f8dce2923d4b4b07fbc272d1d7365de8719f714a3647fb62b2ca3a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d7072736c6c65736e75180b22186170706c69636174696f6e2f6f637465742d73747265616d3230b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"092716e0202018119c909a6cce0f837c05a817359061112ca9efc5112d34369510980187e66ec45a3c34f40319275879\",\n \"stream_name\": \"tmprsllesnu\",\n \"streaming_url\": \"http://localhost:5280/stream/b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"suggested_file_name\": \"tmprsllesnu\",\n \"timestamp\": 1574265353,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"written_bytes\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -2691,10 +2691,10 @@ "examples": [ { "title": "Save a file to the downloads directory", - "curl": "curl -d'{\"method\": \"file_save\", \"params\": {\"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\"}}' http://localhost:5279/", - "lbrynet": "lbrynet file save --sd_hash=\"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_save\", \"params\": {\"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1574264332,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\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 \"key\": \"d59637b15acc1d0a31ac7025d5318241\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01834299b5b1cbce8b18d14ea57374ff848c85daea8197ad276293ee21d20b350f8c8bec61bf067c9853833b06d9e8253bc3aaae327ca7b97e008ffd759ffc961090621fce9c2dd1a1541306784185f78610b0f62b0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70367a673870617336180b22186170706c69636174696f6e2f6f637465742d73747265616d3230966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"status\": \"running\",\n \"stopped\": false,\n \"stream_hash\": \"0377e60d0033942da7b9a28c07a7e89eba0046dbd8bd60a11c7f3e2df1d51a2467da10bbcb7a395b13750ab7ceae9470\",\n \"stream_name\": \"tmp6zg8pas6\",\n \"streaming_url\": \"http://localhost:5280/stream/966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"suggested_file_name\": \"tmp6zg8pas6\",\n \"timestamp\": 1574264354,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"written_bytes\": 0\n }\n}" + "curl": "curl -d'{\"method\": \"file_save\", \"params\": {\"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\"}}' http://localhost:5279/", + "lbrynet": "lbrynet file save --sd_hash=\"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_save\", \"params\": {\"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1574265331,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\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 \"key\": \"f67a8b72104b6dba232cfcd28e7a4766\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01a1fdf826393329fab1baee6ea3a5d7d104b8f97610031e5b3c49954d7f8854224fcc586162ffb37ebce66182dfadad96713bf9bb3c14c01dd7f8dce2923d4b4b07fbc272d1d7365de8719f714a3647fb62b2ca3a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d7072736c6c65736e75180b22186170706c69636174696f6e2f6f637465742d73747265616d3230b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"purchase_receipt\": null,\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"status\": \"running\",\n \"stopped\": false,\n \"stream_hash\": \"092716e0202018119c909a6cce0f837c05a817359061112ca9efc5112d34369510980187e66ec45a3c34f40319275879\",\n \"stream_name\": \"tmprsllesnu\",\n \"streaming_url\": \"http://localhost:5280/stream/b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"suggested_file_name\": \"tmprsllesnu\",\n \"timestamp\": 1574265353,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"written_bytes\": 0\n }\n}" } ] }, @@ -2968,7 +2968,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 \"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/tmp5dcqjwi1\",\n \"download_dir\": \"/tmp/tmp5dcqjwi1\",\n \"download_timeout\": 30.0,\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 \"network_interface\": \"0.0.0.0\",\n \"node_rpc_timeout\": 5.0,\n \"peer_connect_timeout\": 3.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 \"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 \"wallet_dir\": \"/tmp/tmp5dcqjwi1\",\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 \"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/tmpgnoina61\",\n \"download_dir\": \"/tmp/tmpgnoina61\",\n \"download_timeout\": 30.0,\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 \"network_interface\": \"0.0.0.0\",\n \"node_rpc_timeout\": 5.0,\n \"peer_connect_timeout\": 3.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 \"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 \"wallet_dir\": \"/tmp/tmpgnoina61\",\n \"wallets\": [\n \"default_wallet\"\n ]\n }\n}" } ] }, @@ -3043,10 +3043,10 @@ "examples": [ { "title": "Abandon a stream claim", - "curl": "curl -d'{\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream abandon 7595c2f82ced3c58c1225073590ce18f3edd0291", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\", \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"010000000138a79bb49b76fd6d55e5476a6618b14ffa6c31bec99969187ab1bcf6ed8d04c9000000006a473044022029952b6066b806a73b4629b4e62f20afbb806482a8daab1a9520741693d27cd902202595f6f75015fde44908940fa1345445da2f77ed2b476598b1c66618c1056bcf0121039a0b1df9b08d8ccfb4ce05e9200b28ccc52334ca943455833af5ed03685ffc72ffffffff0134b7f505000000001976a9145488ef51dd076dd349af271d0bcfe87f41c7fc5088ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"claim_op\": \"update\",\n \"confirmations\": 3,\n \"height\": 214,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"timestamp\": 1574264354,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"moDw6ZsBenDUW2uGoYV926aHQRgMVFrfrU\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"7ef9e3614d77e612e40d5871929840dc7a870ea65022d1e0182dbe98f9e10a20\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"7ef9e3614d77e612e40d5871929840dc7a870ea65022d1e0182dbe98f9e10a20\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream abandon 6d779c509a47c97a050540a42863341eed6c47ad", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\", \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c5856fbb7009a85a78c9f9644b2d4f91bf6f7055718c652891939523a2278b6a000000006a47304402201d29042146b7798130463acbd5c6c3c4fa30963e5c45c9692696e719713ebb3702205bedc2f5e736588967442b98781a325a1f1059290d1cff1b1296c05fbde789e8012103f89a894c1453e0cddb844b1eb3f949ca2204d6ba34fc07249e47b55a8534a0b3ffffffff0134b7f505000000001976a914282fd11ceb5364d73f91cce828937eb2e5cd86cf88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\n \"claim_op\": \"update\",\n \"confirmations\": 3,\n \"height\": 214,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"timestamp\": 1574265353,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mjBSc6kpP2gNzb9zN5LspJaQaRnLwMz9mA\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"7c3a90172981e3154ad468ca9c977c0b7fac79f547ea65883dcc9bcbab7a3173\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"7c3a90172981e3154ad468ca9c977c0b7fac79f547ea65883dcc9bcbab7a3173\"\n }\n}" } ] }, @@ -3247,17 +3247,17 @@ "examples": [ { "title": "Create a stream claim without metadata", - "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmp6zg8pas6\", \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream create astream 1.0 /tmp/tmp6zg8pas6", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmp6zg8pas6\", \"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\": \"0100000001a25892f55e82464674facab3e2efb074885a7c184080966fd1e726b0fb35073e010000006a473044022072173bc40b5a95b1c6ee33d7c3387722215c4ad227dfeb633f96a7db06df92690220407d1c27210ca34103124fd5e29cf8956b9c5430807d53faf56f73153183b40a0121038f2623ad931cf4619bd477e4f9da29af0fa2e1e1cbf831504ef5906e414eb56effffffff0200e1f50500000000bab5076173747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70367a673870617336180b22186170706c69636174696f6e2f6f637465742d73747265616d3230966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b6d7576a9140303fe5815be5a9bbdba8e43981b5ac301f270a388ac38fb9423000000001976a914bce43b16e70715b28a7ef6994a17d657838e574f88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mzrU7wb2zYC8xh7fY3JbWw8Uv4QcejsJNH\",\n \"amount\": \"6.983769\",\n \"confirmations\": 4,\n \"height\": 209,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574264353,\n \"txid\": \"3e0735fbb026e7d16f968040187c5a8874b0efe2b3cafa744646825ef59258a2\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\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#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"timestamp\": null,\n \"txid\": \"480a17cb5c92a5cb775ad4b5d03cff0a66cb6189ab8fdfb579c4ffc098454e98\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mxjijscMQzGWb1pmipMpUPRnguH3a15fW8\",\n \"amount\": \"5.969662\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"480a17cb5c92a5cb775ad4b5d03cff0a66cb6189ab8fdfb579c4ffc098454e98\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.014107\",\n \"total_input\": \"6.983769\",\n \"total_output\": \"6.969662\",\n \"txid\": \"480a17cb5c92a5cb775ad4b5d03cff0a66cb6189ab8fdfb579c4ffc098454e98\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmprsllesnu\", \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream create astream 1.0 /tmp/tmprsllesnu", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmprsllesnu\", \"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\": \"01000000015938959fff1c02e7e0e6d105d4a0e10180084338e0decaba965f2ebd39afc46f010000006a47304402207998278ec7f74855a16f282ed334847982ff2f90a0a8126c056a3af85c297c8a022024c09f4335f4b64c506ccd75619a3e4a4e3e485e215519f8388edcf4bebc18cb0121039f01e128d9a2bf76bdac66ef3c860fc36e10ff6189f27a10d0115c85d86993e3ffffffff0200e1f50500000000bab5076173747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d7072736c6c65736e75180b22186170706c69636174696f6e2f6f637465742d73747265616d3230b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d6d7576a914032dcda1a00c97492eba9cd3228eff69546c74a088ac38fb9423000000001976a9141de221c42b8c6ffaf4c2133b9c17353fa09fc41f88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mrNGxbLpqtct1KWvKFPWbvdrzs1EbAKBTm\",\n \"amount\": \"6.983769\",\n \"confirmations\": 4,\n \"height\": 209,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574265352,\n \"txid\": \"6fc4af39bd2e5f96bacadee03843088001e1a0d405d1e6e0e7021cff9f953859\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\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#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"timestamp\": null,\n \"txid\": \"9720827d9ea05fc3c378da41c13e4204652da8edfc524ae1d72f23ff432094fd\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"miExnY6VrwasxxmLwov7pxoSkXh5y6VKNE\",\n \"amount\": \"5.969662\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"9720827d9ea05fc3c378da41c13e4204652da8edfc524ae1d72f23ff432094fd\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.014107\",\n \"total_input\": \"6.983769\",\n \"total_output\": \"6.969662\",\n \"txid\": \"9720827d9ea05fc3c378da41c13e4204652da8edfc524ae1d72f23ff432094fd\"\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/tmpwxw_wxay.png\", \"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\": 1574264330, \"channel_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream create blank-image 1.0 /tmp/tmpwxw_wxay.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=1574264330 --channel_id=\"eada858c84ff7473a54ed1188bcecbb1b5994283\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpwxw_wxay.png\", \"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\": 1574264330, \"channel_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001984e4598c0ffc479b5df8fab8961cb660aff3cd0b5d45a77cba5925ccb170a48010000006b483045022100caae8553cbe3f9139b231121a2d81faa94330debd2f16abd69cd8ab73ed9393502203e476f82c15ed4eea973c46ca8e9f116810afd938badaae3098f3affd325b6a20121038d9712951cad1f34e89e60fff3c31a2615b98b83ecba583bd244ce08f6ef7111ffffffff0200e1f50500000000fddc01b50b626c616e6b2d696d6167654db10101834299b5b1cbce8b18d14ea57374ff848c85daea391502ec3f9bfface5e5437c3fe25708d2147a0b77a32874d1afd7c7f2e675fa87e86be663ee0869eef6adfd815cfe4909f884acb02f9283c49636af8969ef1f0ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d707778775f777861792e706e6718632209696d6167652f706e673230506b802c013dcab98dae3a8fbd72c8ee173af5fd10ad42e10c40ce751b659d30e77fc12018d8f88ea276e83712b0c601120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f7267288abcd5ee053222080112196f1a7a05d837a6d774f801447be60352186bea0eb581ec0d6d188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e636865737465726d7576a9141a7a05d837a6d774f801447be60352186bea0eb588acac5e7d1d000000001976a91491393678175fb83c427355d8ee1163aec43c7bcc88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mxjijscMQzGWb1pmipMpUPRnguH3a15fW8\",\n \"amount\": \"5.969662\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574264354,\n \"txid\": \"480a17cb5c92a5cb775ad4b5d03cff0a66cb6189ab8fdfb579c4ffc098454e98\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mhvx3LUGFQseiqXSuo8tPt38o9DXXE5ZKi\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b132228e64111dab890ab8391db268a1c1a6c4e3\",\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#b132228e64111dab890ab8391db268a1c1a6c4e3\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"f835cd56580c8e85620015a45e8b7d3583cafab8ac184eb0f17022991806a71f\",\n \"type\": \"claim\",\n \"value\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mhvx3LUGFQseiqXSuo8tPt38o9DXXE5ZKi\",\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\": \"1574264330\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpwxw_wxay.png\",\n \"sd_hash\": \"506b802c013dcab98dae3a8fbd72c8ee173af5fd10ad42e10c40ce751b659d30e77fc12018d8f88ea276e83712b0c601\",\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\": \"mtkpp5jNbnuAfZha2ZV2e9o3taMynbz6FN\",\n \"amount\": \"4.947555\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"f835cd56580c8e85620015a45e8b7d3583cafab8ac184eb0f17022991806a71f\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"5.969662\",\n \"total_output\": \"5.947555\",\n \"txid\": \"f835cd56580c8e85620015a45e8b7d3583cafab8ac184eb0f17022991806a71f\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpcsxmdo53.png\", \"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\": 1574265329, \"channel_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream create blank-image 1.0 /tmp/tmpcsxmdo53.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=1574265329 --channel_id=\"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpcsxmdo53.png\", \"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\": 1574265329, \"channel_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001fd942043ff232fd7e14a52fceda82d6504423ec141da78c3c35fa09e7d822097010000006b4830450221008aea0838df805584172337e3496860ee583e2049061a8bf4e05077df3165ed87022077c73e062adb40134c2e0d17f2cc888a6fc3157a432bc110b0846198ef3d480d01210308ef67ea2459f85847112fa55cd5223f5f0ddc3975401b4992fb3f139850b7d9ffffffff0200e1f50500000000fddc01b50b626c616e6b2d696d6167654db10101a1fdf826393329fab1baee6ea3a5d7d104b8f9765fef5f401f359208ca5e5e24e0409f4b362a7d4a7d47c43c6793e04e1f29f5ff42d552b9a7a9d0deb138d9f62d6214919fafb6fc43f9c18cd6c5b0f599b641f70ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d706373786d646f35332e706e6718632209696d6167652f706e6732300017ea2d52e8c2bb3309344fbec05b29a12f059e7ef55dee12682658e8e2f901b3cdf778ff3bfadb9522c008c851801e120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728f1c3d5ee053222080112196ff6156b8ae227e28d010fc14256d4848501c063137019cfcd188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e636865737465726d7576a914f6156b8ae227e28d010fc14256d4848501c0631388acac5e7d1d000000001976a91467ecfdce4cc9b6f3db9313277bda488868379d7088ac00000000\",\n \"inputs\": [\n {\n \"address\": \"miExnY6VrwasxxmLwov7pxoSkXh5y6VKNE\",\n \"amount\": \"5.969662\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574265353,\n \"txid\": \"9720827d9ea05fc3c378da41c13e4204652da8edfc524ae1d72f23ff432094fd\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n3x8BYAScTPWfaCABx8F4oC56DYMc7havg\",\n \"amount\": \"1.0\",\n \"claim_id\": \"c9a6d356aa9bba38a32e15e1be4651601c722462\",\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#c9a6d356aa9bba38a32e15e1be4651601c722462\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"480f1b30819f33b0963eb1fa2bf32ade4d786f722d6163891bb76b2dfaf64d4b\",\n \"type\": \"claim\",\n \"value\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"n3x8BYAScTPWfaCABx8F4oC56DYMc7havg\",\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\": \"1574265329\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpcsxmdo53.png\",\n \"sd_hash\": \"0017ea2d52e8c2bb3309344fbec05b29a12f059e7ef55dee12682658e8e2f901b3cdf778ff3bfadb9522c008c851801e\",\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\": \"mpzToGNACEPUN3SP3mavDeXyjZLPBAdKzh\",\n \"amount\": \"4.947555\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"480f1b30819f33b0963eb1fa2bf32ade4d786f722d6163891bb76b2dfaf64d4b\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"5.969662\",\n \"total_output\": \"5.947555\",\n \"txid\": \"480f1b30819f33b0963eb1fa2bf32ade4d786f722d6163891bb76b2dfaf64d4b\"\n }\n}" } ] }, @@ -3297,14 +3297,14 @@ "curl": "curl -d'{\"method\": \"stream_list\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet stream list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_list\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_change\": false,\n \"is_channel_signature_valid\": true,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574264354,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\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 \"items\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_change\": false,\n \"is_channel_signature_valid\": true,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574265353,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\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": "Paginate your stream claims", "curl": "curl -d'{\"method\": \"stream_list\", \"params\": {\"page\": 1, \"page_size\": 20}}' http://localhost:5279/", "lbrynet": "lbrynet stream list --page=1 --page_size=20", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_list\", \"params\": {\"page\": 1, \"page_size\": 20}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_change\": false,\n \"is_channel_signature_valid\": true,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574264354,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\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 \"items\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_change\": false,\n \"is_channel_signature_valid\": true,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1574265353,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\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}" } ] }, @@ -3324,6 +3324,12 @@ "description": "amount to back the claim", "is_required": true }, + { + "name": "claim_id", + "type": "str", + "description": "id of the claim being reposted", + "is_required": true + }, { "name": "allow_duplicate_name", "type": "bool", @@ -3619,10 +3625,10 @@ "examples": [ { "title": "Update a stream claim to add channel", - "curl": "curl -d'{\"method\": \"stream_update\", \"params\": {\"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\", \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream update 7595c2f82ced3c58c1225073590ce18f3edd0291 --channel_id=\"eada858c84ff7473a54ed1188bcecbb1b5994283\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_update\", \"params\": {\"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\", \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\", \"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\": \"0100000002984e4598c0ffc479b5df8fab8961cb660aff3cd0b5d45a77cba5925ccb170a48000000006a4730440220518e930ff53216c300969f787f749909307958324c0398fd4b4e96244bad28f702202bf5889cd4e5d314505447d104ac1fbb9728b8e3d95e053fe5fa214aa71a67560121039a0b1df9b08d8ccfb4ce05e9200b28ccc52334ca943455833af5ed03685ffc72ffffffff9e5f9201341ecc5382885168f8533fa113fe201185a47e2903cb3d09eaf512eb010000006a473044022077887e6c2caaefdd30cb6a08040e76c3dff4cac347e70ca44e9ad9f8599a8568022053dac41a9a0e6d274fd6d992071af609ce746375fcbb7d1a428a24a994b17c730121037578b81a4b85b4427b50b5766f0fcea9a70bb3dd77fa8000cccad66c1fc76702ffffffff0200e1f50500000000fd2301b7076173747265616d149102dd3e8fe10c59735022c1583ced2cf8c295754ce801834299b5b1cbce8b18d14ea57374ff848c85daea8197ad276293ee21d20b350f8c8bec61bf067c9853833b06d9e8253bc3aaae327ca7b97e008ffd759ffc961090621fce9c2dd1a1541306784185f78610b0f62b0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70367a673870617336180b22186170706c69636174696f6e2f6f637465742d73747265616d3230966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b6d6d76a9140303fe5815be5a9bbdba8e43981b5ac301f270a388ac32a0d205000000001976a914e7b6e8edc7dce05bea18167e7fa309e7aa2cde4488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"height\": 213,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"timestamp\": 1574264354,\n \"txid\": \"480a17cb5c92a5cb775ad4b5d03cff0a66cb6189ab8fdfb579c4ffc098454e98\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"muH6RxFgWLFcNPuMy4eZc6n5n4teWejPEd\",\n \"amount\": \"0.9772285\",\n \"confirmations\": 3,\n \"height\": 211,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574264353,\n \"txid\": \"eb12f5ea093dcb03297ea4851120fe13a13f53f86851888253cc1e3401925f9e\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mfnu773JhqhFrRJAzpFdEwTZrMLsn4SPFM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"7595c2f82ced3c58c1225073590ce18f3edd0291\",\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#7595c2f82ced3c58c1225073590ce18f3edd0291\",\n \"signing_channel\": {\n \"address\": \"mn7ZojMYMgUG5dMXXcVeuzomoxEoJpwJfG\",\n \"amount\": \"1.0\",\n \"claim_id\": \"eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#eada858c84ff7473a54ed1188bcecbb1b5994283\",\n \"timestamp\": 1574264353,\n \"txid\": \"1131fd1809d9f46ee7515c2b6abcaf841349c84d2b2f4ecdd7996aff5deafc44\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a034200048c44cca18b097f7b7d5ab265c662b2d8b1c18399482a329d2b66b0ea4bc2ca2f873942b0e8187087b30b6c71738aa4159cf713e3d53d46c52fa358f13cee1e7f\",\n \"public_key_id\": \"mpV3Pa6cX4ZpjdsfKPSRFrT3uHyuHF5r6Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmp6zg8pas6\",\n \"sd_hash\": \"966fb7d383a230b28557540fb73f938e73a5c3e9639ad40f576cdf67667b0b027fb5e07a0426695b100f1b698fa2af6b\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n2e9WAhNH4fgPqoESvvhQS31RRgSoRHkk9\",\n \"amount\": \"0.9768965\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000332\",\n \"total_input\": \"1.9772285\",\n \"total_output\": \"1.9768965\",\n \"txid\": \"c9048dedf6bcb17a186999c9be316cfa4fb118666a47e5556dfd769bb49ba738\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_update\", \"params\": {\"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\", \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream update 6d779c509a47c97a050540a42863341eed6c47ad --channel_id=\"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_update\", \"params\": {\"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\", \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\", \"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\": \"0100000002fd942043ff232fd7e14a52fceda82d6504423ec141da78c3c35fa09e7d822097000000006a473044022071f91293ea6594d24c509c1990817cbfe0192eb82224fefd858e8402c28b84ce02206bf38ebdea5378771a4f97f477a09cd4be32f7422b7c1cfbc37b86df7830057e012103f89a894c1453e0cddb844b1eb3f949ca2204d6ba34fc07249e47b55a8534a0b3ffffffff7ab2225f56b1d5bd85ec6fe6c8a797511308226a78972401ffd47efce0e05c22010000006b483045022100849d93b0e70e0cc615a34bc80d476fcc100ebd1cb7ed42846d64c3a950e47c7c0220651845f579da62189faa08c2559a4917830f717ae6660af44310ddf8d26468c4012103a362e2dc8696716d7a7b8c5235e0c21b3483e62ffa768966996c360c556039f6ffffffff0200e1f50500000000fd2301b7076173747265616d14ad476ced1e346328a44005057ac9479a509c776d4ce801a1fdf826393329fab1baee6ea3a5d7d104b8f97610031e5b3c49954d7f8854224fcc586162ffb37ebce66182dfadad96713bf9bb3c14c01dd7f8dce2923d4b4b07fbc272d1d7365de8719f714a3647fb62b2ca3a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d7072736c6c65736e75180b22186170706c69636174696f6e2f6f637465742d73747265616d3230b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d6d6d76a914032dcda1a00c97492eba9cd3228eff69546c74a088ac32a0d205000000001976a914f974bc71e8add27124668d7f9d666f2d0f1bc06088ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"height\": 213,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"timestamp\": 1574265353,\n \"txid\": \"9720827d9ea05fc3c378da41c13e4204652da8edfc524ae1d72f23ff432094fd\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mxMMrM8xQMSSfAaTqjwXds4jjLu5CKjMHD\",\n \"amount\": \"0.9772285\",\n \"confirmations\": 3,\n \"height\": 211,\n \"is_change\": true,\n \"is_mine\": true,\n \"nout\": 1,\n \"timestamp\": 1574265352,\n \"txid\": \"225ce0e0fc7ed4ff012497786a2208135197a7c8e66fec85bdd5b1565f22b27a\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mfomC6TdAbLQJpq1itfRdVbC7k8hArvypL\",\n \"amount\": \"1.0\",\n \"claim_id\": \"6d779c509a47c97a050540a42863341eed6c47ad\",\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#6d779c509a47c97a050540a42863341eed6c47ad\",\n \"signing_channel\": {\n \"address\": \"n2TDoavD9h9TVpxRWtAFpsQEFmpha7hbF3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_change\": false,\n \"is_mine\": true,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#76f9b804d1d7a5a36eeebab1fa29333926f8fda1\",\n \"timestamp\": 1574265352,\n \"txid\": \"8700990c66c793510bc981029010665a816841a7c07c129e62e0a942bd1c2e25\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004986e9237f24ccca2dd182fdc734c8aba84ec6fd2d031e9e2bbcdcad56c8e753636609434ced12a7bb978f1406fd0d6f8bebe7a9014c05e38efd0de7d173df066\",\n \"public_key_id\": \"mu39yX1k1WkNyPPvt7x27QyE9NDYX2dkS4\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprsllesnu\",\n \"sd_hash\": \"b8aa5db430bc8cb142e650351aafbcf8db7f61f76cac2fc5494607ed1ea2621202d15372cafcc943a6ba155bca52789d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n4FxPncA3L6B4PHQRgRLKZJo4XTeGhLmfh\",\n \"amount\": \"0.9768965\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000332\",\n \"total_input\": \"1.9772285\",\n \"total_output\": \"1.9768965\",\n \"txid\": \"6a8b27a22395939128658c7155706fbf914f2d4b64f9c9785aa80970bb6f85c5\"\n }\n}" } ] } @@ -3867,7 +3873,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\": \"2019-11-20 10:39\",\n \"fee\": \"-0.000124\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1574264353,\n \"txid\": \"c1962cea22002ef015edbe292ea8f12e5c8be70d5daace5653a9bfab74555b80\",\n \"update_info\": [],\n \"value\": \"0.0\"\n },\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 7,\n \"date\": \"2019-11-20 10:39\",\n \"fee\": \"0.0\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1574264352,\n \"txid\": \"215d4bbc0fb323cbe6a07e419388a09982696d52bc6f2436737113115c4446a8\",\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\": \"2019-11-20 10:55\",\n \"fee\": \"-0.000124\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1574265352,\n \"txid\": \"0d57203f8c33a7d381716014c0ff32a1e532420b91cdd36e2c141552b218bd6c\",\n \"update_info\": [],\n \"value\": \"0.0\"\n },\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 7,\n \"date\": \"2019-11-20 10:55\",\n \"fee\": \"0.0\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1574265351,\n \"txid\": \"1bcf4ce39b4f34effb0ecc08a5a33dac9163b8558619968a44b43ca7fb9c6e27\",\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}" } ] }, diff --git a/lbry/lbry/extras/daemon/Daemon.py b/lbry/lbry/extras/daemon/Daemon.py index 5c42e99f5..9b354c8ea 100644 --- a/lbry/lbry/extras/daemon/Daemon.py +++ b/lbry/lbry/extras/daemon/Daemon.py @@ -2838,6 +2838,7 @@ class Daemon(metaclass=JSONRPCServerType): Options: --name= : (str) name of the content (can only consist of a-z A-Z 0-9 and -(dash)) --bid= : (decimal) amount to back the claim + --claim_id= : (str) id of the claim being reposted --allow_duplicate_name= : (bool) create new claim even if one already exists with given name. default: false. --channel_id= : (str) claim id of the publisher channel