From d43189ad3303f46e3255307b55a6317d011c7107 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 4 Mar 2021 00:02:42 -0500 Subject: [PATCH] regenerate docs --- docs/api.json | 268 +++++++++++++++++++++++++------------------------- 1 file changed, 134 insertions(+), 134 deletions(-) diff --git a/docs/api.json b/docs/api.json index c90e6c84b..03cc22ffd 100644 --- a/docs/api.json +++ b/docs/api.json @@ -54,10 +54,10 @@ "examples": [ { "title": "Get a file", - "curl": "curl -d'{\"method\": \"get\", \"params\": {\"uri\": \"astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"}}' http://localhost:5279/", - "lbrynet": "lbrynet get astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"get\", \"params\": {\"uri\": \"astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1614621226,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 4,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmp6j_caaiy\",\n \"download_path\": \"/tmp/tmp6j_caaiy/tmpgcrzgr20\",\n \"file_name\": \"tmpgcrzgr20\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"ba5ec19a388790b4e1693df837a23fc8\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01ce8e619f26012272c4733e8578034753b8c22b9418d94ca2387f5531645f44705a49934b0e4ceba64273ebddcbbff00d37e9b8b56bc46d947d3f786e41749f5d09ecbfb1aef1e324c79fde54b9b91a0ff828089a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d706763727a67723230180b22186170706c69636174696f6e2f6f637465742d73747265616d32301af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 0,\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"ee8a6cb4d8191f072342070e5fcbd7e33cc18d28b05c5cbaed48b631a2dad2082efe371cc4fc07b5a3729d2895027853\",\n \"stream_name\": \"tmpgcrzgr20\",\n \"streaming_url\": \"http://localhost:5280/stream/1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"suggested_file_name\": \"tmpgcrzgr20\",\n \"timestamp\": 1614621245,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"uploading_to_reflector\": false,\n \"written_bytes\": 11\n }\n}" + "curl": "curl -d'{\"method\": \"get\", \"params\": {\"uri\": \"astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"}}' http://localhost:5279/", + "lbrynet": "lbrynet get astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"get\", \"params\": {\"uri\": \"astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1614834139,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 4,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmperer8uup\",\n \"download_path\": \"/tmp/tmperer8uup/tmpuyu0q8tj\",\n \"file_name\": \"tmpuyu0q8tj\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"cd4485fae55b2147206733882971405a\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01aa0d8420dccd9c67992f5498be0af1efc4a012b337f1ca30a5844b95623ce944a8279839e5111bc041faf55de4cd6452e2ff25ea6ad84a1e3c478596408f4342829ffaa690073dfbdf024eb5b4c12c2509ad72980a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70757975307138746a180b22186170706c69636174696f6e2f6f637465742d73747265616d32303da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 0,\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"ed940f9a26c786d7a10f006354ac7d0f29772269bd752ce9b6b3681647581d5bd74c89a48e48ca5277eae641b1088239\",\n \"stream_name\": \"tmpuyu0q8tj\",\n \"streaming_url\": \"http://localhost:5280/stream/3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"suggested_file_name\": \"tmpuyu0q8tj\",\n \"timestamp\": 1614834157,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"uploading_to_reflector\": false,\n \"written_bytes\": 11\n }\n}" } ] }, @@ -250,10 +250,10 @@ "examples": [ { "title": "Publish a file", - "curl": "curl -d'{\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpzug1hfmn\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet publish a-new-stream --bid=1.0 --file_path=/tmp/tmpzug1hfmn", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpzug1hfmn\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c89584e67d088d26e5b07bbccf9e7a034579c7f7429ede40a133ac40a3535d86010000006a47304402200a2ee20ac5b5a892ea778a24faa0b41b214e8cefecb1b94e38dde8e3e7eeab2202205645e3163d2aa3f38a82576e79e84844428d4fdfb8911475e19323c11dcba1ed012102e883cc3130eb3c7d3d9731448c4b8bd3b99dbb3521dcfa87c0f2f5a5d02b13c0ffffffff0200e1f50500000000bfb50c612d6e65772d73747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707a75673168666d6e180b22186170706c69636174696f6e2f6f637465742d73747265616d3230d31f682a8bf1aed4da790c9e70508f62c3916b3b36dd6288af22826302ea5f8d527da54c82d57f3179853b09fdbfd0b96d7576a914efdbe4838ce741c2b4c07aa449c081c85fb4493a88ac54826311000000001976a9149abf36d2f59f26d7aee8fb85a074b4211f754dd688ac00000000\",\n \"inputs\": [\n {\n \"address\": \"myuLsuvnvnyUC9SqqMKbzmWPPAh38f3Z5U\",\n \"amount\": \"3.941448\",\n \"confirmations\": 3,\n \"height\": 217,\n \"nout\": 1,\n \"timestamp\": 1614621245,\n \"txid\": \"865d53a340ac33a140de9e42f7c77945037a9ecfbc7bb0e5268d087de68495c8\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n3PDDJuBZFotrYk2Za71uhaKmLFWXSdURF\",\n \"amount\": \"1.0\",\n \"claim_id\": \"0691abfe5eeb041d22af223e6380f46c13f8d4b0\",\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#0691abfe5eeb041d22af223e6380f46c13f8d4b0\",\n \"timestamp\": null,\n \"txid\": \"db12a89ac9209bf70be8304c08c5b5d2579972a24355d6f4f9a86f6d9b1b8658\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpzug1hfmn\",\n \"sd_hash\": \"d31f682a8bf1aed4da790c9e70508f62c3916b3b36dd6288af22826302ea5f8d527da54c82d57f3179853b09fdbfd0b9\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mudBRPUssQLmv5JQz3tEbnrqCvrBqS28S2\",\n \"amount\": \"2.917341\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"db12a89ac9209bf70be8304c08c5b5d2579972a24355d6f4f9a86f6d9b1b8658\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.024107\",\n \"total_input\": \"3.941448\",\n \"total_output\": \"3.917341\",\n \"txid\": \"db12a89ac9209bf70be8304c08c5b5d2579972a24355d6f4f9a86f6d9b1b8658\"\n }\n}" + "curl": "curl -d'{\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpp181cxyh\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet publish a-new-stream --bid=1.0 --file_path=/tmp/tmpp181cxyh", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpp181cxyh\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001d3c61021883790cb859b83f45a3f0b5be6c1510b65269804c10df83ff374d379010000006a47304402207538dfdc7d1553bd5c8d0b666e9fdeb623bc6724580261f0567e5cca9655584702200e8fd6bb472107eff06d91696d31e6c888c5a75bddf598e64a78d64d8aeb94d7012103b9fcada9f923391eadc91ce20b3f728e9af6c67cbbb8dd070267b7d3dc9bae8cffffffff0200e1f50500000000bfb50c612d6e65772d73747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707031383163787968180b22186170706c69636174696f6e2f6f637465742d73747265616d3230074e388a3cc85d990c4efd2981091aea193bcc4c79d7fce1bb6ebe21e974367a8532b437703157cb4ebcf0478fa5f4a46d7576a91492ba98b5cc1dd6657a59adb9f11219790bd6da2888ac54826311000000001976a9148bf7ed85b10e08bd836503d41c7e599c69beee2288ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqQ9oWwESPiXhdCqnX74GKJC52Au3mLppJ\",\n \"amount\": \"3.941448\",\n \"confirmations\": 3,\n \"height\": 217,\n \"nout\": 1,\n \"timestamp\": 1614834157,\n \"txid\": \"79d374f33ff80dc1049826650b51c1e65b0b3f5af4839b85cb9037882110c6d3\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mttnV1prP9cR6NqH9cknfSCNcayLTZEgeo\",\n \"amount\": \"1.0\",\n \"claim_id\": \"555fa6a2699a5eebdd78bda6aa419e4274b4db97\",\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#555fa6a2699a5eebdd78bda6aa419e4274b4db97\",\n \"timestamp\": null,\n \"txid\": \"90115557747edc0bae55e73c8b612f5213637dc3099bbb5bae169989d954cce0\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpp181cxyh\",\n \"sd_hash\": \"074e388a3cc85d990c4efd2981091aea193bcc4c79d7fce1bb6ebe21e974367a8532b437703157cb4ebcf0478fa5f4a4\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mtH3E3bCZS3BYt1zrYyxgE4JMPeYiu32xc\",\n \"amount\": \"2.917341\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"90115557747edc0bae55e73c8b612f5213637dc3099bbb5bae169989d954cce0\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.024107\",\n \"total_input\": \"3.941448\",\n \"total_output\": \"3.917341\",\n \"txid\": \"90115557747edc0bae55e73c8b612f5213637dc3099bbb5bae169989d954cce0\"\n }\n}" } ] }, @@ -314,10 +314,10 @@ "examples": [ { "title": "Resolve a claim", - "curl": "curl -d'{\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"], \"include_purchase_receipt\": false, \"include_is_my_output\": false, \"include_sent_supports\": false, \"include_sent_tips\": false, \"include_received_tips\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet resolve astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"], \"include_purchase_receipt\": false, \"include_is_my_output\": false, \"include_sent_supports\": false, \"include_sent_tips\": false, \"include_received_tips\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\": {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9/astream#5\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1614621245,\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#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"short_url\": \"lbry://astream#5\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 2,\n \"creation_height\": 209,\n \"creation_timestamp\": 1614621244,\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#942bc2b853470378853e73c4722201269f618ece\",\n \"short_url\": \"lbry://@channel#9\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n }\n}" + "curl": "curl -d'{\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"], \"include_purchase_receipt\": false, \"include_is_my_output\": false, \"include_sent_supports\": false, \"include_sent_tips\": false, \"include_received_tips\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet resolve astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"], \"include_purchase_receipt\": false, \"include_is_my_output\": false, \"include_sent_supports\": false, \"include_sent_tips\": false, \"include_received_tips\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\": {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b/astream#8\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1614834157,\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#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"short_url\": \"lbry://astream#8\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 2,\n \"creation_height\": 209,\n \"creation_timestamp\": 1614834156,\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#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"short_url\": \"lbry://@channel#b\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n }\n}" } ] }, @@ -339,7 +339,7 @@ "curl": "curl -d'{\"method\": \"status\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet status", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"status\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blob_manager\": {\n \"connections\": {\n \"incoming_bps\": {},\n \"max_incoming_mbs\": 0.0,\n \"max_outgoing_mbs\": 0.0,\n \"outgoing_bps\": {},\n \"total_incoming_mbs\": 0.0,\n \"total_outgoing_mbs\": 0.0,\n \"total_received\": 0,\n \"total_sent\": 0\n },\n \"finished_blobs\": 0\n },\n \"connection_status\": {\n \"code\": \"network_connection\",\n \"message\": \"Your internet connection appears to have been interrupted\"\n },\n \"ffmpeg_status\": {\n \"analyze_audio_volume\": true,\n \"available\": true,\n \"which\": \"/usr/bin/ffmpeg\"\n },\n \"file_manager\": {\n \"managed_files\": 0\n },\n \"installation_id\": \"4ur44j9bzM7LcStvL8KWEKVhqzhVTKMq1pTu89xcwqTj6Zj3nFH9BVQ4uQ5QG1QB3N\",\n \"is_running\": true,\n \"skipped_components\": [\n \"dht\",\n \"upnp\",\n \"hash_announcer\",\n \"peer_protocol_server\",\n \"libtorrent_component\"\n ],\n \"startup_status\": {\n \"blob_manager\": true,\n \"database\": true,\n \"exchange_rate_manager\": true,\n \"file_manager\": true,\n \"wallet\": true,\n \"wallet_server_payments\": true\n },\n \"wallet\": {\n \"available_servers\": 1,\n \"best_blockhash\": \"81c08d1b1d02cce825e3c334269493a4abe479479aa6e552c498b70866da1b52\",\n \"blocks\": 206,\n \"blocks_behind\": 0,\n \"connected\": \"127.0.0.1:50002\",\n \"connected_features\": {\n \"daily_fee\": \"0\",\n \"description\": \"\",\n \"donation_address\": \"\",\n \"genesis_hash\": \"6e3fcf1299d4ec5d79c3a4c91d624a4acf9e2e173d95a1a0504f677669687556\",\n \"hash_function\": \"sha256\",\n \"hosts\": {},\n \"payment_address\": \"\",\n \"protocol_max\": \"0.99.0\",\n \"protocol_min\": \"0.54.0\",\n \"pruning\": null,\n \"server_version\": \"0.90.1\",\n \"trending_algorithm\": \"zscore\"\n },\n \"headers_synchronization_progress\": 100,\n \"known_servers\": 1,\n \"servers\": [\n {\n \"availability\": true,\n \"host\": \"127.0.0.1\",\n \"latency\": 0.0061540050082840025,\n \"port\": 50002\n }\n ]\n },\n \"wallet_server_payments\": {\n \"max_fee\": \"0.0\",\n \"running\": false\n }\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blob_manager\": {\n \"connections\": {\n \"incoming_bps\": {},\n \"max_incoming_mbs\": 0.0,\n \"max_outgoing_mbs\": 0.0,\n \"outgoing_bps\": {},\n \"total_incoming_mbs\": 0.0,\n \"total_outgoing_mbs\": 0.0,\n \"total_received\": 0,\n \"total_sent\": 0\n },\n \"finished_blobs\": 0\n },\n \"connection_status\": {\n \"code\": \"network_connection\",\n \"message\": \"Your internet connection appears to have been interrupted\"\n },\n \"ffmpeg_status\": {\n \"analyze_audio_volume\": true,\n \"available\": true,\n \"which\": \"/usr/bin/ffmpeg\"\n },\n \"file_manager\": {\n \"managed_files\": 0\n },\n \"installation_id\": \"2aTFQbeCGfsYLp6UZ8iMaPpg2LXZ4Kz9CtSj5NvXzTAUQiAKzvYTbCej1UJ3bo3Up4\",\n \"is_running\": true,\n \"skipped_components\": [\n \"dht\",\n \"upnp\",\n \"hash_announcer\",\n \"peer_protocol_server\",\n \"libtorrent_component\"\n ],\n \"startup_status\": {\n \"blob_manager\": true,\n \"database\": true,\n \"exchange_rate_manager\": true,\n \"file_manager\": true,\n \"wallet\": true,\n \"wallet_server_payments\": true\n },\n \"wallet\": {\n \"available_servers\": 1,\n \"best_blockhash\": \"ebf3b243548e51e906821b439c20ca0389ce76e76d2778ece293f0bd5262ae52\",\n \"blocks\": 206,\n \"blocks_behind\": 0,\n \"connected\": \"127.0.0.1:50002\",\n \"connected_features\": {\n \"daily_fee\": \"0\",\n \"description\": \"\",\n \"donation_address\": \"\",\n \"genesis_hash\": \"6e3fcf1299d4ec5d79c3a4c91d624a4acf9e2e173d95a1a0504f677669687556\",\n \"hash_function\": \"sha256\",\n \"hosts\": {},\n \"payment_address\": \"\",\n \"protocol_max\": \"0.99.0\",\n \"protocol_min\": \"0.54.0\",\n \"pruning\": null,\n \"server_version\": \"0.90.1\",\n \"trending_algorithm\": \"zscore\"\n },\n \"headers_synchronization_progress\": 100,\n \"known_servers\": 1,\n \"servers\": [\n {\n \"availability\": true,\n \"host\": \"127.0.0.1\",\n \"latency\": 0.011066530016250908,\n \"port\": 50002\n }\n ]\n },\n \"wallet_server_payments\": {\n \"max_fee\": \"0.0\",\n \"running\": false\n }\n }\n}" } ] }, @@ -361,7 +361,7 @@ "curl": "curl -d'{\"method\": \"version\", \"params\": {}}' http://localhost:5279/", "lbrynet": "lbrynet version", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"version\", \"params\": {}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"build\": \"dev\",\n \"desktop\": \"XFCE\",\n \"distro\": {\n \"codename\": \"bionic\",\n \"id\": \"ubuntu\",\n \"like\": \"debian\",\n \"version\": \"18.04\",\n \"version_parts\": {\n \"build_number\": \"\",\n \"major\": \"18\",\n \"minor\": \"04\"\n }\n },\n \"lbrynet_version\": \"0.90.1\",\n \"os_release\": \"5.4.0-65-generic\",\n \"os_system\": \"Linux\",\n \"platform\": \"Linux-5.4.0-65-generic-x86_64-with-Ubuntu-18.04-bionic\",\n \"processor\": \"x86_64\",\n \"python_version\": \"3.7.5\",\n \"version\": \"0.90.1\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"build\": \"dev\",\n \"desktop\": \"GNOME\",\n \"distro\": {\n \"codename\": \"xenial\",\n \"id\": \"ubuntu\",\n \"like\": \"debian\",\n \"version\": \"16.04\",\n \"version_parts\": {\n \"build_number\": \"\",\n \"major\": \"16\",\n \"minor\": \"04\"\n }\n },\n \"lbrynet_version\": \"0.90.1\",\n \"os_release\": \"4.4.0-116-generic\",\n \"os_system\": \"Linux\",\n \"platform\": \"Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial\",\n \"processor\": \"x86_64\",\n \"python_version\": \"3.7.9\",\n \"version\": \"0.90.1\"\n }\n}" } ] } @@ -415,10 +415,10 @@ "examples": [ { "title": "Add an account from seed", - "curl": "curl -d'{\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"scatter hospital wreck manage cushion humble hill among ghost bacon illegal clean\", \"single_key\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet account add \"new account\" --seed=\"scatter hospital wreck manage cushion humble hill among ghost bacon illegal clean\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"scatter hospital wreck manage cushion humble hill among ghost bacon illegal clean\", \"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\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614621215,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPd3VqwXosEcdCkgQ9Zxycv6Jf6uVzyMDp8JCKQUBx67Hsu3EeawJaoZbxsJgotjfFCyj9PU5kb63QcEszLGupv9v7q46gLfS\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WWXdqBUTe2HKKhv5jJAXVPuSPRYJPd2CxnT62s1YGbuk596KwEF4CCopYZEfKBGveAdhpAJEMowaZBMkgBT6CRLWoTejKWJ\",\n \"seed\": \"scatter hospital wreck manage cushion humble hill among ghost bacon illegal clean\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"summer correct gift diesel onion split asset expect frozen drip process solid\", \"single_key\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet account add \"new account\" --seed=\"summer correct gift diesel onion split asset expect frozen drip process solid\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"summer correct gift diesel onion split asset expect frozen drip process solid\", \"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\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614834128,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPedmGmKh6rP9DD9MJtJU1zBJMFmwxc4AJhGTMEYAademgSSuvkotAvfTd1t83sh99hjxr64ngQpYKNjVmrMKUDVFb8CcCFPb\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Y6o4eyMhFnoKnAsF3devZUu8YHzG2KxhXki7rvzAp9PYcZWVjEXTCBwzqHydbVt15j9e2knARs5wJ3yMaA5LXUoZNLYXYR8\",\n \"seed\": \"summer correct gift diesel onion split asset expect frozen drip process solid\"\n }\n}" } ] }, @@ -456,9 +456,9 @@ }, { "title": "Get balance for specific account by id", - "curl": "curl -d'{\"method\": \"account_balance\", \"params\": {\"account_id\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\"}}' http://localhost:5279/", - "lbrynet": "lbrynet account balance \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_balance\", \"params\": {\"account_id\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\"}}).json()", + "curl": "curl -d'{\"method\": \"account_balance\", \"params\": {\"account_id\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\"}}' http://localhost:5279/", + "lbrynet": "lbrynet account balance \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_balance\", \"params\": {\"account_id\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\"}}).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}" } ] @@ -493,7 +493,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\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614621215,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPd3VqwXosEcdCkgQ9Zxycv6Jf6uVzyMDp8JCKQUBx67Hsu3EeawJaoZbxsJgotjfFCyj9PU5kb63QcEszLGupv9v7q46gLfS\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WWXdqBUTe2HKKhv5jJAXVPuSPRYJPd2CxnT62s1YGbuk596KwEF4CCopYZEfKBGveAdhpAJEMowaZBMkgBT6CRLWoTejKWJ\",\n \"seed\": \"scatter hospital wreck manage cushion humble hill among ghost bacon illegal clean\"\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\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614834128,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPedmGmKh6rP9DD9MJtJU1zBJMFmwxc4AJhGTMEYAademgSSuvkotAvfTd1t83sh99hjxr64ngQpYKNjVmrMKUDVFb8CcCFPb\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Y6o4eyMhFnoKnAsF3devZUu8YHzG2KxhXki7rvzAp9PYcZWVjEXTCBwzqHydbVt15j9e2knARs5wJ3yMaA5LXUoZNLYXYR8\",\n \"seed\": \"summer correct gift diesel onion split asset expect frozen drip process solid\"\n }\n}" } ] }, @@ -548,24 +548,24 @@ "examples": [ { "title": "Transfer 2 LBC from default account to specific account", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --to_account=\"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\" --amount=2.0 --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001972fc380d775b9f5748c1b03351841e69e907ed204041bcc88022fd439817103000000006b483045022100bfcf9450bcd680e5e8249693cef877e951cc53b1a764642947bf1493f10592f702207344d5e11b7bf8fcb48fc7e80fb61057f0262e51dcb26083e63f65550deeaffa01210375a7b5b52138d859b7b344f49d52c43f447a06460e0d2107fe2830a2a36ecf62ffffffff0200c2eb0b000000001976a91462d52a821b5c55079dfafc47749e1f83b247133488ac90d7ae2f000000001976a914079e262da4f4f0b572fe9cbe85350c29fadef68f88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n2cq8FSsadhsmbnj9cZs3cyJyjqJ7e6G7N\",\n \"amount\": \"10.0\",\n \"confirmations\": 6,\n \"height\": 201,\n \"nout\": 0,\n \"timestamp\": 1614621243,\n \"txid\": \"03718139d42f0288cc1b0404d27e909ee6411835031b8c74f5b975d780c32f97\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mpXXstaQLYiGyhbNXYBEaQYhYUCAms11Ui\",\n \"amount\": \"2.0\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"2a59154c59f18f116cf1116b65a9e51bb11e95d01ad840d10210f139f4740ba6\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mgDEUnrCDpB8JJ8jSLcdPgdm4a7bgpg3on\",\n \"amount\": \"7.999876\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"2a59154c59f18f116cf1116b65a9e51bb11e95d01ad840d10210f139f4740ba6\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000124\",\n \"total_input\": \"10.0\",\n \"total_output\": \"9.999876\",\n \"txid\": \"2a59154c59f18f116cf1116b65a9e51bb11e95d01ad840d10210f139f4740ba6\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --to_account=\"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\" --amount=2.0 --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000014a33693119a1c72123a870ac6d144daffcfd74f9f4bd09326711851c96dc618b000000006a4730440220438ed3d4599b4e7e7a92eb84cad58cd42f76c894f90e194dc84a02224e39e1f502202ae99eab4bae234a40a138c9126dd4c35a0704e4768e723a51b64681c921e9c101210364f31b2915935fabfed02054c219d527afdad8ac5599421993ef4a00dc0867b9ffffffff0200c2eb0b000000001976a91455cba7026d1281c324842bfa14eae6c4e74ea76288ac90d7ae2f000000001976a914edde0e46ac202e67ffd89b724429a71629888b3a88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mhMnQn3qu9GMZ6B7ZezhNP7mPEC1JYzQ2L\",\n \"amount\": \"10.0\",\n \"confirmations\": 6,\n \"height\": 201,\n \"nout\": 0,\n \"timestamp\": 1614834155,\n \"txid\": \"8b61dc961c8511673209bdf4f974fdfcaf4d146dac70a82321c7a1193169334a\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"moLbhNi41ra7J3b5e7dmBSoxqNgjvp9XJb\",\n \"amount\": \"2.0\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"fa97d309280b2e779d0a4f7a0b3c5fa5586b8697d601e336e865517608e328a2\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"n3CgTDtBMq1jigfQ3Y8NpYesjZyA4Qp3wm\",\n \"amount\": \"7.999876\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"fa97d309280b2e779d0a4f7a0b3c5fa5586b8697d601e336e865517608e328a2\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000124\",\n \"total_input\": \"10.0\",\n \"total_output\": \"9.999876\",\n \"txid\": \"fa97d309280b2e779d0a4f7a0b3c5fa5586b8697d601e336e865517608e328a2\"\n }\n}" }, { "title": "Spread LBC between multiple addresses", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"from_account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --to_account=\"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\" --from_account=\"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\" --amount=1.5 --outputs=2 --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"from_account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001a60b74f439f11002d140d81ad0951eb11be5a9656b11f16c118ff1594c15592a000000006b483045022100b03aeabc03a95713f6e462c664466e065f2f146c2809c3d04e35ab4a875a5cd302201559894cb39bf3909372191a14b9f819f46949a9dc075d76599519511edc8835012103ec354e8f3a25302c53cedd4f91610e6bf66d86bf112d78d391bd2231c3e7a2dcffffffff03c0687804000000001976a91458e1a8511215efffae0c854f3aaddca53adb5d6b88acc0687804000000001976a91458e1a8511215efffae0c854f3aaddca53adb5d6b88ac6cb9fa02000000001976a9142da33c297ca84b7df5191ebcb01fa82201ce83c788ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mpXXstaQLYiGyhbNXYBEaQYhYUCAms11Ui\",\n \"amount\": \"2.0\",\n \"confirmations\": 1,\n \"height\": 207,\n \"nout\": 0,\n \"timestamp\": 1614621244,\n \"txid\": \"2a59154c59f18f116cf1116b65a9e51bb11e95d01ad840d10210f139f4740ba6\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mocv5thWMg7Vow6618nEgJikSxtJgJXBF6\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"588bd4cab4706a31555746aaa00be1b705f5d5994199a21ec82d1951f65dc9fd\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mocv5thWMg7Vow6618nEgJikSxtJgJXBF6\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"588bd4cab4706a31555746aaa00be1b705f5d5994199a21ec82d1951f65dc9fd\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mjgGFTG7AdmfV1GphQVaMHHtDkeEHkFnfN\",\n \"amount\": \"0.499859\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 2,\n \"timestamp\": null,\n \"txid\": \"588bd4cab4706a31555746aaa00be1b705f5d5994199a21ec82d1951f65dc9fd\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000141\",\n \"total_input\": \"2.0\",\n \"total_output\": \"1.999859\",\n \"txid\": \"588bd4cab4706a31555746aaa00be1b705f5d5994199a21ec82d1951f65dc9fd\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"from_account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --to_account=\"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\" --from_account=\"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\" --amount=1.5 --outputs=2 --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"from_account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001a228e308765165e836e301d697866b58a55f3c0b7a4f0a9d772e0b2809d397fa000000006b483045022100c3bb7374d37c62079bffa50679b79fa49322331be5464f48657ddcc73fd719c2022074e5723a0d3fc5326f87a9324d903d6609eb75bd62b7281f1cc33cde0fff180f012102ad2ab35a6ff6c7152cdf996b06d669dfa58c0f75cf59d2c2ca1764e1aedbf816ffffffff03c0687804000000001976a914909dd2aed4405ed6dc377a9c1afebd98cd46f82088acc0687804000000001976a914909dd2aed4405ed6dc377a9c1afebd98cd46f82088ac6cb9fa02000000001976a9141d9f53f394b630e9faadf0b21d6c5b7fc1481f5f88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"moLbhNi41ra7J3b5e7dmBSoxqNgjvp9XJb\",\n \"amount\": \"2.0\",\n \"confirmations\": 1,\n \"height\": 207,\n \"nout\": 0,\n \"timestamp\": 1614834156,\n \"txid\": \"fa97d309280b2e779d0a4f7a0b3c5fa5586b8697d601e336e865517608e328a2\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mthcfQmCReFgixYFzt5f8bQc4rbrJ1uKUP\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"822687d83a8cb6e5e0c9610b4692fb11d8c46dad8396e4af52fda369be510d07\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mthcfQmCReFgixYFzt5f8bQc4rbrJ1uKUP\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"822687d83a8cb6e5e0c9610b4692fb11d8c46dad8396e4af52fda369be510d07\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"miDakv6911nvbxLnKykA5HcqRyY1SGHZvg\",\n \"amount\": \"0.499859\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 2,\n \"timestamp\": null,\n \"txid\": \"822687d83a8cb6e5e0c9610b4692fb11d8c46dad8396e4af52fda369be510d07\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000141\",\n \"total_input\": \"2.0\",\n \"total_output\": \"1.999859\",\n \"txid\": \"822687d83a8cb6e5e0c9610b4692fb11d8c46dad8396e4af52fda369be510d07\"\n }\n}" }, { "title": "Transfer all LBC to a specified account", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"from_account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"everything\": true, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --from_account=\"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\" --everything --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"from_account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"everything\": true, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000003fdc95df651192dc81ea2994199d5f505b7e10ba0aa465755316a70b4cad48b58000000006a4730440220624398f04b746c30b1ce441f9cb6f026158c4388c127712b5ff2ce15cee751bd02202cea70a653f45471a751e71a7c9b51367884fb862469fcc32813786af4658689012102044fb8df7026791fd865d2d6dd54a60ace0b5299a6dc5d18fba8eb4a4450b216fffffffffdc95df651192dc81ea2994199d5f505b7e10ba0aa465755316a70b4cad48b58010000006b4830450221009ee3788a75bdaa7001b39e0e54257ac24ad33d128cb1c713169a07d36667345b02200935c8d38911b55a9a4b2d66657ccf1eed8b4044095790d11094edb90271398c012102044fb8df7026791fd865d2d6dd54a60ace0b5299a6dc5d18fba8eb4a4450b216fffffffffdc95df651192dc81ea2994199d5f505b7e10ba0aa465755316a70b4cad48b58020000006a47304402206ce0585e1eab53a70215311abd5c8350ce6918c47d6c97a927d79581d76dd2be0220114594e1f2ea790d9686b48e558e1a5f7fc99f2694c8660958f892adb2a5575401210323b09be7fced917c0eef47a32bf2ffab8c4410e3ceccab19e8907b8b01458467ffffffff015027eb0b000000001976a914fa7c960f0bd9cc9ea060c57e74e27d9cba8f7e7088ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mocv5thWMg7Vow6618nEgJikSxtJgJXBF6\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 0,\n \"timestamp\": 1614621244,\n \"txid\": \"588bd4cab4706a31555746aaa00be1b705f5d5994199a21ec82d1951f65dc9fd\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mocv5thWMg7Vow6618nEgJikSxtJgJXBF6\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 1,\n \"timestamp\": 1614621244,\n \"txid\": \"588bd4cab4706a31555746aaa00be1b705f5d5994199a21ec82d1951f65dc9fd\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mjgGFTG7AdmfV1GphQVaMHHtDkeEHkFnfN\",\n \"amount\": \"0.499859\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 2,\n \"timestamp\": 1614621244,\n \"txid\": \"588bd4cab4706a31555746aaa00be1b705f5d5994199a21ec82d1951f65dc9fd\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n4MQUQkQfiH4AWmDYhrbWhhJpRAcQXeWaT\",\n \"amount\": \"1.999604\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"f9a7294290ef5775fb9da247884cd8ff2e1bd4e3e1103556799f9aade7691118\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000255\",\n \"total_input\": \"1.999859\",\n \"total_output\": \"1.999604\",\n \"txid\": \"f9a7294290ef5775fb9da247884cd8ff2e1bd4e3e1103556799f9aade7691118\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"from_account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"everything\": true, \"broadcast\": true}}' http://localhost:5279/", + "lbrynet": "lbrynet account fund --from_account=\"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\" --everything --broadcast", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"from_account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"everything\": true, \"broadcast\": true}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000003070d51be69a3fd52afe49683ad6dc4d811fb92460b61c9e0e5b68c3ad8872682000000006b483045022100c1052202abee3a4f0b5a184bb47ab3f6a91a0e942c16765d215eac495f0770e702206d19209d0036958000bde6101fa7a7c87c589faab201db15aa3c31f2787fdd990121025db03aaf1e0489320e56bcb77c89f3bf84d5a859c7260fcca1698680fefd95afffffffff070d51be69a3fd52afe49683ad6dc4d811fb92460b61c9e0e5b68c3ad8872682010000006b483045022100b09a819af23d1525b4823050cea32260bebd9eb3b0cc4c0945814d4d79e0f654022041c381e571ba25a696434aa5f0df48108bdf6434ac796a9f446dd6e5177e4f360121025db03aaf1e0489320e56bcb77c89f3bf84d5a859c7260fcca1698680fefd95afffffffff070d51be69a3fd52afe49683ad6dc4d811fb92460b61c9e0e5b68c3ad8872682020000006b483045022100aa8f6ea8524a541b97fc6ee3dcdecd08c2a64d0219afa74e6ce455fc25219f5c022044f8178a28921c5722191ed3f20937ae6e426dedeaaa59079380b2dfa6c65bed0121028d89f7d9d868a973242786c2654268a20bb3bdab098b48877466db59826ca7a3ffffffff015027eb0b000000001976a914a3daa8bbce4bc9102c73b83c0f8328222cce6e8e88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mthcfQmCReFgixYFzt5f8bQc4rbrJ1uKUP\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 0,\n \"timestamp\": 1614834156,\n \"txid\": \"822687d83a8cb6e5e0c9610b4692fb11d8c46dad8396e4af52fda369be510d07\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mthcfQmCReFgixYFzt5f8bQc4rbrJ1uKUP\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 1,\n \"timestamp\": 1614834156,\n \"txid\": \"822687d83a8cb6e5e0c9610b4692fb11d8c46dad8396e4af52fda369be510d07\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"miDakv6911nvbxLnKykA5HcqRyY1SGHZvg\",\n \"amount\": \"0.499859\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 2,\n \"timestamp\": 1614834156,\n \"txid\": \"822687d83a8cb6e5e0c9610b4692fb11d8c46dad8396e4af52fda369be510d07\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mvTLP2MGeAmwS7y9ir6Sowoa6hhBymUkpv\",\n \"amount\": \"1.999604\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"f1b5ee954812d3e88d5d08f535280814ea7cb4913e9801e60f2098c8b0a7c4ec\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000255\",\n \"total_input\": \"1.999859\",\n \"total_output\": \"1.999604\",\n \"txid\": \"f1b5ee954812d3e88d5d08f535280814ea7cb4913e9801e60f2098c8b0a7c4ec\"\n }\n}" } ] }, @@ -623,7 +623,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\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"is_default\": true,\n \"ledger\": \"lbc_regtest\",\n \"name\": \"Account #muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"public_key\": \"tpubD6NzVbkrYhZ4X3oxw84kxUg8DDAQU2Ez2zExtao4WcpqU2QQ5GD9KMwYH28NSSJmKNencZdBmwJv5diEk8J3CpwDUoaRUCEUnHTrqMf9rsn\",\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\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"is_default\": true,\n \"ledger\": \"lbc_regtest\",\n \"name\": \"Account #miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"public_key\": \"tpubD6NzVbkrYhZ4XUodLJ3wP7453rkhnEU9euqeBULDrbsmbwrwoPFpm3CeyXqQhsccPxugpfdxZBjwAvjgBqqB99RhQWtKUJvxyMbos77qyTG\",\n \"satoshis\": 1000000000\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -668,10 +668,10 @@ "examples": [ { "title": "Remove an account", - "curl": "curl -d'{\"method\": \"account_remove\", \"params\": {\"account_id\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\"}}' http://localhost:5279/", - "lbrynet": "lbrynet account remove my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_remove\", \"params\": {\"account_id\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\"}}).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\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614621215,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPd3VqwXosEcdCkgQ9Zxycv6Jf6uVzyMDp8JCKQUBx67Hsu3EeawJaoZbxsJgotjfFCyj9PU5kb63QcEszLGupv9v7q46gLfS\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WWXdqBUTe2HKKhv5jJAXVPuSPRYJPd2CxnT62s1YGbuk596KwEF4CCopYZEfKBGveAdhpAJEMowaZBMkgBT6CRLWoTejKWJ\",\n \"seed\": \"scatter hospital wreck manage cushion humble hill among ghost bacon illegal clean\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_remove\", \"params\": {\"account_id\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\"}}' http://localhost:5279/", + "lbrynet": "lbrynet account remove n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_remove\", \"params\": {\"account_id\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\"}}).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\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614834128,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPedmGmKh6rP9DD9MJtJU1zBJMFmwxc4AJhGTMEYAademgSSuvkotAvfTd1t83sh99hjxr64ngQpYKNjVmrMKUDVFb8CcCFPb\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Y6o4eyMhFnoKnAsF3devZUu8YHzG2KxhXki7rvzAp9PYcZWVjEXTCBwzqHydbVt15j9e2knARs5wJ3yMaA5LXUoZNLYXYR8\",\n \"seed\": \"summer correct gift diesel onion split asset expect frozen drip process solid\"\n }\n}" } ] }, @@ -764,10 +764,10 @@ "examples": [ { "title": "Modify maximum number of times a change address can be reused", - "curl": "curl -d'{\"method\": \"account_set\", \"params\": {\"account_id\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"default\": false, \"change_max_uses\": 10}}' http://localhost:5279/", - "lbrynet": "lbrynet account set my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY --change_max_uses=10", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_set\", \"params\": {\"account_id\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\", \"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\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614621215,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPd3VqwXosEcdCkgQ9Zxycv6Jf6uVzyMDp8JCKQUBx67Hsu3EeawJaoZbxsJgotjfFCyj9PU5kb63QcEszLGupv9v7q46gLfS\",\n \"public_key\": \"tpubD6NzVbkrYhZ4WWXdqBUTe2HKKhv5jJAXVPuSPRYJPd2CxnT62s1YGbuk596KwEF4CCopYZEfKBGveAdhpAJEMowaZBMkgBT6CRLWoTejKWJ\",\n \"seed\": \"scatter hospital wreck manage cushion humble hill among ghost bacon illegal clean\"\n }\n}" + "curl": "curl -d'{\"method\": \"account_set\", \"params\": {\"account_id\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"default\": false, \"change_max_uses\": 10}}' http://localhost:5279/", + "lbrynet": "lbrynet account set n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL --change_max_uses=10", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_set\", \"params\": {\"account_id\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\", \"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\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614834128,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPedmGmKh6rP9DD9MJtJU1zBJMFmwxc4AJhGTMEYAademgSSuvkotAvfTd1t83sh99hjxr64ngQpYKNjVmrMKUDVFb8CcCFPb\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Y6o4eyMhFnoKnAsF3devZUu8YHzG2KxhXki7rvzAp9PYcZWVjEXTCBwzqHydbVt15j9e2knARs5wJ3yMaA5LXUoZNLYXYR8\",\n \"seed\": \"summer correct gift diesel onion split asset expect frozen drip process solid\"\n }\n}" } ] } @@ -803,9 +803,9 @@ "examples": [ { "title": "Check if address is mine", - "curl": "curl -d'{\"method\": \"address_is_mine\", \"params\": {\"address\": \"mrFioSBxaQpS9oRvgqFVRMSZvqokNVkQmi\"}}' http://localhost:5279/", - "lbrynet": "lbrynet address is_mine mrFioSBxaQpS9oRvgqFVRMSZvqokNVkQmi", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_is_mine\", \"params\": {\"address\": \"mrFioSBxaQpS9oRvgqFVRMSZvqokNVkQmi\"}}).json()", + "curl": "curl -d'{\"method\": \"address_is_mine\", \"params\": {\"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\"}}' http://localhost:5279/", + "lbrynet": "lbrynet address is_mine mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_is_mine\", \"params\": {\"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": true\n}" } ] @@ -852,14 +852,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\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mgDEUnrCDpB8JJ8jSLcdPgdm4a7bgpg3on\",\n \"pubkey\": \"tpubDA9GDAntyJu4PyFgVqn9MHdek32swDTusv3LEtQPiAQ34sHbi1Pmp8JPCAjWyocVkAuVFnNowVJa4DCyxyyaZuuAMnJirVraTTqRFsYmpAv\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mgtadATVAsRjXq4jSRu4UPsXYEZSTB4MX6\",\n \"pubkey\": \"tpubDA9GDAntyJu4kiwJctiPymqnxEt75qode81Kw1kiNMoQouZttxEa29rzAYYsye8wtPpKNhVvy361zx9heBKVTTqGwjbMqTYtPQXmg17wZbt\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mib614fjHDRDMzntL1PCVVe1J5PYAVTPz2\",\n \"pubkey\": \"tpubDA9GDAntyJu4fTQvkzcH7akb8yzKgejxT21oYyynz2SJCvFaS3V99eutstjFfGToJiBCBgMPLESAVQxwkWPmx2kVPjHT7wigogi8Y9d2b3Z\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mkMBSkdFVYMdZTXP7eGHjfo8jLisLCF1ve\",\n \"pubkey\": \"tpubDA9GDAntyJu591P1suNauy3KLrsY9uy6fKLZf7wr1K4pU6ip3JapAMBNrXLdcUxabYgAeAntHJUsKdvUtCcBSDL3FcjZg6VW45VXUMhAALL\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mmq7fupH2vNQEhdzBa2pfgztbCsQNRpmPb\",\n \"pubkey\": \"tpubDA9GDAntyJu4akArk4syTnRoCVWeDNUqwfJ8wdCdgat3YPzq8pKM6ZQakHdz7WuWUNP2rTddPgFdjgktyQXn8m5oPkDNASFaNK89SXuHs9s\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mmqEYaRGJFYsHtAesM6fJz36VD2Da56ndU\",\n \"pubkey\": \"tpubDA9GDAntyJu4LjXvracLL6WTDdA6kNroBCfvgS7GAdFJdTWfbz6DaKWFVuN8oZFpZ4xrBP16BBTp2F2ye3JJxU1Q9qrYJYhF2ucp7ntS23V\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mp8Cmn8JXpR9rasmn7zVNxGi5srne4p98m\",\n \"pubkey\": \"tpubDA9GDAntyJu4NXh4xzBTaqztPEL6Tjw1SptvzTE1WaWWP1YC4ZJ5tgjdSHr4S56CtfxLfrb3kYuKTV6QxBPE61uSW1yZTxZpet5dadxijrP\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"pubkey\": \"tpubDA9GDAntyJu4UjhyT4YXDry97eeQPAS98ukRT9yZuEDbpakHtxwwtJQaWBKAftYpWfAj2PfdnDKaD5KbsHDKy7tsiDy8RB6ABDpwfgsEZ6a\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mqjzy1Tf5QmoiLPwB44BArSWVAQaeBn5HR\",\n \"pubkey\": \"tpubDA9GDAntyJu54nx88bPw8EKsyXckDz2kGPzdJcNj8eirM27VEQKXvRtMJ4VJDr4VXiFtwYk1AFY5CLmaNWZ1T91XhuxzSt4tyVzaMs2PeRK\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"pubkey\": \"tpubDA9GDAntyJu4WL3eHNgjyRHTCWirmwQsDW8fLiWZGXNtvGD3BkvVmp9LErcnH5wB3HJwhKVFvVFsibEnySSDagp1XrAP7Hke4nubLkq7EJE\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mr2qytcHXjRDQyxEqJoVXdvgBJzAtZnLAe\",\n \"pubkey\": \"tpubDA9GDAntyJu4YuPyFC9SvwSrGZwCTuShh5A7XX3w7H3Fz2RvbbmyTuQkRKdUbrWEpKrjZA5zdQ2QdzoCMBV5mVm9WqLEVMd3RvJahL6W4Y7\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mrFioSBxaQpS9oRvgqFVRMSZvqokNVkQmi\",\n \"pubkey\": \"tpubDA9GDAntyJu4HBYwuk3oV7Jj6kS1YHWLisiY6YafUiVjv4b1VLnvaYCAqafRmLvmmvXKSEkBm8u7oaDQjXqzMgHWH5zDdRxH65WnVKTvViW\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"msJQvdWj72onpEZ1bx2iWY2Ae2D1edUurW\",\n \"pubkey\": \"tpubDA9GDAntyJu4M5LK3Q7Tu974BRFM8NpJrV3yQS9dqQZUEMThq5mF7T32VbQXGuw6uZKJpGfqdFfsAY5VaonXihmRpLXf7SC7o77yiHGp9gx\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"msSNfiLTQwNApr6SKBErfDXvp6CM5QrD8U\",\n \"pubkey\": \"tpubDA9GDAntyJu4uSvf4S3cos3bzo9RyoBUSxt6Ncgo53FadBvGUEGgTnA9gtWcFxUfJ2fW6Qzw6qDMbbByktc8wS8JZXSPA8rx1KU9nLwe4Pi\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mu1aSLBCzEC3xbijRdXxHEP25UKJ8w38FS\",\n \"pubkey\": \"tpubDA9GDAntyJu4Rguep3RByHRsGMQgzTLryxepe8vy8zVAgBssMaveHvjHzxUWGUgCsz9Ydff3gmZNyCQRiHqZQXrUnKVtYzeYgRHgWaZMPWY\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mv8Y4SiuN7jNntiVTLiEeEmzjMWRWcz4vi\",\n \"pubkey\": \"tpubDA9GDAntyJu4QGhvQx5NN6dKhXHNpp9RtAkcuXSYFf2ebMZVD9tcoCwuJ9tcrWgXTv9E7UyzYqvVwEeeYnFrqHtCfzcmuWakKqgpSyUsHPX\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mwizn1D5HkeiKrG78798E7FMVksSTvWdGT\",\n \"pubkey\": \"tpubDA9GDAntyJu4wos61neuXHgiHP5bqbhVxVKX7pqMVwKBTCTMNsqf1Bhm8crGsrFST4uMLYGmZEzL8bL3t1xGeGeTGukJjCyGZdWbQJgdXnd\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"mzwYNztzosoAZHAvrK9D3yHTQCcGjo9ZjX\",\n \"pubkey\": \"tpubDA9GDAntyJu51JMJSUD9BQGZoGKhYgDE5gjmJABTA7ZS3XtM1wVsg5xj3wJGWbVf84ukbB8kcdXh2nZ8ezCp66v3pjUPg8idhY5euXwujj2\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"n1xQnGaT7h4a5xD8VN6HvmkyCitdX8D7Md\",\n \"pubkey\": \"tpubDA9GDAntyJu4o3Gg1x3d37p4rgRsggkCnLKzNNraRhzEKZTooX3uPY7g9sWhdWgBMwjYGL8qsvxdU1T2223QLLB8GTw1znAyvHXWFrGQEfN\",\n \"used_times\": 0\n },\n {\n \"account\": \"muZJZLKkSYnLWsRLMDMjvZcHRtmMUbHqxw\",\n \"address\": \"n297Z14sSf6otpBd2AbcesG8W65AfU36mG\",\n \"pubkey\": \"tpubDA9GDAntyJu4jk5B6HuEsQmZTjvf8LoWc6ncTGX3w3hAEksxkwPPNJwfq4nMtk5mZNviG19eaqEHqdBwJ8SXFcAUVUhSVyBqpbxeq3w8nXj\",\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\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mg3aDqAVfSW3uryy9dQfEnfariyceeQmNW\",\n \"pubkey\": \"tpubDA9GDAntyJu4gc7ypzz4Rvj1b28KSU3pKRocV4pg7unYUwTRpc3KPSAwBNguNrEB59MQwyUp371LoTh4yHu8y3oVfeoq3RjL35RSLSMJ9iu\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mhMnQn3qu9GMZ6B7ZezhNP7mPEC1JYzQ2L\",\n \"pubkey\": \"tpubDA9GDAntyJu4FCqZ5AJHRZfTTdftsTALhQDbW2pCReUYEPzivonCwavzDnQnSdeqtRUo6YntTPWKME8TBL3Y6uRLBVXuzkiN3cDMnff4i7P\",\n \"used_times\": 1\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"miyXSyh46NjaLEKtpuFHESgrcaPWfuxL4R\",\n \"pubkey\": \"tpubDA9GDAntyJu4KXRZmhVv4hRyhKNpTVcc46QjEFwT7i3H1ZHsCFNatToFcBQtWnazktb52UDzAqmq8L15XZotbaDy3TgEqWtuhfGkn4pBQCE\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mjCkJPVYyTBGvSvkfXZFNqc1L7nXc15Day\",\n \"pubkey\": \"tpubDA9GDAntyJu4wAUyxkukn8ugM9NLrSSxDLG8CsC7jxeP8kV1t579WUTNCK4uieBMPVWG3gamyRgi3rXBekPZsGtsD8ft9rTEWScCKa7Buxf\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mjgiK4aNDfaKPWXqn2WHGU22AMYMduuAJD\",\n \"pubkey\": \"tpubDA9GDAntyJu58cYV3jR6GgP3uuaVZ4o7sUsHybCs9jHdZ7gUYLAMQ5bWDBhcW7SWYgT77qzpr2hsDWEwUYTwEtG39aACVgRTS8xkk819oJY\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mkCTWx3KRynCmrb6MfUnS8T9dJn2nRuky8\",\n \"pubkey\": \"tpubDA9GDAntyJu4Lc3dLiAQT2xXQ8EP2W6UiK2vG1XWShPYXaEUKibWR4oUR5xA5SfUk6cuPVSuwKbcEDdS8K6XPLyh1QKuNKYq6TkTSp1EPh8\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mnqoxBn14bSdzLMLH1F94GouriTenxXEnC\",\n \"pubkey\": \"tpubDA9GDAntyJu4HSrPCWehpoqdoaj2VSC5GfQ4EAiFZh8oNQeqze6TaTgFSgUhRfeBsXQCRu8FrJcJsDKurkTxovNZJmryEwXyRSAbSAZtSTu\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mpit786FdfWRJjUAExgFMDLn44M7tYa6Hs\",\n \"pubkey\": \"tpubDA9GDAntyJu4c7nfbNCFdFYJZKbJbbGTkTSmwcDhkvdXsbTrbzpyzBCHVMpcBZxc9FVYmTnk7AarTsnELWDJWaV6EqTju4dtguPrQKoMJN5\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mpivxyQqxeBJ6etmv3eX2vgW5jsrTE7q8U\",\n \"pubkey\": \"tpubDA9GDAntyJu51Xa89UwY7Lrh513tjSuAc7bnJNT6k51LEU2w2ukDDsKMi36DMyFiyde7Fuy92KzdxFhkCCgjuJ9vdfBFRKYqMhk5htYMmky\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mrzPcqorgqSkPCoXhrnjrwccjokfz7niQk\",\n \"pubkey\": \"tpubDA9GDAntyJu4nrEJRwzgCf48JfpNpFrW2f3SEYYY4ipU5ySFgyHCJb7JXN5XSk7fwvb8cMGWc921gw6gZADM3ENNPZ8k3s5ojtuWdCUT6T4\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"msVjfN91aPpAwYctxGLtQ7xVXfLnyr7mwN\",\n \"pubkey\": \"tpubDA9GDAntyJu4u5ERSSJptznmXvBnGykSQFgzNDN9gJPHj6BMoN2xXvfT9Y2SZPj8A7jx91ZqasxCK3wYxbEU3HyprK6U4rD5cJa7eR897Cq\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mtEiDQqYaxPYPj5HBwxUrEoFMYK8aAQBgy\",\n \"pubkey\": \"tpubDA9GDAntyJu4PNvrcE92znSGd6FMpVqhnvvTDRL8qP5i731gioPusSF2wr51DjiWozkC8dUaVKrmFJwYc6scg5oV22v95twvDts6Pq5epvU\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"pubkey\": \"tpubDA9GDAntyJu4XCwH8RgEhNN9CuyisZLbWnBtyjh2yQnGT9VnmijM7ZbUxwzLYS5ZexdYCrCaUmXqbY1D3r2YM4AWEzrRVqDXNTkWP6j5ou3\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mtmhMH1mm3xzJfzsKcgGgwb8Tga7nKsGSQ\",\n \"pubkey\": \"tpubDA9GDAntyJu4NsiZrhs2wuHjvSk137g7e7dP2B9i3N6QMJb7tWbTkokpmcVRvZyYvYfusvhANo1PGpNPACx6ZmwouhivFFQ5PUBkZSpRHCC\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mttnV1prP9cR6NqH9cknfSCNcayLTZEgeo\",\n \"pubkey\": \"tpubDA9GDAntyJu4dTYkApWFA4gTeFsyXNpEiFxacoaCKxUgTDsyasxsP7FpLxzr4hGSp3ARFoMSVrFtX8JrCqc5drsHDa45s7AWcbnP8npaHtD\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mvTLP2MGeAmwS7y9ir6Sowoa6hhBymUkpv\",\n \"pubkey\": \"tpubDA9GDAntyJu4V2EvFeL5a7MoGgzzLwHJ7zMmpu1iQ83Qo1YB8AtcDU2ieZ1QZhZa88jyQCv48aFoQgeMnBEThBFS2RxRtx6GWffhcUwGsyx\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mvaPJPhmN6aNDbYNWPtTgf3vR3SCQxUvfw\",\n \"pubkey\": \"tpubDA9GDAntyJu4TJhuTdcEyZK51J9ryBw13tj3h6UYqeUCPNzmDhKtuE3owL8HVMRmEGtpwgaDvnEs5va5UNSPM3STejAew7CX58VxDthmTJ1\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"mxcL3Y4AvabrfdHdAo9dbhCjWQUTofoyC2\",\n \"pubkey\": \"tpubDA9GDAntyJu4RUpkQ9vf9QTgkhh1iR2Gdgmhz7W1nLbE7H15cdoLLavvvXqNP3ozgdQjNq7sq1awrRcWkzJKZ1VQ8x2KPtkWK3Y5k281tnW\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"myvqTjDz7Jo3mqvnPN5BQ5ACeffyPGzS9u\",\n \"pubkey\": \"tpubDA9GDAntyJu4GaydTs8Cggz1cH6ojsdjhfC2vD9yMmP6kqBgwPmEzb1UWs5DzKEx7s6c8fo1iiYsgPkevU4F6HCQCadf8cotSiYNX7phno5\",\n \"used_times\": 0\n },\n {\n \"account\": \"miXR2YJXsSXjZVfT712myc7AWRu7hQbSmJ\",\n \"address\": \"n1PDcyfsvfD8FRSnCzpnS61bVYFZ6NS8zg\",\n \"pubkey\": \"tpubDA9GDAntyJu54UVo5NjvXLt3G1dvRneaL1aW8RjR3h5Dnm5Um2ZWTgtU9n8sA8T4Sw17EV9pgxb1kQviDyJoXNKUoR8t5TjKccVxpkxa8Bm\",\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\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\"}}' http://localhost:5279/", - "lbrynet": "lbrynet address list --account_id=\"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_list\", \"params\": {\"account_id\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mg8JxLpdyftPvgQzGZYPaCTTz93aXNvvkQ\",\n \"pubkey\": \"tpubDA9GDAntyJu4SpC69hBUVGGF1zJLAWdvnVoBewAvogiPjoKJXK7tK1XXLijW2weqhP2M9nv3FwuqNmR5qjHeGVghgsdxizt7Gycu9Eq4vUG\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mgPBKvK8TUMQeRGEagB2NXBRkCHK4WEzRA\",\n \"pubkey\": \"tpubDA9GDAntyJu4pPWEYtaiKfND8pJeRreEGgY8nXVJnpUW76H2Ba8T6wPU2vUPqTpx9Dm1MUAP6aZrJ1ecRj3Junj9HhMWedC7koUon3evFfw\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mh8nPvbJFNGrsnv2mG55vWKDSAZHVN3apW\",\n \"pubkey\": \"tpubDA9GDAntyJu4Dy6BozjvvjNnByvKGXKEYZJKSBgxtGpNAwQrpJE2SvJArpRD5VREMkEXj6pysy68myTC3oWdetCRUpxvm8VfaHbkdM6hwkq\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mhdMPJ8N7HYLJBac1Y6uuft9LHUwyvV8HB\",\n \"pubkey\": \"tpubDA9GDAntyJu4rhNmtBjwR3QLqTvXa32ZgYZoHGmp3mCTHet2h48ByPjme6ioLsExYn1Ehgni3YfVkzza87pYsxM5U11AuYnY9nGbnsLo3bg\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mi4UfXAmdVzvqEWT2vVMjWBUNksUzgk9wf\",\n \"pubkey\": \"tpubDA9GDAntyJu4JoHrFfs4A5GbxAtGZCRRYWPPr8gEgkiwkrRnTZscG8wt8MTDuj22dW1SS6xMQc1QnQuC4Wpvuh2zMboyY9i5ForPm8Q7wYE\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mid1LhNccVECdKcoZC7cfQuuxcRSgpj4Zt\",\n \"pubkey\": \"tpubDA9GDAntyJu4j4CbmS7f2FfA13jCzySYbCGAmxXtfMTV8JUDn57T2XPUmy9SGKxpUZb26rVijYuF8AHR1YA9qnUXpDSuPdPC82wKgMhz3XX\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mjgGFTG7AdmfV1GphQVaMHHtDkeEHkFnfN\",\n \"pubkey\": \"tpubDA9GDAntyJu4LtyAMxbG4kJaKLCYiZauaktnEa9hxHtoTHKKbpVUtsfKXP7a6zbqFxyoBRSf4ZCQSytj8sTRk4o6wmqfhiEQwx614Jb2dKV\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mju4o74A3NFtQMFQd3cWde2J3VDJ5L6cSs\",\n \"pubkey\": \"tpubDA9GDAntyJu52aR3zqSwZxn3L2fKfX1rXd8gJmwcYan6mgpEMdKKCd5PLjkqyEbEeLFVbCdGhW8Gy9qdhKeLR4qkhBZs6rfrqaYpopCFcwH\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mkZXNUroGX7tpTGNSPXfPTuYzMN7XdHgAf\",\n \"pubkey\": \"tpubDA9GDAntyJu51UVmncS6BDdUXqQQjduQqqNDZpSY8myQKXnuTEdtLGh2maTfxvUCJb1zQkXkUBYZfhRnc5dUADuVNmLTD2dK6oLByZ2BhkG\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mkei34ghBL8knrj9t51oXQGMkqFCyZKhHx\",\n \"pubkey\": \"tpubDA9GDAntyJu4ShXDEcrMBYNh9gqBwPsV4SVKRN2adixMgsKd8GY43Km2wdi9g5yodPiBzSzjMQ8FMzAaGftXL3YJgVDhyzS3WNA9EnrjC65\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mktvRhCUdFsTMLjacJDttFQaabi7scUfyk\",\n \"pubkey\": \"tpubDA9GDAntyJu4bKPK7uCvnJDwiTKd3sk5Hh2oTsXxPPDraWMAsJ8kfKHXN69DoucuwcPsqPW5JPJxzLjc51MTQ7ZNNsND2PdUpDQPZA5WXoP\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mm8cp2Lg4zJHCZbMJMatEj5rXRr7euMevN\",\n \"pubkey\": \"tpubDA9GDAntyJu4aCuTMuyMYgCmmoayifcpGf8EPZEQSZB19K1baYEFXav8FEWVzdWw7LSEjWruu4NijqRthtp1hqs7UxdkifV1CMLUtBqjZNR\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mocv5thWMg7Vow6618nEgJikSxtJgJXBF6\",\n \"pubkey\": \"tpubDA9GDAntyJu4H5cSgHT7sY3kFpVYkvD4F7stUWXGAaFq3kUdyhtUkkkerBnjEpCnhojuux47qJNbVyBWqjZkgZVhHwRQcWSXr66nq48d64w\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mpXXstaQLYiGyhbNXYBEaQYhYUCAms11Ui\",\n \"pubkey\": \"tpubDA9GDAntyJu4EVB7wEtnh2CnwRzs2BFfn7QyXoHBsrxqkunvPJ6uVoEn8WZw7pxAKxVmHReBGWoFCzvkuTZe3KjfJTbUo4mB28QtNJGJKq5\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mriLzbdWvMjoaqXonGs2cFau2rq5kKSCNZ\",\n \"pubkey\": \"tpubDA9GDAntyJu4S5JwWYNcmKpWdEvrQEBiTs93EFruU8HRS25rYDpUgD3WhaWPVShpEXfwB4c8wRiC6rGLvgFKRxL3p5UczKdhd284Jo99qei\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mrq45h9toVXnct58nVG5LSM3fji2HtfkWw\",\n \"pubkey\": \"tpubDA9GDAntyJu4LrozE387QzTRhjdnEqFmBNnKqqKRvc9psXeiaXMMEm2WRt1mzBNgNX7uaSs5bRRadhFdWZ8D9U1gdfc6xGn6DVK6FyEZZr6\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"ms8aAf9crVgfR9f93KqBiYYBKtUf7TDooB\",\n \"pubkey\": \"tpubDA9GDAntyJu4gVxJw2jjxSc2e6eexEDyZaj3C5EWqF3ioRdYk5Hxzce2py9RdcsafRvYF9jerFrXMXcS5SbSfWi4nbqMD6Lwz9vyTAn68i3\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mtGULkT15KohG5D1JkzKnGcqPg2z3Wg25s\",\n \"pubkey\": \"tpubDA9GDAntyJu4eiaj7ritCwytX43uAAxD7EpmngPEnvwvCybSGeH3qZq53Lu3CjLznqgULyymSWcq8bEvqfiGSrL9P2MYuhWcdGm4Xoj2MPJ\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"mtvqJqSprsu3SBery8k6hCR4ftRnfk6VX8\",\n \"pubkey\": \"tpubDA9GDAntyJu56oiuwCHGY47CcrcE3tLqBsXtdr6QoJgnpNcgh6r2FBKAm3fUEKM29D1ECfTgdva1EK6LVP2mNSxiVJKnDHxvshKLBQxdorS\",\n \"used_times\": 0\n },\n {\n \"account\": \"my5RzwiVkEJST1bveUm9EF9o6ZatKkbTfY\",\n \"address\": \"muoXqG5hp73acivjCXFuAd7RdHpw72qxQG\",\n \"pubkey\": \"tpubDA9GDAntyJu4PgsCUGHnAu4jbGhXfDcV8ePcbkNHHXWcKqnEde2k6UWx7Ja5hDoiNPxxdX7LoNAqtjTeRQYVLAEBYq5D4HyaRN1fXyjcGWT\",\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\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\"}}' http://localhost:5279/", + "lbrynet": "lbrynet address list --account_id=\"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_list\", \"params\": {\"account_id\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mhFP2Zdc91j891DF85eTQpHnniC7QbBasB\",\n \"pubkey\": \"tpubDA9GDAntyJu4hsgTLfwp7vAsaPH7MfUAcsHdEiLWXDEKntPegTKJUTqr9fyT5BFVWKJvwAsSUpNTd9KBWJaniFo5u6UtsbcmdYNGcSDTDjU\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"miQgcq56an5igGs64LsVRMWGLcYLnPudpR\",\n \"pubkey\": \"tpubDA9GDAntyJu52q6gXw2XST7kMHSwtrWLGZGogkwDicEGy1Pgz6GJ9FA5uCtJxdMqKxCfAncLDFVnPy5VfofLv18Xe2ZLDDzKk2q1Ad2pzDv\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"miono4mUaX9Tcp1jDPgZyD9J91TuRXEC2J\",\n \"pubkey\": \"tpubDA9GDAntyJu4dPR37HcmPfStTvRCWpQu5ZjMhGoYRsWqzscNSDTkofvGF3fWSsT13azm2RVC1Wv1KGU61zZHc94Y2PyAY7c4T3Ho12ncyu8\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mjFnRT7i6pzBPhXp27Vp39RmzWQSb81SRK\",\n \"pubkey\": \"tpubDA9GDAntyJu4xAJm37VYh8e1nCo1NsNVNfx9TGmVjUEUeUSf1GjxSPZqgWt2ECsMTzUfRa9RzzZpGzmKoSBcdKu8iUHo5YH2DNxybMFSA3A\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mkg1cmswRJ2wUqacULmormrydmZT6bqqNe\",\n \"pubkey\": \"tpubDA9GDAntyJu4zV1ZF7UfFvfNLaqsJ9m2o9KeiMtvnyT3RSMwE5pwVn5TzKe8Tzunbu5osABzN4UqaWm5ouHhEPQ6JCHGWb9JhHryc7oJmrs\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mmoMYKFhYwewfEgFyKeHdqirT9g9tS2k4R\",\n \"pubkey\": \"tpubDA9GDAntyJu4QE8b2Fa3XvZQwhQAVQFyMUJPRscRMmEo5V4n76mra9DQXzo4XbE27sqxD8b32mXjVSDz9MMFhmqLozbPZNwbV9kgKmHArWt\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mmzu9JZrenPxoV64HsycFY4Ju3rQpNKy9r\",\n \"pubkey\": \"tpubDA9GDAntyJu4GygwpgLDe5waifv7Ai3SuSB2SJNCDvofnFrqKaaASN9FXEjDGvhjkCyvi5Xev4Mtr5fsMwPSnTb4AxQ2CRS6uMCnrPxAQYg\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"moLbhNi41ra7J3b5e7dmBSoxqNgjvp9XJb\",\n \"pubkey\": \"tpubDA9GDAntyJu4JT4BYUyUERwdA4jDu7PTBtPCZJon2gTp8gMCjoUBQ8pNbXbxxPGX3xt8Wv6LRNXDfeunrVBckS5nSqost9rhzt7MRfAgXw2\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mpFepBmE6hsZKNdRpyFNRK9nfxAea6LCrn\",\n \"pubkey\": \"tpubDA9GDAntyJu4SfmdGXjafHJeBGZZYU7x7ufcm2ANfUuZGt7LpM9mZV7tJ6ujm1sM4hMU5gwbYVinAPdR3BixptuxDqNRerHQMYPf78uFJsK\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mphhicxoJqNAw5vjGW5M8wsc4WsCQ9fdhq\",\n \"pubkey\": \"tpubDA9GDAntyJu4NP8LD2z3FkRvdMtao82utfGWuDQdD7waFw2Xj2XJ9zPKXaLQ4jqqRf6TwsYGsKU8BuCLYtq4Kmg5DnHU3wSzGBGKwMZyAiZ\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mqDjsJd1bGYYyLSqCNizoYcUkKPVCwtWd1\",\n \"pubkey\": \"tpubDA9GDAntyJu4XFKuPajLBn2a1z1ibj4haRMwsgneG5LN4iPUY1LVERnvdteLUyM192JMQraQdyTyMBXcyAVfr3FnsVLFJ97niveUrzUbA4z\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mrh8Xwtjf5RHtq1T38niNeR1VWpZzKyH7b\",\n \"pubkey\": \"tpubDA9GDAntyJu4LdVb9z2CsMUJPougvg53mtiVx2Xkx8SG5Hc2nnmKRJz6mKFG1B4E1LA32TJoVtUjayD5y2JE4Yn6eZSY1B2JG8mtZxvknw1\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mrxYztgggu7bozVNFGyZN4DmRfBBNiJity\",\n \"pubkey\": \"tpubDA9GDAntyJu4rQgPAxSXJhHCsbXztszCybGmQJpwe1QjkgjAwZEp5HAAmLvEvScsF1c2GFWfiJGMbJVQzEiYdTjtCWK68sPq21QcWzZYX5Y\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"msW2BYACNfNFoMfPvE7nb7s5p5Dd7Lgzsk\",\n \"pubkey\": \"tpubDA9GDAntyJu4nt8SqCKE58Bp1D8HwVjwHdmv932Pk88pKT4W6JcoUppxUwDV414xDqsDWMARAi2rb1aJXKYbdNWKvR7dW143auz9MzLbj9E\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mvKsTzXmvfFZ77A8V4tbuqkMrxnvTC8gc7\",\n \"pubkey\": \"tpubDA9GDAntyJu4ZvG8DcwrUu48LhDAqgvZ2Yzm28gZfLvwWXHf2zKqjqT9ARqAsyHHf5nPr4Y9jiZV568Yp2KSXYi2bQ2D1L5BhNt8a9bRk6s\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mwNNAj6D7LELACwd8wtfD8SnggDZtk1FUn\",\n \"pubkey\": \"tpubDA9GDAntyJu4QGeanhB4Sm82XeftwP4qbSnJ5ssZyM9gsVU4PFhJJ86NZUUwUng7RiPPAGK7yLrg1GDCzNazfQnHHzHT7MHGGLBA6mSWftr\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mxdcq9WKtBk5N8TnAXHBjMMYP3jKKK7f8t\",\n \"pubkey\": \"tpubDA9GDAntyJu562A1k5j9vULTG7JLnc36o1qsX3bQ6WpqrdAVydjYXkUtZA9tDkuayyK65StqFkZtzrfuut6TY15WrvkFddjkngAC6AVEagt\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mzWUf1guyMKq1HwQnqhVyYC5eSv9d8rUZT\",\n \"pubkey\": \"tpubDA9GDAntyJu4jS9KMikFdzE1hq5N4jisYANjGxiv14A7TdcPVdX8DVBFJ1RMf7ytFXVPU3t8F7HELdV39TPyPP2P2jyKq9QfW3nRsdid11n\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mzXd223tY7g54j3VgXY6rQ8Lfrj7s9jcSU\",\n \"pubkey\": \"tpubDA9GDAntyJu4KyvtefDD3ULj2FJEtzJZewH9ZN6y7S2DffGnbohqs9gZqMxhnNoRD2CuP1JvXLgRfuaX6JyjBvvfSsTp123JtGdY2keNDPE\",\n \"used_times\": 0\n },\n {\n \"account\": \"n47cvxWxXeFRHte7tfsjeqJyoTNtofuMuL\",\n \"address\": \"mzdeoQmFpMt6KqEfeLSU4tjVcTuJ453L13\",\n \"pubkey\": \"tpubDA9GDAntyJu4E3UPGE3Wvs8uwL6cbvFcoz2vm3VxqdTSDnP2TaZnwhvje66XkTJhMf8Hqzj95y2QFUU9KB7cTWxccahzwgnuk4xDRM2L8cT\",\n \"used_times\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 26,\n \"total_pages\": 2\n }\n}" } ] }, @@ -887,7 +887,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\": \"mrFioSBxaQpS9oRvgqFVRMSZvqokNVkQmi\"\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\"\n}" } ] } @@ -937,10 +937,10 @@ "examples": [ { "title": "Delete a blob", - "curl": "curl -d'{\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"b3c15f68b2e81ce27a24c5ee6fb88f59127b7f5ac2a2a1745b79bff6a116e34ed895cace8cec3a96e847b2a1ccbe4aa0\"}}' http://localhost:5279/", - "lbrynet": "lbrynet blob delete b3c15f68b2e81ce27a24c5ee6fb88f59127b7f5ac2a2a1745b79bff6a116e34ed895cace8cec3a96e847b2a1ccbe4aa0", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"b3c15f68b2e81ce27a24c5ee6fb88f59127b7f5ac2a2a1745b79bff6a116e34ed895cace8cec3a96e847b2a1ccbe4aa0\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"Deleted b3c15f68b2e81ce27a24c5ee6fb88f59127b7f5ac2a2a1745b79bff6a116e34ed895cace8cec3a96e847b2a1ccbe4aa0\"\n}" + "curl": "curl -d'{\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d\"}}' http://localhost:5279/", + "lbrynet": "lbrynet blob delete 311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"Deleted 311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d\"\n}" } ] }, @@ -1018,7 +1018,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 \"b3c15f68b2e81ce27a24c5ee6fb88f59127b7f5ac2a2a1745b79bff6a116e34ed895cace8cec3a96e847b2a1ccbe4aa0\",\n \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"559bc92c9047d10cd6432bd8e9392da8075372e0c4f0b993889dd7f0e196f29b0ba5b95843f5c4af787b1bd9d8bbbb4a\",\n \"e1e650f9a792ec1b9ffa9496708ad807400bdee5ac2350bfc06de7a57f27ab8ff2f665fbfab098d12c33b73f0c7c6c01\"\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 \"311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d\",\n \"f31cb322b4fb4dd4b40b9d34aa73a653a91e8750f99d2be518f18bc11ac3a45bdebbb3974b73a198a7c0079ca1006acf\",\n \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"ffd0b34649756ecf40381268f41e05fae1c40290888edd2a3b2e4c7af67935873d9805fb50f7464c942de34f06a23a6c\"\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 4,\n \"total_pages\": 1\n }\n}" } ] }, @@ -1099,10 +1099,10 @@ "examples": [ { "title": "Abandon a channel claim", - "curl": "curl -d'{\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet channel abandon 942bc2b853470378853e73c4722201269f618ece", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"010000000166582da64df9b9064f694b82c90c0d47c2715d804085786a9a1a42c9de38e005000000006a473044022023d4dd81ec1483bb656e2a373e19e7f45704ad1a1d5792797329723cb061bea502200695dac6cf993ea83a9be6c58abebe4066301046367efb744e59cced1da6ab9201210256041df34777120c246c405e7bbecb478ae2a792765655c27f695997ca0173c5ffffffff0134b7f505000000001976a9146e779b6aa987c8b02b3f8fe891da9d999ffbe5da88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 9,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqb3ubskNMzUygZuTpj9DH6nPYEQzHb1qb\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"d4919218e2a7b3b1db067a24d1d70b5278dd48d0d585daafa64e0e94948765a0\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"d4919218e2a7b3b1db067a24d1d70b5278dd48d0d585daafa64e0e94948765a0\"\n }\n}" + "curl": "curl -d'{\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet channel abandon b312a0c4eff10abe98542f99679ccddc20840daa", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001ac5fa13aa4e403321f366686696157b61f2351962a44433f91bab13a386a7551000000006a47304402202f6572c66002f6f6c22a8fc14d77917cfab88ca10beac1e15e9127e656a8cbdb0220120f385d2920de764049a6cb43e6866335b14a97806e8dc334541ad79c634dad012103e9b87aec0af2761f19ac855a484f47963e812e14ae0c15d41fa330875b0e166cffffffff0134b7f505000000001976a9145059d1db9f1e07185401089951f3382b56bc602e88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 9,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mnqoxBn14bSdzLMLH1F94GouriTenxXEnC\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"aafe34a4e2b90dfa1c60917945a4a43ef44515c6669f9be0a60ff05feb54ef14\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"aafe34a4e2b90dfa1c60917945a4a43ef44515c6669f9be0a60ff05feb54ef14\"\n }\n}" } ] }, @@ -1232,14 +1232,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\": \"0100000001a60b74f439f11002d140d81ad0951eb11be5a9656b11f16c118ff1594c15592a010000006b483045022100dec5edaa2ff179511771a56239db4f69689f113f384ec766865f4f48dd9e27c702201ac6df50845d30e8658f7a8747b25e9eb491711e2885555bc1452a517f95bed0012103f14f1db2afa75f1ebdfa2a2b5effb951e46ed6b962af8fd5dd8a463ec579dd50ffffffff0200e1f5050000000084b508406368616e6e656c4c5d00125a0a583056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff9861636d7576a9146d1fc7de370ba9fc5d537f2d75f5bae2ca568de888acc462a029000000001976a914814254ffe02a9465282035928434e9a252afba9988ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mgDEUnrCDpB8JJ8jSLcdPgdm4a7bgpg3on\",\n \"amount\": \"7.999876\",\n \"confirmations\": 2,\n \"height\": 207,\n \"nout\": 1,\n \"timestamp\": 1614621244,\n \"txid\": \"2a59154c59f18f116cf1116b65a9e51bb11e95d01ad840d10210f139f4740ba6\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\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#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": null,\n \"txid\": \"6bff18cd0787564fc3e034390c8293fa081a24c1dddec3d4577731fe4b2d83a8\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"msJQvdWj72onpEZ1bx2iWY2Ae2D1edUurW\",\n \"amount\": \"6.983769\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"6bff18cd0787564fc3e034390c8293fa081a24c1dddec3d4577731fe4b2d83a8\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.016107\",\n \"total_input\": \"7.999876\",\n \"total_output\": \"7.983769\",\n \"txid\": \"6bff18cd0787564fc3e034390c8293fa081a24c1dddec3d4577731fe4b2d83a8\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001a228e308765165e836e301d697866b58a55f3c0b7a4f0a9d772e0b2809d397fa010000006b483045022100fa1add496427b8d6f93f57e0fe47afd39d8c4d405ee6c81b88f997d0cae30e5302207a0a70cf0c6bbfb0e2b315796d0c3229f958ba242311ab1c0020ac4c535039e1012103c34a1e25ff921e476d5fcf7af1eb5ceec6d699261094d7ed6f02347d0447f834ffffffff0200e1f5050000000084b508406368616e6e656c4c5d00125a0a583056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a6d7576a9148fa2c90e8c0619d00ccdaccd72be943796a9e24588acc462a029000000001976a9148b8739f3cdb5fea9a383d0c1e17ad2996fcbc4df88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n3CgTDtBMq1jigfQ3Y8NpYesjZyA4Qp3wm\",\n \"amount\": \"7.999876\",\n \"confirmations\": 2,\n \"height\": 207,\n \"nout\": 1,\n \"timestamp\": 1614834156,\n \"txid\": \"fa97d309280b2e779d0a4f7a0b3c5fa5586b8697d601e336e865517608e328a2\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\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#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": null,\n \"txid\": \"26aac673364ba7b2a982a9b389b3bb0678c35ef8c7c906328a9e8964b084966f\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mtEiDQqYaxPYPj5HBwxUrEoFMYK8aAQBgy\",\n \"amount\": \"6.983769\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"26aac673364ba7b2a982a9b389b3bb0678c35ef8c7c906328a9e8964b084966f\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.016107\",\n \"total_input\": \"7.999876\",\n \"total_output\": \"7.983769\",\n \"txid\": \"26aac673364ba7b2a982a9b389b3bb0678c35ef8c7c906328a9e8964b084966f\"\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\": \"010000000166582da64df9b9064f694b82c90c0d47c2715d804085786a9a1a42c9de38e005010000006a4730440220088322032854128153ac3a49ee30bf51c3b99ea427e9cc4ee4524598fe4f004102202f04d00e07c13d3a465cb8b746e2451a26da8db5cebd3fcf3ca20f50506bacdc0121038e9c4f727030ab2f98662df9fc400e1a669199ec05c7a4ce458047b7f0f17dfaffffffff0200e1f50500000000fd5001b50b406269676368616e6e656c4d25010012ab010a583056301006072a8648ce3d020106052b8104000a034200045bd9fd0c440b4754474efc3a53b6301a79116ad30e36a25d1736086886e69b079f48741fbe6879bbc845b336b62f58f4a79686d97c4c10ce244f66ad475931ea121663726561746f7240736d616c6c6d656469612e636f6d1a15687474703a2f2f736d616c6c6d656469612e636f6d22202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a7067420b426967204368616e6e656c4a1e41206368616e6e656c2077697468206c6f7473206f6620766964656f732e52202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a70675a056d757369635a0361727462050883011820620308ab016a0208206a0908e9011a044b6979766d7576a9145e6ba68bca7a602079826642209a2f83c5e8255788ace221d305000000001976a914fe4db2ac2b8a77821201b6482e6badaba1cff35188ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mfs4aKNn9xVKDrXZcpCbR4MEY7P7HZdDst\",\n \"amount\": \"1.9993355\",\n \"confirmations\": 1,\n \"height\": 210,\n \"nout\": 1,\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mp8Cmn8JXpR9rasmn7zVNxGi5srne4p98m\",\n \"amount\": \"1.0\",\n \"claim_id\": \"c200f418837e29025b468a95bc606a285fb98e6a\",\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#c200f418837e29025b468a95bc606a285fb98e6a\",\n \"timestamp\": null,\n \"txid\": \"2269da1043710560e3529da946de4f35dc4b3e034af74bb110824f7a06dc189e\",\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\": \"3056301006072a8648ce3d020106052b8104000a034200045bd9fd0c440b4754474efc3a53b6301a79116ad30e36a25d1736086886e69b079f48741fbe6879bbc845b336b62f58f4a79686d97c4c10ce244f66ad475931ea\",\n \"public_key_id\": \"mhttKEyU5oydMazbnuNRX3XLsHwQAPdZ5Y\",\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\": \"n4hb1KtNvt52pFi7X9XFgYQag1tMWWg97m\",\n \"amount\": \"0.9772285\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"2269da1043710560e3529da946de4f35dc4b3e034af74bb110824f7a06dc189e\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"1.9993355\",\n \"total_output\": \"1.9772285\",\n \"txid\": \"2269da1043710560e3529da946de4f35dc4b3e034af74bb110824f7a06dc189e\"\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001ac5fa13aa4e403321f366686696157b61f2351962a44433f91bab13a386a7551010000006b483045022100acf26e284e018c32470ecdb05fc6650b84e40b0ee54ef9ef40e57673e20f44b40220671a3e8828bda4dbce3ca75eb65268041e93812a29c9340a0360c6b496fe72ed012102a3a837a10321357e9d8da8fda91900b98b800165dbaa8997ae6b56810ae7c7beffffffff0200e1f50500000000fd5001b50b406269676368616e6e656c4d25010012ab010a583056301006072a8648ce3d020106052b8104000a034200047ed273e6c364ab8e981e1b44776bf56a0995b0df2cf7a154a9530bd0cdba276e4672a7ae8fd9deb22d43c9c741a8478cbc1306330e2ae022f6a96c9fe1788018121663726561746f7240736d616c6c6d656469612e636f6d1a15687474703a2f2f736d616c6c6d656469612e636f6d22202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a7067420b426967204368616e6e656c4a1e41206368616e6e656c2077697468206c6f7473206f6620766964656f732e52202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a70675a056d757369635a0361727462050883011820620308ab016a0208206a0908e9011a044b6979766d7576a914a530022a5d3c8a898c574e1d0745b66d81fa986c88ace221d305000000001976a914fa2d6d25de892780ce0ebaf0c2f772c08bee754a88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mm6vVq975abgNiLdsxyLixMyP2LsqLiWXQ\",\n \"amount\": \"1.9993355\",\n \"confirmations\": 1,\n \"height\": 210,\n \"nout\": 1,\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mvaPJPhmN6aNDbYNWPtTgf3vR3SCQxUvfw\",\n \"amount\": \"1.0\",\n \"claim_id\": \"29ecfaaab4b2bdeb69f8cd02a07b717f14c522d1\",\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#29ecfaaab4b2bdeb69f8cd02a07b717f14c522d1\",\n \"timestamp\": null,\n \"txid\": \"8aa03d71ba83a0e77f5007dfc388becb91c55eb96694c57d442551849ca811e9\",\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\": \"3056301006072a8648ce3d020106052b8104000a034200047ed273e6c364ab8e981e1b44776bf56a0995b0df2cf7a154a9530bd0cdba276e4672a7ae8fd9deb22d43c9c741a8478cbc1306330e2ae022f6a96c9fe1788018\",\n \"public_key_id\": \"mugMj6KFwrKRwkuGi4VaTC2YJTmFLaL8pJ\",\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\": \"n4KmeHo7zQ59rjVxxzNv1tSA7g5w4yWqyk\",\n \"amount\": \"0.9772285\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"8aa03d71ba83a0e77f5007dfc388becb91c55eb96694c57d442551849ca811e9\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"1.9993355\",\n \"total_output\": \"1.9772285\",\n \"txid\": \"8aa03d71ba83a0e77f5007dfc388becb91c55eb96694c57d442551849ca811e9\"\n }\n}" } ] }, @@ -1361,14 +1361,14 @@ "curl": "curl -d'{\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", "lbrynet": "lbrynet channel list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"resolve\": false, \"no_totals\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"6bff18cd0787564fc3e034390c8293fa081a24c1dddec3d4577731fe4b2d83a8\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\"\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\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"26aac673364ba7b2a982a9b389b3bb0678c35ef8c7c906328a9e8964b084966f\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" }, { "title": "Paginate your channel claims", "curl": "curl -d'{\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", "lbrynet": "lbrynet channel list --page=1 --page_size=20", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"6bff18cd0787564fc3e034390c8293fa081a24c1dddec3d4577731fe4b2d83a8\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\"\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\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"26aac673364ba7b2a982a9b389b3bb0678c35ef8c7c906328a9e8964b084966f\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -1563,10 +1563,10 @@ "examples": [ { "title": "Update a channel claim", - "curl": "curl -d'{\"method\": \"channel_update\", \"params\": {\"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"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 942bc2b853470378853e73c4722201269f618ece --title=\"New Channel\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_update\", \"params\": {\"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"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\": \"0100000002a8832d4bfe317757d4c3deddc1241a08fa93820c3934e0c34f568707cd18ff6b000000006b4830450221008a4345c4538b36a332b2c5e5ee8a741f67b1ef97342211fb4954a7085496f898022068e3609293b0f905fcb2852df44e3bdc4c462f581f248bcaff724bff318374fd01210256041df34777120c246c405e7bbecb478ae2a792765655c27f695997ca0173c5ffffffff181169e7ad9a9f79563510e1e3d41b2effd84c8847a29dfb7557ef904229a7f9000000006b483045022100ca9990c9b69c49b058b39c8c3a2ca1a68c499cee17328f35bf3beb3fc0e5f71c02203400caadcd953a5c611fff4a5cf9051a47cea9c180fbe4fe8cd48a95a472152c0121035d48049bd6d6bd7771fb7a45c71cd64d1c411ca11f8591d549fa3a82bcfe1b69ffffffff0200e1f50500000000a6b708406368616e6e656c14ce8e619f26012272c4733e8578034753b8c22b944c6a00125a0a583056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163420b4e6577204368616e6e656c6d6d76a9146d1fc7de370ba9fc5d537f2d75f5bae2ca568de888ac6ebeea0b000000001976a91403cd8fd5c5abe029a3ffc65a3ac13f45966cd48888ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"6bff18cd0787564fc3e034390c8293fa081a24c1dddec3d4577731fe4b2d83a8\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"n4MQUQkQfiH4AWmDYhrbWhhJpRAcQXeWaT\",\n \"amount\": \"1.999604\",\n \"confirmations\": 1,\n \"height\": 209,\n \"nout\": 0,\n \"timestamp\": 1614621244,\n \"txid\": \"f9a7294290ef5775fb9da247884cd8ff2e1bd4e3e1103556799f9aade7691118\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\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#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": null,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mfs4aKNn9xVKDrXZcpCbR4MEY7P7HZdDst\",\n \"amount\": \"1.9993355\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.0002685\",\n \"total_input\": \"2.999604\",\n \"total_output\": \"2.9993355\",\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\"\n }\n}" + "curl": "curl -d'{\"method\": \"channel_update\", \"params\": {\"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"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 b312a0c4eff10abe98542f99679ccddc20840daa --title=\"New Channel\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_update\", \"params\": {\"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"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\": \"01000000026f9684b064899e8a3206c9c7f85ec37806bbb389b3a982a9b2a74b3673c6aa26000000006b483045022100fb4eed6bf242b190099834cb4ddec11d92369984b989861ee56c6234ba7dc86b0220015dad9d0dc8d8d96699042bc7db01fe3f7d4d631fe954a2fad359632b12f5bf012103e9b87aec0af2761f19ac855a484f47963e812e14ae0c15d41fa330875b0e166cffffffffecc4a7b0c898200fe601983e91b47cea14082835f5085d8de8d3124895eeb5f1000000006b483045022100e491563240d3f4ec6a702b216602f5116c82c82a1c39621ee5718e98a7bacd03022077d6bd151099254e08df2c63509730b8239222fc44226d6dbb932e4cf26a599001210347e377e56ef15349d303511a87bb9d3b6c43e3a35b2361f7426c5d62e54a07f1ffffffff0200e1f50500000000a6b708406368616e6e656c14aa0d8420dccd9c67992f5498be0af1efc4a012b34c6a00125a0a583056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a420b4e6577204368616e6e656c6d6d76a9148fa2c90e8c0619d00ccdaccd72be943796a9e24588ac6ebeea0b000000001976a9143d454587911f8a1a26e87397ba2e0d0a17d0923a88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"has_signing_key\": true,\n \"height\": 209,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"26aac673364ba7b2a982a9b389b3bb0678c35ef8c7c906328a9e8964b084966f\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mvTLP2MGeAmwS7y9ir6Sowoa6hhBymUkpv\",\n \"amount\": \"1.999604\",\n \"confirmations\": 1,\n \"height\": 209,\n \"nout\": 0,\n \"timestamp\": 1614834156,\n \"txid\": \"f1b5ee954812d3e88d5d08f535280814ea7cb4913e9801e60f2098c8b0a7c4ec\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\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#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": null,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mm6vVq975abgNiLdsxyLixMyP2LsqLiWXQ\",\n \"amount\": \"1.9993355\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.0002685\",\n \"total_input\": \"2.999604\",\n \"total_output\": \"2.9993355\",\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\"\n }\n}" } ] } @@ -1665,14 +1665,14 @@ "curl": "curl -d'{\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"is_spent\": false, \"channel_id\": [], \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}' http://localhost:5279/", "lbrynet": "lbrynet claim list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"is_spent\": false, \"channel_id\": [], \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\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\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\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\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"is_spent\": false, \"channel_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}' http://localhost:5279/", "lbrynet": "lbrynet claim list --page=1 --page_size=20", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_list\", \"params\": {\"claim_type\": [], \"claim_id\": [], \"name\": [], \"is_spent\": false, \"channel_id\": [], \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false, \"include_received_tips\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\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\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\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}" } ] }, @@ -2012,14 +2012,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\": [], \"no_totals\": false, \"include_purchase_receipt\": false, \"include_is_my_output\": false}}' http://localhost:5279/", "lbrynet": "lbrynet claim search --channel=@channel", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_search\", \"params\": {\"claim_ids\": [], \"channel\": \"@channel\", \"channel_ids\": [], \"not_channel_ids\": [], \"has_channel_signature\": false, \"valid_channel_signature\": false, \"invalid_channel_signature\": false, \"is_controlling\": false, \"stream_types\": [], \"media_types\": [], \"any_tags\": [], \"all_tags\": [], \"not_tags\": [], \"any_languages\": [], \"all_languages\": [], \"not_languages\": [], \"any_locations\": [], \"all_locations\": [], \"not_locations\": [], \"order_by\": [], \"no_totals\": false, \"include_purchase_receipt\": false, \"include_is_my_output\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blocked\": {\n \"channels\": [],\n \"total\": 0\n },\n \"items\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9/astream#5\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\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\": 1614621245,\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#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"short_url\": \"lbry://astream#5\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\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\": 1614621244,\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#942bc2b853470378853e73c4722201269f618ece\",\n \"short_url\": \"lbry://@channel#9\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blocked\": {\n \"channels\": [],\n \"total\": 0\n },\n \"items\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b/astream#8\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\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\": 1614834157,\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#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"short_url\": \"lbry://astream#8\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\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\": 1614834156,\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#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"short_url\": \"lbry://@channel#b\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\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\": [], \"no_totals\": false, \"include_purchase_receipt\": false, \"include_is_my_output\": false}}' http://localhost:5279/", "lbrynet": "lbrynet claim search --name=\"astream\"", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"claim_search\", \"params\": {\"name\": \"astream\", \"claim_ids\": [], \"channel_ids\": [], \"not_channel_ids\": [], \"has_channel_signature\": false, \"valid_channel_signature\": false, \"invalid_channel_signature\": false, \"is_controlling\": false, \"stream_types\": [], \"media_types\": [], \"any_tags\": [], \"all_tags\": [], \"not_tags\": [], \"any_languages\": [], \"all_languages\": [], \"not_languages\": [], \"any_locations\": [], \"all_locations\": [], \"not_locations\": [], \"order_by\": [], \"no_totals\": false, \"include_purchase_receipt\": false, \"include_is_my_output\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blocked\": {\n \"channels\": [],\n \"total\": 0\n },\n \"items\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9/astream#5\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\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\": 1614621245,\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#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"short_url\": \"lbry://astream#5\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\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\": 1614621244,\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#942bc2b853470378853e73c4722201269f618ece\",\n \"short_url\": \"lbry://@channel#9\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"blocked\": {\n \"channels\": [],\n \"total\": 0\n },\n \"items\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b/astream#8\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\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\": 1614834157,\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#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"short_url\": \"lbry://astream#8\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\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\": 1614834156,\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#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"short_url\": \"lbry://@channel#b\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\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}" } ] } @@ -2207,10 +2207,10 @@ "examples": [ { "title": "Create a collection of one stream", - "curl": "curl -d'{\"method\": \"collection_create\", \"params\": {\"name\": \"tom\", \"bid\": \"1.0\", \"claims\": [\"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"], \"allow_duplicate_name\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet collection create --name=tom --bid=1.0 --channel_id=942bc2b853470378853e73c4722201269f618ece --claims=5f7e4f0837773cd64c14aae9da1059a9e8c7a277", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"collection_create\", \"params\": {\"name\": \"tom\", \"bid\": \"1.0\", \"claims\": [\"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"], \"allow_duplicate_name\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000015b92c6d4c843591bd513c62d4353006c117f7708ec87f76279a46560aee3a08b010000006b483045022100baf00bfaabe9a3eb1d33feee959fbb89f6437aa6aee65ecc82413d64725852b8022015e72235444b4917abf66c5090feaf475057e84902eddb79a003b5fe9205e5e9012102d38e294428f7ac83dc04ba42bef15f715e289ae6d95ed09d4aaae9d315fe4fbcffffffff0200e1f5050000000091b503746f6d4c6f01ce8e619f26012272c4733e8578034753b8c22b942574b315ecd384995f46f97565609b46b662e72417ac8045c6638db20ee0689524f5e5bc046d2f6b823ed22ede8a6a056393904bbac21801c11d1b4d65fea8311a1812160a1477a2c7e8a95910dae9aa144cd63c7737084f7e5f6d7576a9144545cea231f92bad8bf8e2b39b991b3d8eeab26b88ac202c7e17000000001976a914c9ae446b14d913bd55f0da65a0e83bc1c0eb66d488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"moUqS233tfUJcbqsAnKrqMHG9MT2EHtTv4\",\n \"amount\": \"4.947555\",\n \"confirmations\": 2,\n \"height\": 215,\n \"nout\": 1,\n \"timestamp\": 1614621245,\n \"txid\": \"8ba0e3ae6065a47962f787ec08777f116c0053432dc613d51b5943c8d4c6925b\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mmqEYaRGJFYsHtAesM6fJz36VD2Da56ndU\",\n \"amount\": \"1.0\",\n \"claim_id\": \"657cb0e616f9d0d3de70f00a44c9b62d51bd7e41\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"height\": -2,\n \"is_channel_signature_valid\": true,\n \"meta\": {},\n \"name\": \"tom\",\n \"normalized_name\": \"tom\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://tom#657cb0e616f9d0d3de70f00a44c9b62d51bd7e41\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 7,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"865d53a340ac33a140de9e42f7c77945037a9ecfbc7bb0e5268d087de68495c8\",\n \"type\": \"claim\",\n \"value\": {\n \"claims\": [\n \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"\n ]\n },\n \"value_type\": \"collection\"\n },\n {\n \"address\": \"myuLsuvnvnyUC9SqqMKbzmWPPAh38f3Z5U\",\n \"amount\": \"3.941448\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"865d53a340ac33a140de9e42f7c77945037a9ecfbc7bb0e5268d087de68495c8\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.006107\",\n \"total_input\": \"4.947555\",\n \"total_output\": \"4.941448\",\n \"txid\": \"865d53a340ac33a140de9e42f7c77945037a9ecfbc7bb0e5268d087de68495c8\"\n }\n}" + "curl": "curl -d'{\"method\": \"collection_create\", \"params\": {\"name\": \"tom\", \"bid\": \"1.0\", \"claims\": [\"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"], \"allow_duplicate_name\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet collection create --name=tom --bid=1.0 --channel_id=b312a0c4eff10abe98542f99679ccddc20840daa --claims=8e1d6b1b4aabe90269528e6cd09ec6e67086aa27", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"collection_create\", \"params\": {\"name\": \"tom\", \"bid\": \"1.0\", \"claims\": [\"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"], \"allow_duplicate_name\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001c658e7bbd1b900c27854ee50bc1c936efecbff86f0b6dbe0fa935498ccbc9c8a010000006a4730440220249e1e97baa1f9e7602414ecd53e310ae31fb4598d0e69dc3ebb05f47b9f8e5a022021d5fd28eab560a955fa2fe5d5c9b33333751ddd3b10c3c766070dc5656d14e601210301cf1ec4ac3fe3f25c6250752288e42586396b61cd85fe4c15202ad8af47cab4ffffffff0200e1f5050000000091b503746f6d4c6f01aa0d8420dccd9c67992f5498be0af1efc4a012b3fa0a33fbce950319e1e93d37b8e7ac027b1c4ef42780aa428e756d4f3e986b70ee7a996b23a95b08b489fc27a3b926bf89fbd3755362d45900d0a584e5cea5db1a1812160a1427aa8670e6c69ed06c8e526902e9ab4a1b6b1d8e6d7576a9149163664e4085c5c218cc4ebef8fec91feb3e4ca588ac202c7e17000000001976a9146c67f3d6029f4e5eb63fc9c4c20755099924f65488ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mvjMmSnptUQq5P81YaER63A2xvh3f8Fy18\",\n \"amount\": \"4.947555\",\n \"confirmations\": 2,\n \"height\": 215,\n \"nout\": 1,\n \"timestamp\": 1614834157,\n \"txid\": \"8a9cbccc985493fae0dbb6f086ffcbfe6e931cbc50ee5478c200b9d1bbe758c6\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mtmhMH1mm3xzJfzsKcgGgwb8Tga7nKsGSQ\",\n \"amount\": \"1.0\",\n \"claim_id\": \"99d652cb5528dbe8b01d06e550af798ea6cd0ee5\",\n \"claim_op\": \"create\",\n \"confirmations\": -2,\n \"height\": -2,\n \"is_channel_signature_valid\": true,\n \"meta\": {},\n \"name\": \"tom\",\n \"normalized_name\": \"tom\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://tom#99d652cb5528dbe8b01d06e550af798ea6cd0ee5\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 7,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"79d374f33ff80dc1049826650b51c1e65b0b3f5af4839b85cb9037882110c6d3\",\n \"type\": \"claim\",\n \"value\": {\n \"claims\": [\n \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"\n ]\n },\n \"value_type\": \"collection\"\n },\n {\n \"address\": \"mqQ9oWwESPiXhdCqnX74GKJC52Au3mLppJ\",\n \"amount\": \"3.941448\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"79d374f33ff80dc1049826650b51c1e65b0b3f5af4839b85cb9037882110c6d3\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.006107\",\n \"total_input\": \"4.947555\",\n \"total_output\": \"4.941448\",\n \"txid\": \"79d374f33ff80dc1049826650b51c1e65b0b3f5af4839b85cb9037882110c6d3\"\n }\n}" } ] }, @@ -2262,7 +2262,7 @@ "curl": "curl -d'{\"method\": \"collection_list\", \"params\": {\"resolve_claims\": 1, \"resolve\": true}}' http://localhost:5279/", "lbrynet": "lbrynet collection list --resolve --resolve_claims=1", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"collection_list\", \"params\": {\"resolve_claims\": 1, \"resolve\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mmqEYaRGJFYsHtAesM6fJz36VD2Da56ndU\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9/tom#6\",\n \"claim_id\": \"657cb0e616f9d0d3de70f00a44c9b62d51bd7e41\",\n \"claim_op\": \"create\",\n \"claims\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9/astream#5\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1614621245,\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#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"short_url\": \"lbry://astream#5\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#9\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 2,\n \"creation_height\": 209,\n \"creation_timestamp\": 1614621244,\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#942bc2b853470378853e73c4722201269f618ece\",\n \"short_url\": \"lbry://@channel#9\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"confirmations\": 1,\n \"height\": 217,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 217,\n \"creation_height\": 217,\n \"creation_timestamp\": 1614621245,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263191,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 217,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"tom\",\n \"normalized_name\": \"tom\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://tom#657cb0e616f9d0d3de70f00a44c9b62d51bd7e41\",\n \"short_url\": \"lbry://tom#6\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"865d53a340ac33a140de9e42f7c77945037a9ecfbc7bb0e5268d087de68495c8\",\n \"type\": \"claim\",\n \"value\": {\n \"claims\": [\n \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"\n ]\n },\n \"value_type\": \"collection\"\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\": \"mtmhMH1mm3xzJfzsKcgGgwb8Tga7nKsGSQ\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b/tom#9\",\n \"claim_id\": \"99d652cb5528dbe8b01d06e550af798ea6cd0ee5\",\n \"claim_op\": \"create\",\n \"claims\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b/astream#8\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1614834157,\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#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"short_url\": \"lbry://astream#8\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#b\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 2,\n \"creation_height\": 209,\n \"creation_timestamp\": 1614834156,\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#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"short_url\": \"lbry://@channel#b\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"confirmations\": 1,\n \"height\": 217,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 217,\n \"creation_height\": 217,\n \"creation_timestamp\": 1614834157,\n \"effective_amount\": \"1.0\",\n \"expiration_height\": 263191,\n \"is_controlling\": true,\n \"reposted\": 0,\n \"support_amount\": \"0.0\",\n \"take_over_height\": 217,\n \"trending_global\": 0.0,\n \"trending_group\": 0,\n \"trending_local\": 0.0,\n \"trending_mixed\": 0.0\n },\n \"name\": \"tom\",\n \"normalized_name\": \"tom\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://tom#99d652cb5528dbe8b01d06e550af798ea6cd0ee5\",\n \"short_url\": \"lbry://tom#9\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 8,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"79d374f33ff80dc1049826650b51c1e65b0b3f5af4839b85cb9037882110c6d3\",\n \"type\": \"claim\",\n \"value\": {\n \"claims\": [\n \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"\n ]\n },\n \"value_type\": \"collection\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -2458,10 +2458,10 @@ "examples": [ { "title": "Abandon a comment", - "curl": "curl -d'{\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\"}}' http://localhost:5279/", - "lbrynet": "lbrynet comment abandon f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\": {\n \"abandoned\": true\n }\n }\n}" + "curl": "curl -d'{\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\"}}' http://localhost:5279/", + "lbrynet": "lbrynet comment abandon b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\": {\n \"abandoned\": true\n }\n }\n}" } ] }, @@ -2516,17 +2516,17 @@ "examples": [ { "title": "Posting a comment as your channel", - "curl": "curl -d'{\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", - "lbrynet": "lbrynet comment create --comment=\"Thank you Based God\" --channel_name=@channel --claim_id=5f7e4f0837773cd64c14aae9da1059a9e8c7a277", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"c022669a3a027b4bac2b56e88072dced3925b98d52f6633abce78b07240d496daba852fc791ea9735418d019e21db96c862d44f6ec7707181b4cc5048f362dcb\",\n \"signing_ts\": \"1614621225\",\n \"timestamp\": \"1614621225\"\n }\n}" + "curl": "curl -d'{\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", + "lbrynet": "lbrynet comment create --comment=\"Thank you Based God\" --channel_name=@channel --claim_id=8e1d6b1b4aabe90269528e6cd09ec6e67086aa27", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"c8abd66f333be477aae482d73ee7446f9249261b8278f48c0518f5e29726357aecaad62bb962c5c079de5f023586d7f93759ab8bdbaf4de4d888cfb601146fdd\",\n \"signing_ts\": \"1614834138\",\n \"timestamp\": \"1614834138\"\n }\n}" }, { "title": "Use the parent_id param to make replies", - "curl": "curl -d'{\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"parent_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", - "lbrynet": "lbrynet comment create --comment=\"I have photographic evidence confirming Sasquatch exists\" --channel_name=@channel --parent_id=f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637 --claim_id=5f7e4f0837773cd64c14aae9da1059a9e8c7a277", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"parent_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"e8bbc863df4d3738a9c121f5f7665130bdfa5a3401b78dbdfeb3db64aad85a64b30653d46fb619fb365eef39916256a28a8ae3e3c674fab6d8dc22ca5664fe90\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\",\n \"signature\": \"27545d46a667b0ad233f96debfc34fa1b6185f3fb36fe42fdcf24634f4a4ac9186d05da352da66d083e7cdae1b7600d691274b567b45c47c05729c319c7b372e\",\n \"signing_ts\": \"1614621225\",\n \"timestamp\": \"1614621225\"\n }\n}" + "curl": "curl -d'{\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"parent_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", + "lbrynet": "lbrynet comment create --comment=\"I have photographic evidence confirming Sasquatch exists\" --channel_name=@channel --parent_id=b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c --claim_id=8e1d6b1b4aabe90269528e6cd09ec6e67086aa27", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"parent_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"4cf468b7f4d57c97ccecc02a2834f6197141b365640a0df40062574748f601760c2046fa3b007ac7652b092ba4731e1c9bf77f116b531c25e809fc8a309dae98\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\",\n \"signature\": \"786e474fce43d6bb8714194f2e33e1f4fb79f2d8b7889572713b73fdd76b089aec78dfe310f440f59959ac0989c3f39a6a2d650aa1dd285667c49417cf10fda9\",\n \"signing_ts\": \"1614834138\",\n \"timestamp\": \"1614834138\"\n }\n}" } ] }, @@ -2613,17 +2613,17 @@ "examples": [ { "title": "List all comments on a claim", - "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"include_replies\": true, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet comment list 5f7e4f0837773cd64c14aae9da1059a9e8c7a277 --include_replies", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"include_replies\": true, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"has_hidden_comments\": false,\n \"items\": [\n {\n \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"e8bbc863df4d3738a9c121f5f7665130bdfa5a3401b78dbdfeb3db64aad85a64b30653d46fb619fb365eef39916256a28a8ae3e3c674fab6d8dc22ca5664fe90\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\",\n \"signature\": \"27545d46a667b0ad233f96debfc34fa1b6185f3fb36fe42fdcf24634f4a4ac9186d05da352da66d083e7cdae1b7600d691274b567b45c47c05729c319c7b372e\",\n \"signing_ts\": \"1614621225\",\n \"timestamp\": \"1614621225\"\n },\n {\n \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"c022669a3a027b4bac2b56e88072dced3925b98d52f6633abce78b07240d496daba852fc791ea9735418d019e21db96c862d44f6ec7707181b4cc5048f362dcb\",\n \"signing_ts\": \"1614621225\",\n \"timestamp\": \"1614621225\"\n }\n ],\n \"page\": 1,\n \"page_size\": 50,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"include_replies\": true, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet comment list 8e1d6b1b4aabe90269528e6cd09ec6e67086aa27 --include_replies", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"include_replies\": true, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"has_hidden_comments\": false,\n \"items\": [\n {\n \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"4cf468b7f4d57c97ccecc02a2834f6197141b365640a0df40062574748f601760c2046fa3b007ac7652b092ba4731e1c9bf77f116b531c25e809fc8a309dae98\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\",\n \"signature\": \"786e474fce43d6bb8714194f2e33e1f4fb79f2d8b7889572713b73fdd76b089aec78dfe310f440f59959ac0989c3f39a6a2d650aa1dd285667c49417cf10fda9\",\n \"signing_ts\": \"1614834138\",\n \"timestamp\": \"1614834138\"\n },\n {\n \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"c8abd66f333be477aae482d73ee7446f9249261b8278f48c0518f5e29726357aecaad62bb962c5c079de5f023586d7f93759ab8bdbaf4de4d888cfb601146fdd\",\n \"signing_ts\": \"1614834138\",\n \"timestamp\": \"1614834138\"\n }\n ],\n \"page\": 1,\n \"page_size\": 50,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" }, { "title": "List a comment thread replying to a top level comment", - "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"parent_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\", \"include_replies\": false, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet comment list 5f7e4f0837773cd64c14aae9da1059a9e8c7a277 --parent_id=f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"parent_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\", \"include_replies\": false, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"has_hidden_comments\": false,\n \"items\": [\n {\n \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"e8bbc863df4d3738a9c121f5f7665130bdfa5a3401b78dbdfeb3db64aad85a64b30653d46fb619fb365eef39916256a28a8ae3e3c674fab6d8dc22ca5664fe90\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\",\n \"signature\": \"27545d46a667b0ad233f96debfc34fa1b6185f3fb36fe42fdcf24634f4a4ac9186d05da352da66d083e7cdae1b7600d691274b567b45c47c05729c319c7b372e\",\n \"signing_ts\": \"1614621225\",\n \"timestamp\": \"1614621225\"\n },\n {\n \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"c022669a3a027b4bac2b56e88072dced3925b98d52f6633abce78b07240d496daba852fc791ea9735418d019e21db96c862d44f6ec7707181b4cc5048f362dcb\",\n \"signing_ts\": \"1614621225\",\n \"timestamp\": \"1614621225\"\n }\n ],\n \"page\": 1,\n \"page_size\": 50,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"parent_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\", \"include_replies\": false, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet comment list 8e1d6b1b4aabe90269528e6cd09ec6e67086aa27 --parent_id=b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"parent_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\", \"include_replies\": false, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"has_hidden_comments\": false,\n \"items\": [\n {\n \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"4cf468b7f4d57c97ccecc02a2834f6197141b365640a0df40062574748f601760c2046fa3b007ac7652b092ba4731e1c9bf77f116b531c25e809fc8a309dae98\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\",\n \"signature\": \"786e474fce43d6bb8714194f2e33e1f4fb79f2d8b7889572713b73fdd76b089aec78dfe310f440f59959ac0989c3f39a6a2d650aa1dd285667c49417cf10fda9\",\n \"signing_ts\": \"1614834138\",\n \"timestamp\": \"1614834138\"\n },\n {\n \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"c8abd66f333be477aae482d73ee7446f9249261b8278f48c0518f5e29726357aecaad62bb962c5c079de5f023586d7f93759ab8bdbaf4de4d888cfb601146fdd\",\n \"signing_ts\": \"1614834138\",\n \"timestamp\": \"1614834138\"\n }\n ],\n \"page\": 1,\n \"page_size\": 50,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" } ] }, @@ -2792,10 +2792,10 @@ "examples": [ { "title": "Edit the contents of a comment", - "curl": "curl -d'{\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\"}}' http://localhost:5279/", - "lbrynet": "lbrynet comment update Where there was once sasquatch, there is not --comment_id=f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"comment\": \"Where there was once sasquatch, there is not\",\n \"comment_id\": \"f67851eb898bf38dfe8bb31d85867e5fca7ab67d2b4aa9699ee5a3d2e383c8ebe12343c58d6a017b58d09bdd0b8706a53202825eb70b0b48aa70e0eabd26c637\",\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": null,\n \"signature\": \"7bd7d4cd486d7a63912d70833ceea39d711c4e599a89d16fcc87cff615f27b34681a912519d97586bdaf07009c2bb2f20331b48479f9a73d1d8a6eef344d31e5\",\n \"signing_ts\": \"1614621225\",\n \"timestamp\": \"1614621225\"\n }\n}" + "curl": "curl -d'{\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\"}}' http://localhost:5279/", + "lbrynet": "lbrynet comment update Where there was once sasquatch, there is not --comment_id=b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"comment\": \"Where there was once sasquatch, there is not\",\n \"comment_id\": \"b88abe2cd021b3b6b2a705a09b0cc3a97f9c8a49008b3a1d5c435b0431ba62ab4658c0e2e5d47fb78147016cb2a4708de87ca27ee6b5657e042db085bcb9692c\",\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": null,\n \"signature\": \"922e62510909966535c0234cc3c0b03e2d72c6867333bfce300ff785b40695f82502b033b162504b9d8adb20303472012724439849228cb0ad2927422428797e\",\n \"signing_ts\": \"1614834138\",\n \"timestamp\": \"1614834138\"\n }\n}" } ] } @@ -2885,9 +2885,9 @@ "examples": [ { "title": "Delete a file", - "curl": "curl -d'{\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"}}' http://localhost:5279/", - "lbrynet": "lbrynet file delete --claim_id=\"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"}}).json()", + "curl": "curl -d'{\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"}}' http://localhost:5279/", + "lbrynet": "lbrynet file delete --claim_id=\"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"}}).json()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": true\n}" } ] @@ -3048,14 +3048,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\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": -1,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": -1,\n \"is_fully_reflected\": true,\n \"key\": \"ba5ec19a388790b4e1693df837a23fc8\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01ce8e619f26012272c4733e8578034753b8c22b9418d94ca2387f5531645f44705a49934b0e4ceba64273ebddcbbff00d37e9b8b56bc46d947d3f786e41749f5d09ecbfb1aef1e324c79fde54b9b91a0ff828089a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d706763727a67723230180b22186170706c69636174696f6e2f6f637465742d73747265616d32301af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"ee8a6cb4d8191f072342070e5fcbd7e33cc18d28b05c5cbaed48b631a2dad2082efe371cc4fc07b5a3729d2895027853\",\n \"stream_name\": \"tmpgcrzgr20\",\n \"streaming_url\": \"http://localhost:5280/stream/1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"suggested_file_name\": \"tmpgcrzgr20\",\n \"timestamp\": null,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"uploading_to_reflector\": false,\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\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"2d1009c99afad8802994c58463bfbbbc9cd9372c\",\n \"claim_name\": \"blank-image\",\n \"completed\": false,\n \"confirmations\": -1,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": -1,\n \"is_fully_reflected\": true,\n \"key\": \"522964fdcdceb6570ea7a582e694b827\",\n \"metadata\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mib614fjHDRDMzntL1PCVVe1J5PYAVTPz2\",\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\": \"1614621223\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmp7osaubw5.png\",\n \"sd_hash\": \"e1e650f9a792ec1b9ffa9496708ad807400bdee5ac2350bfc06de7a57f27ab8ff2f665fbfab098d12c33b73f0c7c6c01\",\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\": \"8ba0e3ae6065a47962f787ec08777f116c0053432dc613d51b5943c8d4c6925b:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01ce8e619f26012272c4733e8578034753b8c22b94f270b5a67faf3450f320884d2db69465c6a3b90aff4d62247da2f3917054a3307b0bd3509f6b62ca8f9193becf6f719b4e89a31564192a59829a2f4ebd6c812a0ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d70376f7361756277352e706e6718632209696d6167652f706e673230e1e650f9a792ec1b9ffa9496708ad807400bdee5ac2350bfc06de7a57f27ab8ff2f665fbfab098d12c33b73f0c7c6c01120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728a7d4f481063222080112196f21b079884ec38c2454c70ea3a5fb679c49b8a0c7c1a41533188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e63686573746572\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"e1e650f9a792ec1b9ffa9496708ad807400bdee5ac2350bfc06de7a57f27ab8ff2f665fbfab098d12c33b73f0c7c6c01\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"2962f4ea7a5a433029bc5bd32d77cecf6de978b215ab4265d9fe9a4d2be177e1de44a3d01af2eb878267d46267cd827f\",\n \"stream_name\": \"tmp7osaubw5.png\",\n \"streaming_url\": \"http://localhost:5280/stream/e1e650f9a792ec1b9ffa9496708ad807400bdee5ac2350bfc06de7a57f27ab8ff2f665fbfab098d12c33b73f0c7c6c01\",\n \"suggested_file_name\": \"tmp7osaubw5.png\",\n \"timestamp\": null,\n \"total_bytes\": 112,\n \"total_bytes_lower_bound\": 96,\n \"txid\": \"8ba0e3ae6065a47962f787ec08777f116c0053432dc613d51b5943c8d4c6925b\",\n \"uploading_to_reflector\": false,\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\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": -1,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": -1,\n \"is_fully_reflected\": true,\n \"key\": \"cd4485fae55b2147206733882971405a\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01aa0d8420dccd9c67992f5498be0af1efc4a012b337f1ca30a5844b95623ce944a8279839e5111bc041faf55de4cd6452e2ff25ea6ad84a1e3c478596408f4342829ffaa690073dfbdf024eb5b4c12c2509ad72980a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70757975307138746a180b22186170706c69636174696f6e2f6f637465742d73747265616d32303da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"ed940f9a26c786d7a10f006354ac7d0f29772269bd752ce9b6b3681647581d5bd74c89a48e48ca5277eae641b1088239\",\n \"stream_name\": \"tmpuyu0q8tj\",\n \"streaming_url\": \"http://localhost:5280/stream/3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"suggested_file_name\": \"tmpuyu0q8tj\",\n \"timestamp\": null,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"uploading_to_reflector\": false,\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\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"d0c162f216e4e566d6da93a28ad4e23a78bcea87\",\n \"claim_name\": \"blank-image\",\n \"completed\": false,\n \"confirmations\": -1,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": -1,\n \"is_fully_reflected\": true,\n \"key\": \"7a49ee69a28aa0865fb8952469bd8cbf\",\n \"metadata\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"myvqTjDz7Jo3mqvnPN5BQ5ACeffyPGzS9u\",\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\": \"1614834136\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpjfjb7uyw.png\",\n \"sd_hash\": \"311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d\",\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\": \"8a9cbccc985493fae0dbb6f086ffcbfe6e931cbc50ee5478c200b9d1bbe758c6:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01aa0d8420dccd9c67992f5498be0af1efc4a012b3d3deecf6132538bbb1c4105b234d5cb728cf1e54c46f10a89d4eb3a7ca3607b24577bab39ef883697da1eb10afccdf5b6290f05388142bb7523729eea7d2fdad0ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d706a666a62377579772e706e6718632209696d6167652f706e673230311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728d8d38182063222080112196fc9f68b0a781c37ee7a44bdb607c85b0c2321b0703e1a8620188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e63686573746572\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"1ebac2cd04470647f38025a4c870a3dfa3e9f8ba8acbd2c79065abc55d64f531cf083946567f7981c51464efe3e3d499\",\n \"stream_name\": \"tmpjfjb7uyw.png\",\n \"streaming_url\": \"http://localhost:5280/stream/311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d\",\n \"suggested_file_name\": \"tmpjfjb7uyw.png\",\n \"timestamp\": null,\n \"total_bytes\": 112,\n \"total_bytes_lower_bound\": 96,\n \"txid\": \"8a9cbccc985493fae0dbb6f086ffcbfe6e931cbc50ee5478c200b9d1bbe758c6\",\n \"uploading_to_reflector\": false,\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\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"reverse\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet file list --claim_id=\"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_list\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"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\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 4,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": 214,\n \"is_fully_reflected\": true,\n \"key\": \"ba5ec19a388790b4e1693df837a23fc8\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01ce8e619f26012272c4733e8578034753b8c22b9418d94ca2387f5531645f44705a49934b0e4ceba64273ebddcbbff00d37e9b8b56bc46d947d3f786e41749f5d09ecbfb1aef1e324c79fde54b9b91a0ff828089a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d706763727a67723230180b22186170706c69636174696f6e2f6f637465742d73747265616d32301af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"ee8a6cb4d8191f072342070e5fcbd7e33cc18d28b05c5cbaed48b631a2dad2082efe371cc4fc07b5a3729d2895027853\",\n \"stream_name\": \"tmpgcrzgr20\",\n \"streaming_url\": \"http://localhost:5280/stream/1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"suggested_file_name\": \"tmpgcrzgr20\",\n \"timestamp\": 1614621245,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"uploading_to_reflector\": false,\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\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"reverse\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet file list --claim_id=\"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_list\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"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\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 4,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": 214,\n \"is_fully_reflected\": true,\n \"key\": \"cd4485fae55b2147206733882971405a\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01aa0d8420dccd9c67992f5498be0af1efc4a012b337f1ca30a5844b95623ce944a8279839e5111bc041faf55de4cd6452e2ff25ea6ad84a1e3c478596408f4342829ffaa690073dfbdf024eb5b4c12c2509ad72980a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70757975307138746a180b22186170706c69636174696f6e2f6f637465742d73747265616d32303da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"ed940f9a26c786d7a10f006354ac7d0f29772269bd752ce9b6b3681647581d5bd74c89a48e48ca5277eae641b1088239\",\n \"stream_name\": \"tmpuyu0q8tj\",\n \"streaming_url\": \"http://localhost:5280/stream/3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"suggested_file_name\": \"tmpuyu0q8tj\",\n \"timestamp\": 1614834157,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"uploading_to_reflector\": false,\n \"written_bytes\": 0\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 1,\n \"total_pages\": 1\n }\n}" } ] }, @@ -3172,10 +3172,10 @@ "examples": [ { "title": "Save a file to the downloads directory", - "curl": "curl -d'{\"method\": \"file_save\", \"params\": {\"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\"}}' http://localhost:5279/", - "lbrynet": "lbrynet file save --sd_hash=\"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_save\", \"params\": {\"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1614621226,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 4,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmp6j_caaiy\",\n \"download_path\": \"/tmp/tmp6j_caaiy/tmpgcrzgr20_1\",\n \"file_name\": \"tmpgcrzgr20_1\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"ba5ec19a388790b4e1693df837a23fc8\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01ce8e619f26012272c4733e8578034753b8c22b9418d94ca2387f5531645f44705a49934b0e4ceba64273ebddcbbff00d37e9b8b56bc46d947d3f786e41749f5d09ecbfb1aef1e324c79fde54b9b91a0ff828089a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d706763727a67723230180b22186170706c69636174696f6e2f6f637465742d73747265616d32301af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 0,\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"ee8a6cb4d8191f072342070e5fcbd7e33cc18d28b05c5cbaed48b631a2dad2082efe371cc4fc07b5a3729d2895027853\",\n \"stream_name\": \"tmpgcrzgr20\",\n \"streaming_url\": \"http://localhost:5280/stream/1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"suggested_file_name\": \"tmpgcrzgr20\",\n \"timestamp\": 1614621245,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"uploading_to_reflector\": false,\n \"written_bytes\": 11\n }\n}" + "curl": "curl -d'{\"method\": \"file_save\", \"params\": {\"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\"}}' http://localhost:5279/", + "lbrynet": "lbrynet file save --sd_hash=\"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_save\", \"params\": {\"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\"}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1614834139,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 4,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmperer8uup\",\n \"download_path\": \"/tmp/tmperer8uup/tmpuyu0q8tj_1\",\n \"file_name\": \"tmpuyu0q8tj_1\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"cd4485fae55b2147206733882971405a\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"01aa0d8420dccd9c67992f5498be0af1efc4a012b337f1ca30a5844b95623ce944a8279839e5111bc041faf55de4cd6452e2ff25ea6ad84a1e3c478596408f4342829ffaa690073dfbdf024eb5b4c12c2509ad72980a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70757975307138746a180b22186170706c69636174696f6e2f6f637465742d73747265616d32303da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 0,\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"ed940f9a26c786d7a10f006354ac7d0f29772269bd752ce9b6b3681647581d5bd74c89a48e48ca5277eae641b1088239\",\n \"stream_name\": \"tmpuyu0q8tj\",\n \"streaming_url\": \"http://localhost:5280/stream/3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"suggested_file_name\": \"tmpuyu0q8tj\",\n \"timestamp\": 1614834157,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"uploading_to_reflector\": false,\n \"written_bytes\": 11\n }\n}" } ] }, @@ -3456,7 +3456,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 \"allowed_origin\": \"\",\n \"announce_head_and_sd_only\": true,\n \"api\": \"localhost:5279\",\n \"audio_encoder\": \"aac -b:a 160k\",\n \"blob_download_timeout\": 30.0,\n \"blob_lru_cache_size\": 0,\n \"blockchain_name\": \"lbrycrd_regtest\",\n \"coin_selection_strategy\": \"standard\",\n \"comment_server\": \"http://localhost:2903/api\",\n \"components_to_skip\": [\n \"dht\",\n \"upnp\",\n \"hash_announcer\",\n \"peer_protocol_server\",\n \"libtorrent_component\"\n ],\n \"concurrent_blob_announcers\": 10,\n \"concurrent_reflector_uploads\": 10,\n \"config\": \"/home/jessop/.local/share/lbry/lbrynet/daemon_settings.yml\",\n \"data_dir\": \"/tmp/tmp6j_caaiy\",\n \"download_dir\": \"/tmp/tmp6j_caaiy\",\n \"download_timeout\": 30.0,\n \"ffmpeg_path\": \"\",\n \"fixed_peer_delay\": 2.0,\n \"fixed_peers\": [\n [\n \"127.0.0.1\",\n 5567\n ]\n ],\n \"known_dht_nodes\": [],\n \"lbryum_servers\": [\n [\n \"127.0.0.1\",\n 50001\n ]\n ],\n \"max_connections_per_download\": 4,\n \"max_key_fee\": {\n \"amount\": 50.0,\n \"currency\": \"USD\"\n },\n \"max_wallet_server_fee\": \"0.0\",\n \"network_interface\": \"0.0.0.0\",\n \"node_rpc_timeout\": 5.0,\n \"peer_connect_timeout\": 3.0,\n \"prometheus_port\": 0,\n \"reflect_streams\": true,\n \"reflector_servers\": [\n [\n \"127.0.0.1\",\n 5566\n ]\n ],\n \"save_blobs\": true,\n \"save_files\": true,\n \"save_resolved_claims\": true,\n \"share_usage_data\": false,\n \"split_buckets_under_index\": 1,\n \"streaming_get\": true,\n \"streaming_server\": \"localhost:5280\",\n \"tcp_port\": 3333,\n \"track_bandwidth\": true,\n \"transaction_cache_size\": 10000,\n \"udp_port\": 4444,\n \"use_upnp\": false,\n \"video_bitrate_maximum\": 5000000,\n \"video_encoder\": \"libx264 -crf 24 -preset faster -pix_fmt yuv420p\",\n \"video_scaler\": \"-vf \\\"scale=if(gte(iw\\\\,ih)\\\\,min(1920\\\\,iw)\\\\,-2):if(lt(iw\\\\,ih)\\\\,min(1920\\\\,ih)\\\\,-2)\\\" -maxrate 5500K -bufsize 5000K\",\n \"volume_analysis_time\": 240,\n \"volume_filter\": \"\",\n \"wallet_dir\": \"/tmp/tmp6j_caaiy\",\n \"wallets\": [\n \"default_wallet\"\n ]\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"allowed_origin\": \"\",\n \"announce_head_and_sd_only\": true,\n \"api\": \"localhost:5279\",\n \"audio_encoder\": \"aac -b:a 160k\",\n \"blob_download_timeout\": 30.0,\n \"blob_lru_cache_size\": 0,\n \"blockchain_name\": \"lbrycrd_regtest\",\n \"coin_selection_strategy\": \"standard\",\n \"comment_server\": \"http://localhost:2903/api\",\n \"components_to_skip\": [\n \"dht\",\n \"upnp\",\n \"hash_announcer\",\n \"peer_protocol_server\",\n \"libtorrent_component\"\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/tmperer8uup\",\n \"download_dir\": \"/tmp/tmperer8uup\",\n \"download_timeout\": 30.0,\n \"ffmpeg_path\": \"\",\n \"fixed_peer_delay\": 2.0,\n \"fixed_peers\": [\n [\n \"127.0.0.1\",\n 5567\n ]\n ],\n \"known_dht_nodes\": [],\n \"lbryum_servers\": [\n [\n \"127.0.0.1\",\n 50001\n ]\n ],\n \"max_connections_per_download\": 4,\n \"max_key_fee\": {\n \"amount\": 50.0,\n \"currency\": \"USD\"\n },\n \"max_wallet_server_fee\": \"0.0\",\n \"network_interface\": \"0.0.0.0\",\n \"node_rpc_timeout\": 5.0,\n \"peer_connect_timeout\": 3.0,\n \"prometheus_port\": 0,\n \"reflect_streams\": true,\n \"reflector_servers\": [\n [\n \"127.0.0.1\",\n 5566\n ]\n ],\n \"save_blobs\": true,\n \"save_files\": true,\n \"save_resolved_claims\": true,\n \"share_usage_data\": false,\n \"split_buckets_under_index\": 1,\n \"streaming_get\": true,\n \"streaming_server\": \"localhost:5280\",\n \"tcp_port\": 3333,\n \"track_bandwidth\": true,\n \"transaction_cache_size\": 10000,\n \"udp_port\": 4444,\n \"use_upnp\": false,\n \"video_bitrate_maximum\": 5000000,\n \"video_encoder\": \"libx264 -crf 24 -preset faster -pix_fmt yuv420p\",\n \"video_scaler\": \"-vf \\\"scale=if(gte(iw\\\\,ih)\\\\,min(1920\\\\,iw)\\\\,-2):if(lt(iw\\\\,ih)\\\\,min(1920\\\\,ih)\\\\,-2)\\\" -maxrate 5500K -bufsize 5000K\",\n \"volume_analysis_time\": 240,\n \"volume_filter\": \"\",\n \"wallet_dir\": \"/tmp/tmperer8uup\",\n \"wallets\": [\n \"default_wallet\"\n ]\n }\n}" } ] }, @@ -3531,10 +3531,10 @@ "examples": [ { "title": "Abandon a stream claim", - "curl": "curl -d'{\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream abandon 5f7e4f0837773cd64c14aae9da1059a9e8c7a277", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001148323181b7e4655cf509ba7c0421079748223a307ef2507ece8baaefffac38e000000006a4730440220463a8f4e992039be46a11189884088542d29ac41ac48d0a1f4b4e7fa946fdd8a02202d067120b83e49481b3a018fc5e2b664d1cb986fd6ba362b314383f3a4eb5d0d012103f934fa4fa5a9819969ed6e0987db5b8fc57d359d7a53763126a9395ea1dc08bcffffffff0134b7f505000000001976a914b1c11b586063aa57f044a9554795bfa658f1daed88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"height\": 214,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mwiqEJduPQdsG2vq14TGx5TmTJ4eEGfUCf\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"cc8e6a3bb6545e79fbf0ea1074c8c16561f355066d232d2ed8cdfa827bd35909\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"cc8e6a3bb6545e79fbf0ea1074c8c16561f355066d232d2ed8cdfa827bd35909\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream abandon 8e1d6b1b4aabe90269528e6cd09ec6e67086aa27", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000010de1fd2e5892faa37d0c5f5903c6f943fd87bba3775f5902903b9d3212ef0d04000000006b483045022100e1b1f63c175bf93381a04301c6c05371963ffe291b1bc66cbb234a2dcdfdd58f02203e0b68aeea4fba142f46481bd6e34ff8f2cef7dba289a6fd442c75e4706c412a01210273e915853a992843ce866bb86542bbd8f6bf2a6cd7bd1b40fcc62ebdca3d1033ffffffff0134b7f505000000001976a9145d7218d936e2ee9cd7f6c4e325ec724ef5580af388ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"height\": 214,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mp33pVo4NnGZL3jxMMrKj1SEiVcRuRjEhz\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"fa517763eee137e5c11d8c0364fb16ec493f1bd447bff721dc768ca71af6062f\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"fa517763eee137e5c11d8c0364fb16ec493f1bd447bff721dc768ca71af6062f\"\n }\n}" } ] }, @@ -3747,17 +3747,17 @@ "examples": [ { "title": "Create a stream claim without metadata", - "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpgcrzgr20\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream create astream 1.0 /tmp/tmpgcrzgr20", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpgcrzgr20\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001a8832d4bfe317757d4c3deddc1241a08fa93820c3934e0c34f568707cd18ff6b010000006b483045022100d841e7d13aadddaa4fb3409546bd79c17de63597d859c7b5a427bdab707cee7f0220580b663eeab457cfa7f80fc3e6c6431fa166dac033cb57bf744cc37c89df8b8e01210356aa82b9dee4a0f1500b1de24ae11f69537723610e274b926dc38b4e7e6bbbdcffffffff0200e1f50500000000bab5076173747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d706763727a67723230180b22186170706c69636174696f6e2f6f637465742d73747265616d32301af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca1046d7576a914715a892aa2d2409dd6c647c503841cf92c285ce588ac38fb9423000000001976a9146597b2b2fb867c4c8f4dc13c18b6b6b00d98732688ac00000000\",\n \"inputs\": [\n {\n \"address\": \"msJQvdWj72onpEZ1bx2iWY2Ae2D1edUurW\",\n \"amount\": \"6.983769\",\n \"confirmations\": 4,\n \"height\": 209,\n \"nout\": 1,\n \"timestamp\": 1614621244,\n \"txid\": \"6bff18cd0787564fc3e034390c8293fa081a24c1dddec3d4577731fe4b2d83a8\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\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#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"timestamp\": null,\n \"txid\": \"8a4d420155e617201e636f03c19df168d096581a74de18e2415e30c6375fd79d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mpn8GbPbhS7e61idP9YbbiBqTaYB6h6aDy\",\n \"amount\": \"5.969662\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"8a4d420155e617201e636f03c19df168d096581a74de18e2415e30c6375fd79d\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.014107\",\n \"total_input\": \"6.983769\",\n \"total_output\": \"6.969662\",\n \"txid\": \"8a4d420155e617201e636f03c19df168d096581a74de18e2415e30c6375fd79d\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpuyu0q8tj\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream create astream 1.0 /tmp/tmpuyu0q8tj", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpuyu0q8tj\", \"validate_file\": false, \"optimize_file\": false, \"tags\": [], \"languages\": [], \"locations\": [], \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000016f9684b064899e8a3206c9c7f85ec37806bbb389b3a982a9b2a74b3673c6aa26010000006b483045022100d289c3b75efaadb927c7251507ae39acea229e88c7665544a4432dc065042b08022045c2ad4d19d59cb53ada7647a1b246bce78827cda797518e38e15208f91d7ff601210216a1734dcbf7cee620b631571e8c7b9529d6e1f89608538f4c56927b8904214fffffffff0200e1f50500000000bab5076173747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70757975307138746a180b22186170706c69636174696f6e2f6f637465742d73747265616d32303da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d6d7576a914fdde168e6017209da83a477c5a85acfded0a69c588ac38fb9423000000001976a914d8fbf8a1a258e53d180240a8f3161d4b92a06ecc88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mtEiDQqYaxPYPj5HBwxUrEoFMYK8aAQBgy\",\n \"amount\": \"6.983769\",\n \"confirmations\": 4,\n \"height\": 209,\n \"nout\": 1,\n \"timestamp\": 1614834156,\n \"txid\": \"26aac673364ba7b2a982a9b389b3bb0678c35ef8c7c906328a9e8964b084966f\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\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#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"timestamp\": null,\n \"txid\": \"86099bb8ccfa3045ce91b915e9f9af3ad4f490cacc8bb4883ff2f44f558034a3\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n1JG6kpsUC8Ya9KakL9vNSt9HqyrieVRBW\",\n \"amount\": \"5.969662\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"86099bb8ccfa3045ce91b915e9f9af3ad4f490cacc8bb4883ff2f44f558034a3\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.014107\",\n \"total_input\": \"6.983769\",\n \"total_output\": \"6.969662\",\n \"txid\": \"86099bb8ccfa3045ce91b915e9f9af3ad4f490cacc8bb4883ff2f44f558034a3\"\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/tmp7osaubw5.png\", \"validate_file\": false, \"optimize_file\": false, \"fee_currency\": \"LBC\", \"fee_amount\": \"0.3\", \"title\": \"Blank Image\", \"description\": \"A blank PNG that is 5x7.\", \"author\": \"Picaso\", \"tags\": [\"blank\", \"art\"], \"languages\": [\"en\"], \"locations\": [\"US:NH:Manchester\"], \"license\": \"Public Domain\", \"license_url\": \"http://public-domain.org\", \"thumbnail_url\": \"http://smallmedia.com/thumbnail.jpg\", \"release_time\": 1614621223, \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream create blank-image 1.0 /tmp/tmp7osaubw5.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=1614621223 --channel_id=\"942bc2b853470378853e73c4722201269f618ece\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmp7osaubw5.png\", \"validate_file\": false, \"optimize_file\": false, \"fee_currency\": \"LBC\", \"fee_amount\": \"0.3\", \"title\": \"Blank Image\", \"description\": \"A blank PNG that is 5x7.\", \"author\": \"Picaso\", \"tags\": [\"blank\", \"art\"], \"languages\": [\"en\"], \"locations\": [\"US:NH:Manchester\"], \"license\": \"Public Domain\", \"license_url\": \"http://public-domain.org\", \"thumbnail_url\": \"http://smallmedia.com/thumbnail.jpg\", \"release_time\": 1614621223, \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000019dd75f37c6305e41e218de741a5896d068f19dc1036f631e2017e65501424d8a010000006b483045022100c7fc6221b8e0959a1d07b3caf8b64587b5de8ddf4bdf793fce4a511ac232d9b1022067783bd83204b1e5548a8eab6b29d9f585c289d64fde3a24d0935531325508ac012102f33bb136b99c8b94881f6370e4eb5f3826ad963f0caae63467a8509d0bdb99ccffffffff0200e1f50500000000fddc01b50b626c616e6b2d696d6167654db10101ce8e619f26012272c4733e8578034753b8c22b94f270b5a67faf3450f320884d2db69465c6a3b90aff4d62247da2f3917054a3307b0bd3509f6b62ca8f9193becf6f719b4e89a31564192a59829a2f4ebd6c812a0ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d70376f7361756277352e706e6718632209696d6167652f706e673230e1e650f9a792ec1b9ffa9496708ad807400bdee5ac2350bfc06de7a57f27ab8ff2f665fbfab098d12c33b73f0c7c6c01120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728a7d4f481063222080112196f21b079884ec38c2454c70ea3a5fb679c49b8a0c7c1a41533188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e636865737465726d7576a91421b079884ec38c2454c70ea3a5fb679c49b8a0c788acac5e7d1d000000001976a914575a721780918cc0334a8fb6440355581806c78a88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mpn8GbPbhS7e61idP9YbbiBqTaYB6h6aDy\",\n \"amount\": \"5.969662\",\n \"confirmations\": 2,\n \"height\": 213,\n \"nout\": 1,\n \"timestamp\": 1614621245,\n \"txid\": \"8a4d420155e617201e636f03c19df168d096581a74de18e2415e30c6375fd79d\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mib614fjHDRDMzntL1PCVVe1J5PYAVTPz2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"2d1009c99afad8802994c58463bfbbbc9cd9372c\",\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#2d1009c99afad8802994c58463bfbbbc9cd9372c\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"8ba0e3ae6065a47962f787ec08777f116c0053432dc613d51b5943c8d4c6925b\",\n \"type\": \"claim\",\n \"value\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mib614fjHDRDMzntL1PCVVe1J5PYAVTPz2\",\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\": \"1614621223\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmp7osaubw5.png\",\n \"sd_hash\": \"e1e650f9a792ec1b9ffa9496708ad807400bdee5ac2350bfc06de7a57f27ab8ff2f665fbfab098d12c33b73f0c7c6c01\",\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\": \"moUqS233tfUJcbqsAnKrqMHG9MT2EHtTv4\",\n \"amount\": \"4.947555\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"8ba0e3ae6065a47962f787ec08777f116c0053432dc613d51b5943c8d4c6925b\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"5.969662\",\n \"total_output\": \"5.947555\",\n \"txid\": \"8ba0e3ae6065a47962f787ec08777f116c0053432dc613d51b5943c8d4c6925b\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpjfjb7uyw.png\", \"validate_file\": false, \"optimize_file\": false, \"fee_currency\": \"LBC\", \"fee_amount\": \"0.3\", \"title\": \"Blank Image\", \"description\": \"A blank PNG that is 5x7.\", \"author\": \"Picaso\", \"tags\": [\"blank\", \"art\"], \"languages\": [\"en\"], \"locations\": [\"US:NH:Manchester\"], \"license\": \"Public Domain\", \"license_url\": \"http://public-domain.org\", \"thumbnail_url\": \"http://smallmedia.com/thumbnail.jpg\", \"release_time\": 1614834136, \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream create blank-image 1.0 /tmp/tmpjfjb7uyw.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=1614834136 --channel_id=\"b312a0c4eff10abe98542f99679ccddc20840daa\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpjfjb7uyw.png\", \"validate_file\": false, \"optimize_file\": false, \"fee_currency\": \"LBC\", \"fee_amount\": \"0.3\", \"title\": \"Blank Image\", \"description\": \"A blank PNG that is 5x7.\", \"author\": \"Picaso\", \"tags\": [\"blank\", \"art\"], \"languages\": [\"en\"], \"locations\": [\"US:NH:Manchester\"], \"license\": \"Public Domain\", \"license_url\": \"http://public-domain.org\", \"thumbnail_url\": \"http://smallmedia.com/thumbnail.jpg\", \"release_time\": 1614834136, \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001a33480554ff4f23f88b48bccca90f4d43aaff9e915b991ce4530faccb89b0986010000006b483045022100de562ecf4e83ba2a48430f0cbfe9e66c5d047aa64499612847e1731894fcbe9b02205dcb6e7ebd3ed5f63468caa31af35d7a6509227ab78058972d45d1f9a8aaa4bf012102556e36a4e5efc6a2e4c0dd14c81ef9d6cfbde7b062fb9b028447fa972c99741fffffffff0200e1f50500000000fddc01b50b626c616e6b2d696d6167654db10101aa0d8420dccd9c67992f5498be0af1efc4a012b3d3deecf6132538bbb1c4105b234d5cb728cf1e54c46f10a89d4eb3a7ca3607b24577bab39ef883697da1eb10afccdf5b6290f05388142bb7523729eea7d2fdad0ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d706a666a62377579772e706e6718632209696d6167652f706e673230311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728d8d38182063222080112196fc9f68b0a781c37ee7a44bdb607c85b0c2321b0703e1a8620188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e636865737465726d7576a914c9f68b0a781c37ee7a44bdb607c85b0c2321b07088acac5e7d1d000000001976a914a6e278d2550bbb14201c9b3463eee659fff89fbd88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n1JG6kpsUC8Ya9KakL9vNSt9HqyrieVRBW\",\n \"amount\": \"5.969662\",\n \"confirmations\": 2,\n \"height\": 213,\n \"nout\": 1,\n \"timestamp\": 1614834157,\n \"txid\": \"86099bb8ccfa3045ce91b915e9f9af3ad4f490cacc8bb4883ff2f44f558034a3\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"myvqTjDz7Jo3mqvnPN5BQ5ACeffyPGzS9u\",\n \"amount\": \"1.0\",\n \"claim_id\": \"d0c162f216e4e566d6da93a28ad4e23a78bcea87\",\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#d0c162f216e4e566d6da93a28ad4e23a78bcea87\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"8a9cbccc985493fae0dbb6f086ffcbfe6e931cbc50ee5478c200b9d1bbe758c6\",\n \"type\": \"claim\",\n \"value\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"myvqTjDz7Jo3mqvnPN5BQ5ACeffyPGzS9u\",\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\": \"1614834136\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpjfjb7uyw.png\",\n \"sd_hash\": \"311cd51592acc28ad9e7026da4a4969f70d403a70d5974ab94cdaacbbe50a0a48036e3431e52134857f822a49de4196d\",\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\": \"mvjMmSnptUQq5P81YaER63A2xvh3f8Fy18\",\n \"amount\": \"4.947555\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"8a9cbccc985493fae0dbb6f086ffcbfe6e931cbc50ee5478c200b9d1bbe758c6\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"5.969662\",\n \"total_output\": \"5.947555\",\n \"txid\": \"8a9cbccc985493fae0dbb6f086ffcbfe6e931cbc50ee5478c200b9d1bbe758c6\"\n }\n}" } ] }, @@ -3827,14 +3827,14 @@ "curl": "curl -d'{\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", "lbrynet": "lbrynet stream list", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"resolve\": false, \"no_totals\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"create\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"timestamp\": 1614621245,\n \"txid\": \"8a4d420155e617201e636f03c19df168d096581a74de18e2415e30c6375fd79d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"create\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"timestamp\": 1614834157,\n \"txid\": \"86099bb8ccfa3045ce91b915e9f9af3ad4f490cacc8bb4883ff2f44f558034a3\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" }, { "title": "Paginate your stream claims", "curl": "curl -d'{\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}' http://localhost:5279/", "lbrynet": "lbrynet stream list --page=1 --page_size=20", "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_list\", \"params\": {\"name\": [], \"claim_id\": [], \"is_spent\": false, \"page\": 1, \"page_size\": 20, \"resolve\": false, \"no_totals\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614621245,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"create\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"timestamp\": 1614621245,\n \"txid\": \"8a4d420155e617201e636f03c19df168d096581a74de18e2415e30c6375fd79d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"update\",\n \"confirmations\": 1,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": false,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 5,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614834157,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"create\",\n \"confirmations\": 2,\n \"height\": 213,\n \"is_internal_transfer\": false,\n \"is_my_input\": true,\n \"is_my_output\": true,\n \"is_spent\": true,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"timestamp\": 1614834157,\n \"txid\": \"86099bb8ccfa3045ce91b915e9f9af3ad4f490cacc8bb4883ff2f44f558034a3\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"page\": 1,\n \"page_size\": 20,\n \"total_items\": 2,\n \"total_pages\": 1\n }\n}" } ] }, @@ -4167,10 +4167,10 @@ "examples": [ { "title": "Update a stream claim to add channel", - "curl": "curl -d'{\"method\": \"stream_update\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream update 5f7e4f0837773cd64c14aae9da1059a9e8c7a277 --channel_id=\"942bc2b853470378853e73c4722201269f618ece\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_update\", \"params\": {\"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"942bc2b853470378853e73c4722201269f618ece\", \"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\": \"01000000029dd75f37c6305e41e218de741a5896d068f19dc1036f631e2017e65501424d8a000000006a4730440220077668aa82f61e2df362de3b6a5ecd0b1d0a9ddb2e95a8ed4926f536e0df03d602206935964b9436f1b038c717832800c199948f628b0e52d219f22904a84cb1a9d6012103f934fa4fa5a9819969ed6e0987db5b8fc57d359d7a53763126a9395ea1dc08bcffffffff9e18dc067a4f8210b14bf74a033e4bdc354fde46a99d52e36005714310da6922010000006a473044022049938e67e40806bba1effefff0e8680537146b80c168655d4a0c7f2617c2b7f402206f3b587930859ced5850528389d7d5fafecc202dc6b383e393404bb4f3422681012102a30a96ea9010d6834735555d68b602c001699392fe6fbed27ed0976fa02eddf3ffffffff0200e1f50500000000fd2301b7076173747265616d1477a2c7e8a95910dae9aa144cd63c7737084f7e5f4ce801ce8e619f26012272c4733e8578034753b8c22b9418d94ca2387f5531645f44705a49934b0e4ceba64273ebddcbbff00d37e9b8b56bc46d947d3f786e41749f5d09ecbfb1aef1e324c79fde54b9b91a0ff828089a0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d706763727a67723230180b22186170706c69636174696f6e2f6f637465742d73747265616d32301af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca1046d6d76a914715a892aa2d2409dd6c647c503841cf92c285ce588ac32a0d205000000001976a9144f2f413b19f84f3c2db0e888fd08e422ec8a4e0f88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"height\": 213,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"timestamp\": 1614621245,\n \"txid\": \"8a4d420155e617201e636f03c19df168d096581a74de18e2415e30c6375fd79d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n4hb1KtNvt52pFi7X9XFgYQag1tMWWg97m\",\n \"amount\": \"0.9772285\",\n \"confirmations\": 3,\n \"height\": 211,\n \"nout\": 1,\n \"timestamp\": 1614621244,\n \"txid\": \"2269da1043710560e3529da946de4f35dc4b3e034af74bb110824f7a06dc189e\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqrK7GZAE9RMLJpfDhvQfv9XqSKKoQCR47\",\n \"amount\": \"1.0\",\n \"claim_id\": \"5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\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#5f7e4f0837773cd64c14aae9da1059a9e8c7a277\",\n \"signing_channel\": {\n \"address\": \"mqTx28MmcwiLxKYPuEGpAXdjtC6uPdu2tA\",\n \"amount\": \"1.0\",\n \"claim_id\": \"942bc2b853470378853e73c4722201269f618ece\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#942bc2b853470378853e73c4722201269f618ece\",\n \"timestamp\": 1614621244,\n \"txid\": \"05e038dec9421a9a6a788540805d71c2470d0cc9824b694f06b9f94da62d5866\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004541f23cb0b104bd2ff32ebf89e0edab9cafcefc264288e3d11c303f8e15d72ac34d760b43f203ab48389b7b64c1d454523e15bf3bfe3949eedc6753aff986163\",\n \"public_key_id\": \"mqi4MbzKUPScWLPyjTUJUCWbZ6pbnDhp7Q\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpgcrzgr20\",\n \"sd_hash\": \"1af4c58c06882b85c7531066cfa9956b535f2e27cbbd41adfbb4ffea6f583e3a9b7914088ca22e6bf82e9163b1dca104\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mnjeHXi1dURHyaHrbHaKhG5oMLDomTibi7\",\n \"amount\": \"0.9768965\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000332\",\n \"total_input\": \"1.9772285\",\n \"total_output\": \"1.9768965\",\n \"txid\": \"8ec3faffaebae8ec0725ef07a3238274791042c0a79b50cf55467e1b18238314\"\n }\n}" + "curl": "curl -d'{\"method\": \"stream_update\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", + "lbrynet": "lbrynet stream update 8e1d6b1b4aabe90269528e6cd09ec6e67086aa27 --channel_id=\"b312a0c4eff10abe98542f99679ccddc20840daa\"", + "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_update\", \"params\": {\"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\", \"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\": \"0100000002a33480554ff4f23f88b48bccca90f4d43aaff9e915b991ce4530faccb89b0986000000006b483045022100b80e42a299c759608dacd13380954e9c48326ce7e902466f41c5085c958e9b03022044f9c067d9a517ff0d4f2b88444314a3b512059b751ed99a8ff86049299b40b801210273e915853a992843ce866bb86542bbd8f6bf2a6cd7bd1b40fcc62ebdca3d1033ffffffffe911a89c845125447dc59466b95ec591cbbe88c3df07507fe7a083ba713da08a010000006a47304402202372963cea95a69e89031f098557db31dd2cf4520df7fa0d15f5199cbb366bec022011497ee50c168a9e12666514e8387d57aad75ad51d461b38c9c466cb1e711eca012102719d4eb88793886a737557b637a2aca41df4de8d659874b10a70d10330861f96ffffffff0200e1f50500000000fd2301b7076173747265616d1427aa8670e6c69ed06c8e526902e9ab4a1b6b1d8e4ce801aa0d8420dccd9c67992f5498be0af1efc4a012b337f1ca30a5844b95623ce944a8279839e5111bc041faf55de4cd6452e2ff25ea6ad84a1e3c478596408f4342829ffaa690073dfbdf024eb5b4c12c2509ad72980a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70757975307138746a180b22186170706c69636174696f6e2f6f637465742d73747265616d32303da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d6d6d76a914fdde168e6017209da83a477c5a85acfded0a69c588ac32a0d205000000001976a91433591e859ffb16562cc9c35996794dc9d28f924188ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"claim_op\": \"create\",\n \"confirmations\": 1,\n \"height\": 213,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"timestamp\": 1614834157,\n \"txid\": \"86099bb8ccfa3045ce91b915e9f9af3ad4f490cacc8bb4883ff2f44f558034a3\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n4KmeHo7zQ59rjVxxzNv1tSA7g5w4yWqyk\",\n \"amount\": \"0.9772285\",\n \"confirmations\": 3,\n \"height\": 211,\n \"nout\": 1,\n \"timestamp\": 1614834156,\n \"txid\": \"8aa03d71ba83a0e77f5007dfc388becb91c55eb96694c57d442551849ca811e9\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"n4fHJYFChC7a9V7M9BjLsnyzsMj4p821u2\",\n \"amount\": \"1.0\",\n \"claim_id\": \"8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\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#8e1d6b1b4aabe90269528e6cd09ec6e67086aa27\",\n \"signing_channel\": {\n \"address\": \"mtcRw1f5eTuchnSTgvRMiBDJ97eQSeWRb3\",\n \"amount\": \"1.0\",\n \"claim_id\": \"b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"claim_op\": \"update\",\n \"confirmations\": 4,\n \"has_signing_key\": true,\n \"height\": 210,\n \"meta\": {},\n \"name\": \"@channel\",\n \"normalized_name\": \"@channel\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://@channel#b312a0c4eff10abe98542f99679ccddc20840daa\",\n \"timestamp\": 1614834156,\n \"txid\": \"51756a383ab1ba913f43442a9651231fb65761698666361f3203e4a43aa15fac\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a03420004822b2981f3e209733bab8625b24389d8c1dc9e18d6dab2eaff74977992dce4f0e884799d7eb928337595d7df1384f8851f5043e2d1532cd2a5f69a7e16797b5a\",\n \"public_key_id\": \"mzK5Y4GEhLT3bT6Xw4MDvEF2ve1BaNAtJt\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpuyu0q8tj\",\n \"sd_hash\": \"3da9fe6b3aee199c40a6307f293f9006690cc8bbe1c30dca591e7d09f39ec7d3a3443cb526f95da4f9b94915ec511f6d\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mkCTWx3KRynCmrb6MfUnS8T9dJn2nRuky8\",\n \"amount\": \"0.9768965\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000332\",\n \"total_input\": \"1.9772285\",\n \"total_output\": \"1.9768965\",\n \"txid\": \"040def12329d3b9002595f77a3bb87fd43f9c603595f0c7da3fa92582efde10d\"\n }\n}" } ] } @@ -4546,7 +4546,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\": \"2021-03-01 12:54\",\n \"fee\": \"-0.000124\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1614621244,\n \"txid\": \"2a59154c59f18f116cf1116b65a9e51bb11e95d01ad840d10210f139f4740ba6\",\n \"update_info\": [],\n \"value\": \"0.0\"\n },\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 7,\n \"date\": \"2021-03-01 12:54\",\n \"fee\": \"0.0\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1614621243,\n \"txid\": \"03718139d42f0288cc1b0404d27e909ee6411835031b8c74f5b975d780c32f97\",\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\": \"2021-03-04 00:02\",\n \"fee\": \"-0.000124\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1614834156,\n \"txid\": \"fa97d309280b2e779d0a4f7a0b3c5fa5586b8697d601e336e865517608e328a2\",\n \"update_info\": [],\n \"value\": \"0.0\"\n },\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 7,\n \"date\": \"2021-03-04 00:02\",\n \"fee\": \"0.0\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1614834155,\n \"txid\": \"8b61dc961c8511673209bdf4f974fdfcaf4d146dac70a82321c7a1193169334a\",\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}" } ] },