From 67a0d3e9268acbfd1c9ddc614abec324e1bdbf7b Mon Sep 17 00:00:00 2001 From: zeppi Date: Mon, 1 Mar 2021 12:54:09 -0500 Subject: [PATCH] update docs --- docs/api.json | 284 +++++++++++++++++++++++++++----------------------- 1 file changed, 153 insertions(+), 131 deletions(-) diff --git a/docs/api.json b/docs/api.json index 58030e052..c90e6c84b 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#341a9096806b69ab5904087fefb8e0709afa42c7\"}}' http://localhost:5279/", - "lbrynet": "lbrynet get astream#341a9096806b69ab5904087fefb8e0709afa42c7", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"get\", \"params\": {\"uri\": \"astream#341a9096806b69ab5904087fefb8e0709afa42c7\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1614617522,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmpvmqj47sc\",\n \"download_path\": \"/tmp/tmpvmqj47sc/tmprrtf_b1x\",\n \"file_name\": \"tmprrtf_b1x\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"6eff0b1b4c4e5f5dc1c293c8d3d5771b\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0126e8edf270d53abcccef05a2c089dc54d3622533abc062f1bceeb8c322c26423ded588879f34e5b62a7ead3fe139b02ff74a575746a592d87e666c0f654ef370ef921d8bd091aad5743760344f6b96f393ad406f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70727274665f623178180b22186170706c69636174696f6e2f6f637465742d73747265616d32307f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 0,\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"fe07a066484c5b68ed890991ddd802b86ab5e5b7974015b42c9e5f504c62c32476949dbeb4238265a859f98e84ac8e57\",\n \"stream_name\": \"tmprrtf_b1x\",\n \"streaming_url\": \"http://localhost:5280/stream/7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"suggested_file_name\": \"tmprrtf_b1x\",\n \"timestamp\": 1614617542,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"uploading_to_reflector\": false,\n \"written_bytes\": 11\n }\n}" + "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}" } ] }, @@ -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/tmpwpq12pq7\", \"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/tmpwpq12pq7", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"publish\", \"params\": {\"name\": \"a-new-stream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpwpq12pq7\", \"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\": \"010000000126114def7ea374eb56ab238032e9bd0b3d25a2c382dec6cef0eea595114a211a010000006a47304402202608c0da6108e3ce42595bfd1647f80ebcdb66a124552ed42a52f8197678374a0220180d537ce02f72f82a4a7085880d8e6507c377d037727c43f94a3db7dd8a0fcc012103720185cc6dc195862901cc02b4db3bdcf98eccbb4c12e2741ca5da82c1adc9d4ffffffff0200e1f50500000000bfb50c612d6e65772d73747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d707770713132707137180b22186170706c69636174696f6e2f6f637465742d73747265616d323078d5823519059bc44d713a40e9242537dde1f71738e01bf962485591fd7cf73f196819a3710b0e6321e75861b6653ac16d7576a91426e176dcd84d6b2eaadfd3e0f7694d2491df806a88ace0b46217000000001976a9146a0db11bf8c7d0c0ba2d672582c81acc63fbb72588ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mk2RafeFkcy6u2Jtwt2ZP9nxReTHWwdoPF\",\n \"amount\": \"4.947555\",\n \"confirmations\": 4,\n \"height\": 215,\n \"nout\": 1,\n \"timestamp\": 1614617542,\n \"txid\": \"1a214a1195a5eef0cec6de82c3a2253d0bbde9328023ab56eb74a37eef4d1126\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mj4Y4stof3Vw3itRb5e7M5cnt4L4haTPXe\",\n \"amount\": \"1.0\",\n \"claim_id\": \"255596b809bef7b546d329d19c7dc7b2a8d31f56\",\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#255596b809bef7b546d329d19c7dc7b2a8d31f56\",\n \"timestamp\": null,\n \"txid\": \"9931f0070ef4437e7816598e6362f0410f5d709931a43a4fe89420cc6d9d78d0\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmpwpq12pq7\",\n \"sd_hash\": \"78d5823519059bc44d713a40e9242537dde1f71738e01bf962485591fd7cf73f196819a3710b0e6321e75861b6653ac1\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqBiKiKk5YPqj8F7C72oUyY42mKpogVkZF\",\n \"amount\": \"3.923448\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"9931f0070ef4437e7816598e6362f0410f5d709931a43a4fe89420cc6d9d78d0\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.024107\",\n \"total_input\": \"4.947555\",\n \"total_output\": \"4.923448\",\n \"txid\": \"9931f0070ef4437e7816598e6362f0410f5d709931a43a4fe89420cc6d9d78d0\"\n }\n}" + "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}" } ] }, @@ -314,10 +314,10 @@ "examples": [ { "title": "Resolve a claim", - "curl": "curl -d'{\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#341a9096806b69ab5904087fefb8e0709afa42c7\"], \"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#341a9096806b69ab5904087fefb8e0709afa42c7", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"resolve\", \"params\": {\"urls\": [\"astream#341a9096806b69ab5904087fefb8e0709afa42c7\"], \"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#341a9096806b69ab5904087fefb8e0709afa42c7\": {\n \"address\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3/astream#3\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"claim_op\": \"update\",\n \"confirmations\": 3,\n \"height\": 214,\n \"is_channel_signature_valid\": true,\n \"meta\": {\n \"activation_height\": 213,\n \"creation_height\": 213,\n \"creation_timestamp\": 1614617542,\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"short_url\": \"lbry://astream#3\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"claim_op\": \"update\",\n \"confirmations\": 7,\n \"has_signing_key\": false,\n \"height\": 210,\n \"meta\": {\n \"activation_height\": 209,\n \"claims_in_channel\": 1,\n \"creation_height\": 209,\n \"creation_timestamp\": 1614617541,\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"short_url\": \"lbry://@channel#3\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614617542,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n }\n}" + "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}" } ] }, @@ -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\": \"4wRDyQFBkqHouUMmRjm6zpJuXrzcyhtrPno8CNEmHmqExRGhYznhSs1j1mEdiGpQ6n\",\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\": \"ab8b3dd792c56630eafd7756b563f22f64eea6e79a1baef40ec91454d43bd700\",\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.0\",\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.009983217001718003,\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\": \"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}" } ] }, @@ -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\": \"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.0\",\n \"os_release\": \"4.4.0-116-generic\",\n \"os_system\": \"Linux\",\n \"platform\": \"Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial\",\n \"processor\": \"x86_64\",\n \"python_version\": \"3.7.9\",\n \"version\": \"0.90.0\"\n }\n}" + "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}" } ] } @@ -415,10 +415,10 @@ "examples": [ { "title": "Add an account from seed", - "curl": "curl -d'{\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"tent thank common jar orange intact gown saddle leg employ machine display\", \"single_key\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet account add \"new account\" --seed=\"tent thank common jar orange intact gown saddle leg employ machine display\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_add\", \"params\": {\"account_name\": \"new account\", \"seed\": \"tent thank common jar orange intact gown saddle leg employ machine display\", \"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\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614617512,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPfNmpdoN2z4TKnTzmW57bPcQ2neS1yZtXV6iqBJoiYvqNfuRpgNtarFhjGExg9X7hZ41QYyLSPB7jHXYcH177AWtyU4FnfJA\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YqocXT2dPU7SMVWhfQJVxuzp5AUKPqgvKaybohdJjRTEr2vL4Pj8EsKJvMtgjwyCLfMkDUtnmyno4iCN63hxYgzSeocXH6i\",\n \"seed\": \"tent thank common jar orange intact gown saddle leg employ machine display\"\n }\n}" + "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}" } ] }, @@ -456,9 +456,9 @@ }, { "title": "Get balance for specific account by id", - "curl": "curl -d'{\"method\": \"account_balance\", \"params\": {\"account_id\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\"}}' http://localhost:5279/", - "lbrynet": "lbrynet account balance \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_balance\", \"params\": {\"account_id\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\"}}).json()", + "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()", "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\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614617512,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPfNmpdoN2z4TKnTzmW57bPcQ2neS1yZtXV6iqBJoiYvqNfuRpgNtarFhjGExg9X7hZ41QYyLSPB7jHXYcH177AWtyU4FnfJA\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YqocXT2dPU7SMVWhfQJVxuzp5AUKPqgvKaybohdJjRTEr2vL4Pj8EsKJvMtgjwyCLfMkDUtnmyno4iCN63hxYgzSeocXH6i\",\n \"seed\": \"tent thank common jar orange intact gown saddle leg employ machine display\"\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\": \"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}" } ] }, @@ -548,24 +548,24 @@ "examples": [ { "title": "Transfer 2 LBC from default account to specific account", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --to_account=\"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\" --amount=2.0 --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"amount\": \"2.0\", \"everything\": false, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"010000000132d41cef83b442d5c02a52d7cc5c665d5babec7960fcaa9a55e6b758a5703b87010000006a47304402204986397b5511342d8598928d402d627c4d15b99758450525b5cf741ca5ed350902200e7f0423dd3054fbbd27544cc1ae346bb4f5efcf30484c780211599dca31f7230121022154229f407e3da7d9bf1212300b2d90acb2bebde8b12f3629d4eec7ae1fe4cbffffffff0200c2eb0b000000001976a91454fd7ae647c068ffca64fd4fff1b270dd904d2ad88ac90d7ae2f000000001976a914e27e2421b53ce41d24f6efd71a54b0d71a05b5d388ac00000000\",\n \"inputs\": [\n {\n \"address\": \"miYuQdLrSY52eRscMfQAM3u9efQiFHHXZi\",\n \"amount\": \"10.0\",\n \"confirmations\": 6,\n \"height\": 201,\n \"nout\": 1,\n \"timestamp\": 1614617540,\n \"txid\": \"873b70a558b7e6559aaafc6079ecab5b5d665cccd7522ac0d542b483ef1cd432\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"moGLiGk4e9SE6zgkpbhhTWXYRVVd6kuFrN\",\n \"amount\": \"2.0\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"9570bcfb35dd97e988255385bd35c6bfe61283158994127297158f893f9e320d\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"n2AY7r7wjQkBi9i2HKRTbGExcqSZTF9iBP\",\n \"amount\": \"7.999876\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"9570bcfb35dd97e988255385bd35c6bfe61283158994127297158f893f9e320d\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000124\",\n \"total_input\": \"10.0\",\n \"total_output\": \"9.999876\",\n \"txid\": \"9570bcfb35dd97e988255385bd35c6bfe61283158994127297158f893f9e320d\"\n }\n}" + "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}" }, { "title": "Spread LBC between multiple addresses", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"to_account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"from_account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --to_account=\"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\" --from_account=\"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\" --amount=1.5 --outputs=2 --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"to_account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"from_account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"amount\": \"1.5\", \"everything\": false, \"outputs\": 2, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000010d329e3f898f159772129489158312e6bfc635bd85532588e997dd35fbbc7095000000006a4730440220596d2cbbb7786fe4e556c3d14ca93069d6a492c59829a738474dc69cb8b58e3502207089bbce446338804ff01b2f66311ab04d30de656cc52122de4ff379ad588d7701210272fc0810486dd320c64cfb506892385f55c1be3830c90d4baf48493ab5b2c002ffffffff03c0687804000000001976a914155c1bd44dec6ebad3419355d039f576993f31b488acc0687804000000001976a914155c1bd44dec6ebad3419355d039f576993f31b488ac6cb9fa02000000001976a9148b376da42a9be7bc85eb59be0d7304f662350e1c88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"moGLiGk4e9SE6zgkpbhhTWXYRVVd6kuFrN\",\n \"amount\": \"2.0\",\n \"confirmations\": 1,\n \"height\": 207,\n \"nout\": 0,\n \"timestamp\": 1614617541,\n \"txid\": \"9570bcfb35dd97e988255385bd35c6bfe61283158994127297158f893f9e320d\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mhTtpubn1QZAhxTYnxmyGrVxBdmbJqfyXy\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"b943413bcedd608e9247ebfede264748d1a15d52fb78c976419951c135ccdc5a\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mhTtpubn1QZAhxTYnxmyGrVxBdmbJqfyXy\",\n \"amount\": \"0.75\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"b943413bcedd608e9247ebfede264748d1a15d52fb78c976419951c135ccdc5a\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mtD4cwfVV1rE9StEYmvwB7iA6wAxEktp4j\",\n \"amount\": \"0.499859\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 2,\n \"timestamp\": null,\n \"txid\": \"b943413bcedd608e9247ebfede264748d1a15d52fb78c976419951c135ccdc5a\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000141\",\n \"total_input\": \"2.0\",\n \"total_output\": \"1.999859\",\n \"txid\": \"b943413bcedd608e9247ebfede264748d1a15d52fb78c976419951c135ccdc5a\"\n }\n}" + "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}" }, { "title": "Transfer all LBC to a specified account", - "curl": "curl -d'{\"method\": \"account_fund\", \"params\": {\"from_account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"everything\": true, \"broadcast\": true}}' http://localhost:5279/", - "lbrynet": "lbrynet account fund --from_account=\"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\" --everything --broadcast", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_fund\", \"params\": {\"from_account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"everything\": true, \"broadcast\": true}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000035adccc35c151994176c978fb525da1d1484726defeeb47928e60ddce3b4143b9000000006a47304402207892b6aaffbaefbf40531d03c5a9b511878a59e4441471f45a587a3c798c1cc102204894e9d9997069e62f133e38ad5b441e01028dbbfa3d9178c5d79a39434138290121024bfc784c77b9b5c424e15913a4d4f3d8538b6da71b666916412f70b304f85ac1ffffffff5adccc35c151994176c978fb525da1d1484726defeeb47928e60ddce3b4143b9010000006a473044022050b62c6003325766024e2e3caf381eedaa5c9fb59352bb522948fb980b5ab40b02205765cdb8234805c52599729e2b65309c8a9b0e0fac45da36b2d42c9b306be6ba0121024bfc784c77b9b5c424e15913a4d4f3d8538b6da71b666916412f70b304f85ac1ffffffff5adccc35c151994176c978fb525da1d1484726defeeb47928e60ddce3b4143b9020000006a47304402203530e0b1af549313bf712079f0377c84bff41ed4dc3fa69f1684c25a4dc7777902206ded78228103e93902967f4a99bb1cade9131943df04d8fe30e84c2d9d3de6b9012102831272e46298d6dfed2c5e529f9d6894ab283561e60014513681bd9d76674719ffffffff015027eb0b000000001976a91404c1edc3789904c0bbf3fcaa95df0451ffe8ac3388ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mhTtpubn1QZAhxTYnxmyGrVxBdmbJqfyXy\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 0,\n \"timestamp\": 1614617541,\n \"txid\": \"b943413bcedd608e9247ebfede264748d1a15d52fb78c976419951c135ccdc5a\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mhTtpubn1QZAhxTYnxmyGrVxBdmbJqfyXy\",\n \"amount\": \"0.75\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 1,\n \"timestamp\": 1614617541,\n \"txid\": \"b943413bcedd608e9247ebfede264748d1a15d52fb78c976419951c135ccdc5a\",\n \"type\": \"payment\"\n },\n {\n \"address\": \"mtD4cwfVV1rE9StEYmvwB7iA6wAxEktp4j\",\n \"amount\": \"0.499859\",\n \"confirmations\": 1,\n \"height\": 208,\n \"nout\": 2,\n \"timestamp\": 1614617541,\n \"txid\": \"b943413bcedd608e9247ebfede264748d1a15d52fb78c976419951c135ccdc5a\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mfx7KEBWyBYeJNBnLpfQUvz3MJQgfhgpK4\",\n \"amount\": \"1.999604\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"9bd18930dad54b06895ae9562b5daf0a56b8a57de63e6f7e6ea6f73e457881e7\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000255\",\n \"total_input\": \"1.999859\",\n \"total_output\": \"1.999604\",\n \"txid\": \"9bd18930dad54b06895ae9562b5daf0a56b8a57de63e6f7e6ea6f73e457881e7\"\n }\n}" + "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}" } ] }, @@ -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\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"is_default\": true,\n \"ledger\": \"lbc_regtest\",\n \"name\": \"Account #moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"public_key\": \"tpubD6NzVbkrYhZ4Yb4yA32NnmtemPgx44k4uPrhwheckV8v8187ekKvvQCRcFe92srG96sDAuhnNE1ouakm5pSrLLHb4DE7uiZ4LrauuLJbmk3\",\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\": \"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}" } ] }, @@ -668,10 +668,10 @@ "examples": [ { "title": "Remove an account", - "curl": "curl -d'{\"method\": \"account_remove\", \"params\": {\"account_id\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\"}}' http://localhost:5279/", - "lbrynet": "lbrynet account remove mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_remove\", \"params\": {\"account_id\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\"}}).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\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614617512,\n \"name\": \"generated account\",\n \"private_key\": \"tprv8ZgxMBicQKsPfNmpdoN2z4TKnTzmW57bPcQ2neS1yZtXV6iqBJoiYvqNfuRpgNtarFhjGExg9X7hZ41QYyLSPB7jHXYcH177AWtyU4FnfJA\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YqocXT2dPU7SMVWhfQJVxuzp5AUKPqgvKaybohdJjRTEr2vL4Pj8EsKJvMtgjwyCLfMkDUtnmyno4iCN63hxYgzSeocXH6i\",\n \"seed\": \"tent thank common jar orange intact gown saddle leg employ machine display\"\n }\n}" + "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}" } ] }, @@ -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\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"default\": false, \"change_max_uses\": 10}}' http://localhost:5279/", - "lbrynet": "lbrynet account set mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo --change_max_uses=10", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"account_set\", \"params\": {\"account_id\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\", \"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\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"is_default\": false,\n \"ledger\": \"lbc_regtest\",\n \"modified_on\": 1614617512,\n \"name\": \"new account\",\n \"private_key\": \"tprv8ZgxMBicQKsPfNmpdoN2z4TKnTzmW57bPcQ2neS1yZtXV6iqBJoiYvqNfuRpgNtarFhjGExg9X7hZ41QYyLSPB7jHXYcH177AWtyU4FnfJA\",\n \"public_key\": \"tpubD6NzVbkrYhZ4YqocXT2dPU7SMVWhfQJVxuzp5AUKPqgvKaybohdJjRTEr2vL4Pj8EsKJvMtgjwyCLfMkDUtnmyno4iCN63hxYgzSeocXH6i\",\n \"seed\": \"tent thank common jar orange intact gown saddle leg employ machine display\"\n }\n}" + "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}" } ] } @@ -803,9 +803,9 @@ "examples": [ { "title": "Check if address is mine", - "curl": "curl -d'{\"method\": \"address_is_mine\", \"params\": {\"address\": \"mtvCXEsGA2q58oQguPN6UX4yW6G2siM7gP\"}}' http://localhost:5279/", - "lbrynet": "lbrynet address is_mine mtvCXEsGA2q58oQguPN6UX4yW6G2siM7gP", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_is_mine\", \"params\": {\"address\": \"mtvCXEsGA2q58oQguPN6UX4yW6G2siM7gP\"}}).json()", + "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()", "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\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mhD6W7FXxoQNTAAFb6bECZF5X4wZLqmA8L\",\n \"pubkey\": \"tpubDA9GDAntyJu4SuhChfFCCfu8Tc3MAn6obZhQfy9a12gbDF4p5ubnw2UEX14JdJ9v7Vyo33h8kXSXxz9aUVP4wYBrZmHL1SZhSZg6yC2KZGf\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"pubkey\": \"tpubDA9GDAntyJu4k19VpZ7D1hQ6T9CZa9YkyZGY1o8SzNsuq2rrD53fAHTxeoyeF3ZzNJ5V53yfURtVNW58tVJDqkxF7WnVzDKBkoGksva9BsF\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"miPM5b4GHqaWFNBETw7Am9C8p5zcSRAcxg\",\n \"pubkey\": \"tpubDA9GDAntyJu4wKW6x4o9id6ZkawXDGobFKDJZsg4pRCym7Ej9CC8LXUPetQEF7EEVq6Gv5rCLN3jmn2S1LPohEixLAwSQd8gYznMwQTdw97\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"miYuQdLrSY52eRscMfQAM3u9efQiFHHXZi\",\n \"pubkey\": \"tpubDA9GDAntyJu4ELSuUmgxbxBkqoZaq9F3bCLGsa7YDZpyg6HeYacXV3S7r5QnryvJM75UHPfzhyhU3bagYdxUA94BoM6xZwXp19eTRkNMh6c\",\n \"used_times\": 1\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mj4Y4stof3Vw3itRb5e7M5cnt4L4haTPXe\",\n \"pubkey\": \"tpubDA9GDAntyJu4Yo3GeXGEGuUu51akjsA2riNMv211bdZxGryBgPL4rTmtDbs6bfcD3cA5WKuKFYWsYobqJbTxdSBp4Vcn2Pz627SUkcTNY3Q\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mjKVfMRwZAHrPeBX99sMCBi1WZuMFSuqop\",\n \"pubkey\": \"tpubDA9GDAntyJu4Jq1kVfkxbyBKgzHzWvySYNXzdhSKauphenfgoJ14gMCnHb9cuBVdEeSuxMAj195ndYTuXkv7jcUfjn3P2PKNRTN8N8fRi4z\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mjY6uqFkdGDNQtDyKHn8fE7bY7QiqahBQY\",\n \"pubkey\": \"tpubDA9GDAntyJu4XXeFNCkHEcJsukQ1YMMLL7SpBooYmtkPqG29kCUiQfZse63S6bRLgm1K1CghiwYobxH5uHoDwsQqbZvHHDWVnAVdoKzm7e4\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mkETCup9SZQYbmUGDSECiVX7xRRLcjBUNu\",\n \"pubkey\": \"tpubDA9GDAntyJu4TcEuU41ZXAiKZUnrseTiDgVEg7qZre26EBMf6M65YpeoL2fsXZEHy6ewzMwbS2cxijzmm6cNsntsb5Ue4iGTae8c7bMzgdy\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mnvSyH1YWMVpFwG4tWt6okP2XE6NF5GULH\",\n \"pubkey\": \"tpubDA9GDAntyJu4rENx71GqeCrPZ3mP5z7cGoXo8DFm5KbG5KKyqb5PZa9TLFnYWzThSX7X92wjWx3xb7P7MFdwVc5kZag7tuTTpQW4wxmV41W\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mpi13upmq2FsTD5BWZnf3GcEsdwKVbxNTV\",\n \"pubkey\": \"tpubDA9GDAntyJu4FxSPi6nLjgV896EbDYa7yk7ay1Kqqmxv1kfsKWWzXrvHqqVBTyCrfgjv372RHSZvugXyVmK2VXawnL1jPuiLmUuqrXQtSa2\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"pubkey\": \"tpubDA9GDAntyJu4bc67KJ1r71QFytM8n2xHn672qiVmh74TjjHNuc9PkJxpYQuiZuPdQ59uEk5cq3rWZG6dpUfqQdqeKgXNEm8W88zdMZGTzyr\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mrhWsEWjXLCpSRBKrwoKCGk3iUDFt28bgH\",\n \"pubkey\": \"tpubDA9GDAntyJu4HUXKDLzqShSRCZh9a4qLHoV42gJEL5VpGjcTuwfd68CyHaQH4zPQQB67qJBrRjezCoDeuaK9f5DzjbHwkUBh4av2MFmaR3j\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mrvwv7dcS2dQ8M6L4F4DfBqu7u4pqqeSSg\",\n \"pubkey\": \"tpubDA9GDAntyJu4QTPfnXHtKodUK19jFedUeAP11KPJ2k7TU9hRMy39wdmFaeQjTL19VE3Y1ffYv3a5e1TdndWv8KQKDshqET97vAmEQaY2ajD\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mrxKxB7oSggczKX3n4nhJnE6CKuNQTPzuu\",\n \"pubkey\": \"tpubDA9GDAntyJu55N37r4ihdDzcuuzFhKRG6XjGabXkHidZQa6vcLYiEgaMBkDqspBba4zEYyVWpNBzko2a81rEhbzokKRNd4zmrgfjBRa8Pa8\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"msdoyVSK5w4ogmqN8sK9gTduSXiUTkAgbW\",\n \"pubkey\": \"tpubDA9GDAntyJu51npWkF9cdbhsLKUsoJSeV4kSTnfXuqpGkwKnyuCgvoYeKfvU6CqjFJP7TrMvsbouCypGbjGNtTuWFUaTYeavwheK4MBb98n\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mt6oz3ZNkLvXMBHN5yES4qtXU2mBSnWa7X\",\n \"pubkey\": \"tpubDA9GDAntyJu4MrZgsbFEFciNRCGBoEfpj9VWopzZUFKBPMSRkWQLBi82mmGzfJC5e1QEbLUo5szrDmH14S6XTycbWuE43dimvR3R8uWCXr9\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mtvCXEsGA2q58oQguPN6UX4yW6G2siM7gP\",\n \"pubkey\": \"tpubDA9GDAntyJu4hgddJnC3kgL6pUeE4WB43XkER6uvMGpvKpzqDVR8NiDJXGYinLKnFraJ6ufpB5ELGq1PCemxUSWPfSAAb7ZQD1eDCxy2BXs\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mvth9MSBJwTbRTV1dQbM9cmLTPBWv6SW3v\",\n \"pubkey\": \"tpubDA9GDAntyJu4cuQS8Mq8rm7fF2AoqPyNMRUmLMMjJDbFAp2n3uHskH1wuhYHVhDAPsuPh4jc2qUEBfnUM1V5a1kmbFP2CuB9qMcU9cmWR2P\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"my9PPgEuhwsc6HrwYaiQyMtakrMgEw2311\",\n \"pubkey\": \"tpubDA9GDAntyJu4piS83ZyWiC5cNJqPD633FZdKfgwRzaaAsRnQyA3YEUZWif9VND1PnEi88MGtYWjb4chf2KkJARtEcEE3gMCQiv1Z7zjpEpn\",\n \"used_times\": 0\n },\n {\n \"account\": \"moetGm9Nacy2cehxsaXyN1yknhMRmbigia\",\n \"address\": \"mzJvjbvYeS78RPEwqhHXuKbcEHanprotbW\",\n \"pubkey\": \"tpubDA9GDAntyJu4tpL9WUsK4xW5obGNBhppDGmnDBb3SMWTtDf14mcKKAwUnEuNQTHsMRMezqPza4db221ajzqF5nAEXiJEHT4M5TDoyhrDvAd\",\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\": \"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}" }, { "title": "List addresses in specified account", - "curl": "curl -d'{\"method\": \"address_list\", \"params\": {\"account_id\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\"}}' http://localhost:5279/", - "lbrynet": "lbrynet address list --account_id=\"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"address_list\", \"params\": {\"account_id\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"items\": [\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mg5pjFcqNgssvvARZ45TQ6fQKtrmxKTujz\",\n \"pubkey\": \"tpubDA9GDAntyJu4w8rpMBzhbP64GQmTDJL56f724zpR1813PC1qHnysvWiSKT45oQexCuKGGVBhfRoumTwPTFuHCJz4nVqLb6Q1GgL1Xdmrx6P\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mgZQuMVDZ2TjEBtejxKRhYVKGH3JBN9i4E\",\n \"pubkey\": \"tpubDA9GDAntyJu4Jm8h7JifKMPwufPCQSPCeRZpx2mpDa3CyMmRqoPqVRyGysMdMkpsuxGne8GgYHdowVQNXDvjX8p4zcD4ZBWcPirqKDduRyb\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mgoD77f4yRbV56JKCJjFU5n9KxE4W54kK6\",\n \"pubkey\": \"tpubDA9GDAntyJu4fJgxTkg18kXpd7aDzx4C2tnNwjADn9snhgLL7HtuBxBomTZUaGiZrV782oEWB9EidRMNK3PvBEHdWdq7sZ9SjmgWGGHYbka\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mj2bt9Nxtp6cTu21KPy7fQaSdmQYhoLyoA\",\n \"pubkey\": \"tpubDA9GDAntyJu4tBJXe2jh4eZ9xLmFFfq5DsNYVeHANyWEgo97JEzb2eJMUdwCJ7YQRR1FEvE7xQMhNC4KGZterMTFhyTbrj3Wdix1mx5U2dF\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mjNfwntKeDUGrs2EM1JtdrmVANy5Rchbye\",\n \"pubkey\": \"tpubDA9GDAntyJu53ALJmpgjSp6MnbavYuTkYVPk2qjq1VdRDBG7vFgZiRJhyhMMWRcqCMi6vzBzPiZicHT4B3rfsR8HAMYgwZjhArzJjj8acRQ\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mkuASEDuxGxmuLTkHKaJVSQGAshuFRpn6P\",\n \"pubkey\": \"tpubDA9GDAntyJu4ix13QzDXUthWPWkwBFsZygvqt1xgveBHkEZvKJjt8oQ8iKezXimqhurnQjFXFAmEY39zyMU5L7G19HVrM9ZLZTGgThqc4k7\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mmmDGK34t5hToNVWdd1Ck8FRMZCTS4mQgh\",\n \"pubkey\": \"tpubDA9GDAntyJu4YXksLDJcZ1bbMnTeRCwAyZPVCaYiaaXzDeCPTg2BowaTHviWfvx4AfwWACpHRQfgZybLE3hjqJkxxfdaJjYbLnXLzYatj1t\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mnVBUd9GzaTfWhEXfBoVUNhLtH6creMb4x\",\n \"pubkey\": \"tpubDA9GDAntyJu4FmRoSyap2bxwmn3eu2awUo1tnwhztai5Xj2qxiGw6mbY2334PQhHhvvE4i2AxTn8erxiTH1KVuq3hrrGK3wnFvUT6vER4p1\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mnzyt2PiwXgWkqRN932o3ZF3Mv8ViYxopT\",\n \"pubkey\": \"tpubDA9GDAntyJu4KC1e6MCzkTb5SZxY1LhkCZGL6Zik4TgwM4kb4ocGEgVGtVxGjHB3BCh4NgmjnmAdv3vd3WfSJUURZPMM5Tc5zLPh9zAuk5B\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"moGLiGk4e9SE6zgkpbhhTWXYRVVd6kuFrN\",\n \"pubkey\": \"tpubDA9GDAntyJu4TxctXitMPVrMkoo5BaZis6DVUwk2ebrXEg4XzcxCzoYDX6cMZTmwcaA9PQJ1uVeAmqAx44L6mcFDaYDTkcmQ6GetnxyXi8R\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mpCF6t8AkRrYe6yoLUkRSmVPRudBwe3PHY\",\n \"pubkey\": \"tpubDA9GDAntyJu4n3xyT1WEujW7NAx7DM3DnvoUiSd1bgnrmu9Q6QKo9apagiGdHXpm79FybNVAwdNm6sSK38VMxc7MrxSvgVHgZceiQv9eg1h\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mpQYyuTDSYKShf3wFgXK7AepZ4NW3ZBWCT\",\n \"pubkey\": \"tpubDA9GDAntyJu4QjFxxzvT9zwFaDgqWMQvMtfwfVC36wbED7T8kzihmxZjbQvS6iDcaMWDFcVLjPnbHE8yucvZryt7eRQMHGK8gYwo9fcdQyB\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mqZQYYsrP7mdBG3HnR2j3L3Eih8YA5aN2S\",\n \"pubkey\": \"tpubDA9GDAntyJu4XiR3MqBPAwGF9yivZd17KhDacr3cCY8YxSd2AxTanzpanYXfB64oEnDrRzJGr3e4D5ozVXBJRFjTQhQo9dCWg4e2LKeWzPd\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"ms6LogwYxDCEgDnaEpx26NWyeobTt16Lpn\",\n \"pubkey\": \"tpubDA9GDAntyJu4TFoLt9SGw9AN98UcNv92VrrVhvR2tkWim1QWG8GSzsfDXE9tb6kMmYAkLuLf2J7dEw37D7hsZCbXSGbcZGV9nzWqZUARHHh\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"msTLNz1a553EwTdyU4KpaYEDt45JUo6oak\",\n \"pubkey\": \"tpubDA9GDAntyJu4Ec7oddukLdLNHRq2t3K19TGNHUbyPDspWP2TFsW2dE2A5X9mpKuT8db57C299iY5xhdRAMYaLrnwowmzytepDiQ3CthuPxN\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mtD4cwfVV1rE9StEYmvwB7iA6wAxEktp4j\",\n \"pubkey\": \"tpubDA9GDAntyJu4HdgwssdTMN48zmqPod81562vS8mxmD1eUMEvdMz87aCnUnScropSBTiY7eVQHy1t67dt1eMrAzV4YPe8Dafce3yaCMGFzBq\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mtXgHzQaMNbMKN1QqNLJbht9E3MCrL2BBA\",\n \"pubkey\": \"tpubDA9GDAntyJu4N3NKfTpKEKgFj98W6cq6cVWN214pahgy72b27B5or1KecQWWPAj7ZETTupKbWRmXZEcebzS4BEVBVTow9WgBXM3jHULtR3z\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mthAWG6tTNkCHyVt3NuYECR4mXjXiDF6CY\",\n \"pubkey\": \"tpubDA9GDAntyJu4oh8n8wZ6Yq3KSBtHpM35QGDkXm3ZmdLJ3mukumMAwbf6dDyDNLMDr1WE1xWm31ZxVnwPbev7JBb1YEB5FmraZ7zW7Eb5fC7\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mxLF4GP3pZTffLmb6sYtv71X7nsDsdid86\",\n \"pubkey\": \"tpubDA9GDAntyJu4RRjmun7Nq7FqkuD2HqGhE4ChMYWW8E5Lgnsg8YSwtG8doGmsutt7iMU6dwCpimapiLtTV6S9qUGzfhJXBp8e6aMsLyDShAh\",\n \"used_times\": 0\n },\n {\n \"account\": \"mrGeWaNtsACvfSZBAaDk5CuEporjwGKERo\",\n \"address\": \"mxNnGFGiYZUEYc4L6EuzHwDabebPvE4GLh\",\n \"pubkey\": \"tpubDA9GDAntyJu4NikNqpYxNJHeNkTNyUjpdRovocNZTs62suWT7B79RYCJQ2yw7xTyowGeyQffj29po72byin9KfFqtkrh2MvCDUqspRs4Q9t\",\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\": \"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}" } ] }, @@ -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\": \"mtvCXEsGA2q58oQguPN6UX4yW6G2siM7gP\"\n}" + "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"mrFioSBxaQpS9oRvgqFVRMSZvqokNVkQmi\"\n}" } ] } @@ -937,10 +937,10 @@ "examples": [ { "title": "Delete a blob", - "curl": "curl -d'{\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c\"}}' http://localhost:5279/", - "lbrynet": "lbrynet blob delete 467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"blob_delete\", \"params\": {\"blob_hash\": \"467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": \"Deleted 467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c\"\n}" + "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}" } ] }, @@ -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 \"467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c\",\n \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"58961338efd8c9625c707d56910cc253284c2735086ed4b390f35d6ea6e14a53ffa828098bb48b1b64170570f4944705\",\n \"c02f2789d2981f4b0060a0dd07701a483911d63174d2b4176b9f5b57f15f07f5503ef75969cab58b9900cb423fd05871\"\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 \"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}" } ] }, @@ -1099,10 +1099,10 @@ "examples": [ { "title": "Abandon a channel claim", - "curl": "curl -d'{\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet channel abandon 332562d354dc89c0a205efccbc3ad570f2ede826", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_abandon\", \"params\": {\"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\", \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001e682ae85e925c6d1c74e5d820f54a64810e6aa68fad4794bece7f32c05c848a3000000006a4730440220609a1a05c47403eb0d276b89d18816dcb9d5236b2f3585cf22994c68926c8e3b02206091265a8a026800309cc8430b3d2af2c8397c98cd0b831f907e5f8bff80bdb9012103a94ce99ae89da7d9fec0101eb9f86abb863499216cbd68e7a9fc50dc6622a859ffffffff0134b7f505000000001976a9149c1d0ab10b29aa2d2ddae2239c2e3d0c8bf1507b88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mukQVqUvP1VA8DbtU4dZQhRX7mCtBmj3LF\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"b8ec0ec3f940e1123ef4b9d80eb0becc2770e6c866fa4038638931327d860c6d\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"b8ec0ec3f940e1123ef4b9d80eb0becc2770e6c866fa4038638931327d860c6d\"\n }\n}" + "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}" } ] }, @@ -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\": \"01000000010d329e3f898f159772129489158312e6bfc635bd85532588e997dd35fbbc7095010000006a47304402204133c0dbf88df2176f218c8f5c0bbc29c245f6aa1eb3cbb0a9c07adb97072ac8022008ed9cc77285474dd26e5f3d327e2a69bf7fbbe3deb0509423243bb16d80bd01012103cf51878980112651725133ef58ce4835e2249613b4c19468fb8f5561471efc72ffffffff0200e1f5050000000084b508406368616e6e656c4c5d00125a0a583056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad6d7576a9147135b5501344722770c0120a98c62c40957eb02588acc462a029000000001976a91403b939fd79e17bb4f68f28aca3575960bfbc984188ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n2AY7r7wjQkBi9i2HKRTbGExcqSZTF9iBP\",\n \"amount\": \"7.999876\",\n \"confirmations\": 2,\n \"height\": 207,\n \"nout\": 1,\n \"timestamp\": 1614617541,\n \"txid\": \"9570bcfb35dd97e988255385bd35c6bfe61283158994127297158f893f9e320d\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": null,\n \"txid\": \"cb7e0ece2b7f0321b38252d36a1124ec5f40bd1a5457b635530502eef2132520\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mfreDPojuipR176hD2AURDizEw9VjPPRqw\",\n \"amount\": \"6.983769\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"cb7e0ece2b7f0321b38252d36a1124ec5f40bd1a5457b635530502eef2132520\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.016107\",\n \"total_input\": \"7.999876\",\n \"total_output\": \"7.983769\",\n \"txid\": \"cb7e0ece2b7f0321b38252d36a1124ec5f40bd1a5457b635530502eef2132520\"\n }\n}" + "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}" }, { "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\": \"0100000001e682ae85e925c6d1c74e5d820f54a64810e6aa68fad4794bece7f32c05c848a3010000006b483045022100aa8515f49dd1e553ba6e52c9a9c8f1d8eb9769473b02aa16582d3a431f477de202205ce2ad416127653eab5cb07a2fa601962370764edc7a56d8d090fd7a6b1f4d10012103853589bae237270c466d13b1c0bd7e478c5fa71dfe1a0b906c719c03bb4906bcffffffff0200e1f50500000000fd5001b50b406269676368616e6e656c4d25010012ab010a583056301006072a8648ce3d020106052b8104000a034200040ca6a45b0900052e3672c72828a611bd19e385636d0d99e3de8ede122b38d87f41a44806d827e7a5195b794b186e78689d364504a40e8829e9ffee254ef437c1121663726561746f7240736d616c6c6d656469612e636f6d1a15687474703a2f2f736d616c6c6d656469612e636f6d22202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a7067420b426967204368616e6e656c4a1e41206368616e6e656c2077697468206c6f7473206f6620766964656f732e52202a1e687474703a2f2f736d616c6c6d656469612e636f6d2f6c6f676f2e6a70675a056d757369635a0361727462050883011820620308ab016a0208206a0908e9011a044b6979766d7576a9147d330d0b2f87042e0651807d567480860cb0274288ace221d305000000001976a91464d002242579ea9f4498813560365770900a6aea88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mhNq64YUeZbSgDzyK5gYv8TmsfVZS6yKxk\",\n \"amount\": \"1.9993355\",\n \"confirmations\": 1,\n \"height\": 210,\n \"nout\": 1,\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mrvwv7dcS2dQ8M6L4F4DfBqu7u4pqqeSSg\",\n \"amount\": \"1.0\",\n \"claim_id\": \"ad88c3c7ab2c163e55a61e0801cbf9a843eaaf58\",\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#ad88c3c7ab2c163e55a61e0801cbf9a843eaaf58\",\n \"timestamp\": null,\n \"txid\": \"e50a1080b8a8b9b9330a0fdc52259061fdb36857e7b2ee6e2af672ab129a8344\",\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\": \"3056301006072a8648ce3d020106052b8104000a034200040ca6a45b0900052e3672c72828a611bd19e385636d0d99e3de8ede122b38d87f41a44806d827e7a5195b794b186e78689d364504a40e8829e9ffee254ef437c1\",\n \"public_key_id\": \"mjYtgBDpAVvn3P1zUYPGPELvcdTHZNLonv\",\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\": \"mpi13upmq2FsTD5BWZnf3GcEsdwKVbxNTV\",\n \"amount\": \"0.9772285\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"e50a1080b8a8b9b9330a0fdc52259061fdb36857e7b2ee6e2af672ab129a8344\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"1.9993355\",\n \"total_output\": \"1.9772285\",\n \"txid\": \"e50a1080b8a8b9b9330a0fdc52259061fdb36857e7b2ee6e2af672ab129a8344\"\n }\n}" + "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}" } ] }, @@ -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\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"cb7e0ece2b7f0321b38252d36a1124ec5f40bd1a5457b635530502eef2132520\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\"\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\": \"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}" }, { "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\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"cb7e0ece2b7f0321b38252d36a1124ec5f40bd1a5457b635530502eef2132520\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\"\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\": \"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}" } ] }, @@ -1563,10 +1563,10 @@ "examples": [ { "title": "Update a channel claim", - "curl": "curl -d'{\"method\": \"channel_update\", \"params\": {\"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\", \"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 332562d354dc89c0a205efccbc3ad570f2ede826 --title=\"New Channel\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"channel_update\", \"params\": {\"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\", \"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\": \"0100000002202513f2ee02055335b657541abd405fec24116ad35282b321037f2bce0e7ecb000000006b483045022100dbc735f2eca61cb3289ad87ed1850c4f1c8890e6f41102d8d82e51a3f2082d7102202e26ec245dbee5c8d3fa614087ad21915eb5d4315e27fee18d439b27f81e87b4012103a94ce99ae89da7d9fec0101eb9f86abb863499216cbd68e7a9fc50dc6622a859ffffffffe78178453ef7a66e7e6f3ee67da5b8560aaf5d2b56e95a89064bd5da3089d19b000000006b483045022100960a7c311b679f53c84ab5bbafa0ea7e6dec983ee0b5b312c2a291d0f96a270d022001c1eea2cb4ab68d33e4b3bd0a9a87469ab58c62b8ff6065af02cc2619c507b2012103c0cae933d66cb23f634b37722b7de1e692a0111baa0eb76fd5fadd537b832a0cffffffff0200e1f50500000000a6b708406368616e6e656c1426e8edf270d53abcccef05a2c089dc54d36225334c6a00125a0a583056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad420b4e6577204368616e6e656c6d6d76a9147135b5501344722770c0120a98c62c40957eb02588ac6ebeea0b000000001976a9141466e870dfe006a14b78d55f1b2b30b5905f5fc788ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"cb7e0ece2b7f0321b38252d36a1124ec5f40bd1a5457b635530502eef2132520\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mfx7KEBWyBYeJNBnLpfQUvz3MJQgfhgpK4\",\n \"amount\": \"1.999604\",\n \"confirmations\": 1,\n \"height\": 209,\n \"nout\": 0,\n \"timestamp\": 1614617541,\n \"txid\": \"9bd18930dad54b06895ae9562b5daf0a56b8a57de63e6f7e6ea6f73e457881e7\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": null,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n {\n \"address\": \"mhNq64YUeZbSgDzyK5gYv8TmsfVZS6yKxk\",\n \"amount\": \"1.9993355\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.0002685\",\n \"total_input\": \"2.999604\",\n \"total_output\": \"2.9993355\",\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\"\n }\n}" + "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}" } ] } @@ -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\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614617542,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\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\": \"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}" }, { "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\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614617542,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\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\": \"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}" } ] }, @@ -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\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3/astream#3\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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\": 1614617542,\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"short_url\": \"lbry://astream#3\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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\": 1614617541,\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"short_url\": \"lbry://@channel#3\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614617542,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\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\": \"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}" }, { "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\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3/astream#3\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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\": 1614617542,\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"short_url\": \"lbry://astream#3\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"canonical_url\": \"lbry://@channel#3\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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\": 1614617541,\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"short_url\": \"lbry://@channel#3\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614617542,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\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\": \"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}" } ] } @@ -2204,12 +2204,26 @@ } ], "returns": " {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }", - "examples": [] + "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}" + } + ] }, { "name": "collection_list", "description": "List my collection claims.", "arguments": [ + { + "name": "resolve", + "type": "bool", + "description": "resolve collection claim", + "is_required": false + }, { "name": "resolve_claims", "type": "int", @@ -2242,7 +2256,15 @@ } ], "returns": " {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }", - "examples": [] + "examples": [ + { + "title": "List collections", + "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}" + } + ] }, { "name": "collection_resolve", @@ -2436,10 +2458,10 @@ "examples": [ { "title": "Abandon a comment", - "curl": "curl -d'{\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\"}}' http://localhost:5279/", - "lbrynet": "lbrynet comment abandon f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_abandon\", \"params\": {\"comment_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\": {\n \"abandoned\": true\n }\n }\n}" + "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}" } ] }, @@ -2494,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\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}' http://localhost:5279/", - "lbrynet": "lbrynet comment create --comment=\"Thank you Based God\" --channel_name=@channel --claim_id=341a9096806b69ab5904087fefb8e0709afa42c7", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"Thank you Based God\", \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"3917a529a33136da5080987aa32134e1102ccabec898629ff7a017740cba50e3be08cfe6e90673d54b37cbf1fbfb739e43c5ad832fb66623b3b22b696ec00fc6\",\n \"signing_ts\": \"1614617521\",\n \"timestamp\": \"1614617522\"\n }\n}" + "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}" }, { "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\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"parent_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\", \"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=f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b --claim_id=341a9096806b69ab5904087fefb8e0709afa42c7", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_create\", \"params\": {\"comment\": \"I have photographic evidence confirming Sasquatch exists\", \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"parent_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\", \"channel_name\": \"@channel\", \"channel_account_id\": []}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"464727ccf35807017cc662b65e3f7327389ffa5cdfd169906809ab8d05caa90a5e13d62e9252f904bf6834f0078b57754e127c5dcda091d4805e996d4e69b475\",\n \"is_claim_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\",\n \"signature\": \"80cf34bd8a2441b3a2fe6cf7d4f79b909c977ee7dd33adc351c2f86031183f83988cee68f5d3e6168c1226f4fe4dea4d02bab434fd2d9a41847ddc76bee2460a\",\n \"signing_ts\": \"1614617522\",\n \"timestamp\": \"1614617522\"\n }\n}" + "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}" } ] }, @@ -2591,17 +2613,17 @@ "examples": [ { "title": "List all comments on a claim", - "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"include_replies\": true, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet comment list 341a9096806b69ab5904087fefb8e0709afa42c7 --include_replies", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"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\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"464727ccf35807017cc662b65e3f7327389ffa5cdfd169906809ab8d05caa90a5e13d62e9252f904bf6834f0078b57754e127c5dcda091d4805e996d4e69b475\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\",\n \"signature\": \"80cf34bd8a2441b3a2fe6cf7d4f79b909c977ee7dd33adc351c2f86031183f83988cee68f5d3e6168c1226f4fe4dea4d02bab434fd2d9a41847ddc76bee2460a\",\n \"signing_ts\": \"1614617522\",\n \"timestamp\": \"1614617522\"\n },\n {\n \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"3917a529a33136da5080987aa32134e1102ccabec898629ff7a017740cba50e3be08cfe6e90673d54b37cbf1fbfb739e43c5ad832fb66623b3b22b696ec00fc6\",\n \"signing_ts\": \"1614617521\",\n \"timestamp\": \"1614617522\"\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\": \"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}" }, { "title": "List a comment thread replying to a top level comment", - "curl": "curl -d'{\"method\": \"comment_list\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"parent_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\", \"include_replies\": false, \"skip_validation\": false, \"is_channel_signature_valid\": false, \"visible\": false, \"hidden\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet comment list 341a9096806b69ab5904087fefb8e0709afa42c7 --parent_id=f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_list\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"parent_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\", \"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\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"comment\": \"I have photographic evidence confirming Sasquatch exists\",\n \"comment_id\": \"464727ccf35807017cc662b65e3f7327389ffa5cdfd169906809ab8d05caa90a5e13d62e9252f904bf6834f0078b57754e127c5dcda091d4805e996d4e69b475\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\",\n \"signature\": \"80cf34bd8a2441b3a2fe6cf7d4f79b909c977ee7dd33adc351c2f86031183f83988cee68f5d3e6168c1226f4fe4dea4d02bab434fd2d9a41847ddc76bee2460a\",\n \"signing_ts\": \"1614617522\",\n \"timestamp\": \"1614617522\"\n },\n {\n \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"comment\": \"Thank you Based God\",\n \"comment_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\",\n \"is_channel_signature_valid\": true,\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"signature\": \"3917a529a33136da5080987aa32134e1102ccabec898629ff7a017740cba50e3be08cfe6e90673d54b37cbf1fbfb739e43c5ad832fb66623b3b22b696ec00fc6\",\n \"signing_ts\": \"1614617521\",\n \"timestamp\": \"1614617522\"\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\": \"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}" } ] }, @@ -2770,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\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\"}}' http://localhost:5279/", - "lbrynet": "lbrynet comment update Where there was once sasquatch, there is not --comment_id=f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"comment_update\", \"params\": {\"comment\": \"Where there was once sasquatch, there is not\", \"comment_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"channel_url\": \"lbry://@channel#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"comment\": \"Where there was once sasquatch, there is not\",\n \"comment_id\": \"f1f76cbbcb1581cf103a405628df19867b9805cb113461fc1fb94f6b0f09f02ad21b21e4ac4159847830eddc8e07aed8b3e7eb5100de72031d16f6cbacb1623b\",\n \"is_hidden\": false,\n \"is_pinned\": false,\n \"parent_id\": null,\n \"signature\": \"b27214ba2b15d8340bedfa24e1367d96c285d4281003fd8e3d7ff0dbc1e369136a32985ee881f978b46565936b6ec6e43a2ebe6312ec8936fb5dfb89dae8d760\",\n \"signing_ts\": \"1614617522\",\n \"timestamp\": \"1614617522\"\n }\n}" + "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}" } ] } @@ -2863,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\": \"341a9096806b69ab5904087fefb8e0709afa42c7\"}}' http://localhost:5279/", - "lbrynet": "lbrynet file delete --claim_id=\"341a9096806b69ab5904087fefb8e0709afa42c7\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_delete\", \"params\": {\"delete_from_download_dir\": false, \"delete_all\": false, \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\"}}).json()", + "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()", "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": true\n}" } ] @@ -3026,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\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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\": \"6eff0b1b4c4e5f5dc1c293c8d3d5771b\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0126e8edf270d53abcccef05a2c089dc54d3622533abc062f1bceeb8c322c26423ded588879f34e5b62a7ead3fe139b02ff74a575746a592d87e666c0f654ef370ef921d8bd091aad5743760344f6b96f393ad406f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70727274665f623178180b22186170706c69636174696f6e2f6f637465742d73747265616d32307f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"fe07a066484c5b68ed890991ddd802b86ab5e5b7974015b42c9e5f504c62c32476949dbeb4238265a859f98e84ac8e57\",\n \"stream_name\": \"tmprrtf_b1x\",\n \"streaming_url\": \"http://localhost:5280/stream/7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"suggested_file_name\": \"tmprrtf_b1x\",\n \"timestamp\": null,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\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\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"0c72e22f16527d3579029d3bedd0a2d83221f79c\",\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\": \"fa258a093ceceae11c63d634fc60b12f\",\n \"metadata\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mt6oz3ZNkLvXMBHN5yES4qtXU2mBSnWa7X\",\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\": \"1614617520\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpxh499vmj.png\",\n \"sd_hash\": \"467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c\",\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\": \"1a214a1195a5eef0cec6de82c3a2253d0bbde9328023ab56eb74a37eef4d1126:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0126e8edf270d53abcccef05a2c089dc54d362253389ecfc6a60564d434e16e71b722cf031862cbc326a2adc6137adaa6f4ac89099fcd88a5563f97ce23554ae79d69c95e46b155e079af3aba36fd5a2bf3fd4fe130ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d707868343939766d6a2e706e6718632209696d6167652f706e673230467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728b0b7f481063222080112196f8a08b700535c837dcff460f475af1259d206ead8edebcd96188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e63686573746572\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"0470bc8d93abef33f3d77d362101598c300846ca24b3d0152e7a82c5543941c9484834cb9d99061497424d4fa71c1bb8\",\n \"stream_name\": \"tmpxh499vmj.png\",\n \"streaming_url\": \"http://localhost:5280/stream/467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c\",\n \"suggested_file_name\": \"tmpxh499vmj.png\",\n \"timestamp\": null,\n \"total_bytes\": 112,\n \"total_bytes_lower_bound\": 96,\n \"txid\": \"1a214a1195a5eef0cec6de82c3a2253d0bbde9328023ab56eb74a37eef4d1126\",\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\": \"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}" }, { "title": "List files matching a parameter", - "curl": "curl -d'{\"method\": \"file_list\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"reverse\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet file list --claim_id=\"341a9096806b69ab5904087fefb8e0709afa42c7\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_list\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"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\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": null,\n \"download_path\": null,\n \"file_name\": null,\n \"height\": 214,\n \"is_fully_reflected\": true,\n \"key\": \"6eff0b1b4c4e5f5dc1c293c8d3d5771b\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0126e8edf270d53abcccef05a2c089dc54d3622533abc062f1bceeb8c322c26423ded588879f34e5b62a7ead3fe139b02ff74a575746a592d87e666c0f654ef370ef921d8bd091aad5743760344f6b96f393ad406f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70727274665f623178180b22186170706c69636174696f6e2f6f637465742d73747265616d32307f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 100,\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"fe07a066484c5b68ed890991ddd802b86ab5e5b7974015b42c9e5f504c62c32476949dbeb4238265a859f98e84ac8e57\",\n \"stream_name\": \"tmprrtf_b1x\",\n \"streaming_url\": \"http://localhost:5280/stream/7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"suggested_file_name\": \"tmprrtf_b1x\",\n \"timestamp\": 1614617542,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\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\": \"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}" } ] }, @@ -3150,10 +3172,10 @@ "examples": [ { "title": "Save a file to the downloads directory", - "curl": "curl -d'{\"method\": \"file_save\", \"params\": {\"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\"}}' http://localhost:5279/", - "lbrynet": "lbrynet file save --sd_hash=\"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"file_save\", \"params\": {\"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\"}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"added_on\": 1614617522,\n \"blobs_completed\": 1,\n \"blobs_in_stream\": 1,\n \"blobs_remaining\": 0,\n \"channel_claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"channel_name\": \"@channel\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"claim_name\": \"astream\",\n \"completed\": true,\n \"confirmations\": 3,\n \"content_fee\": null,\n \"download_directory\": \"/tmp/tmpvmqj47sc\",\n \"download_path\": \"/tmp/tmpvmqj47sc/tmprrtf_b1x_1\",\n \"file_name\": \"tmprrtf_b1x_1\",\n \"height\": 214,\n \"is_fully_reflected\": false,\n \"key\": \"6eff0b1b4c4e5f5dc1c293c8d3d5771b\",\n \"metadata\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"mime_type\": \"application/octet-stream\",\n \"nout\": 0,\n \"outpoint\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c:0\",\n \"points_paid\": 0.0,\n \"protobuf\": \"0126e8edf270d53abcccef05a2c089dc54d3622533abc062f1bceeb8c322c26423ded588879f34e5b62a7ead3fe139b02ff74a575746a592d87e666c0f654ef370ef921d8bd091aad5743760344f6b96f393ad406f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70727274665f623178180b22186170706c69636174696f6e2f6f637465742d73747265616d32307f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"purchase_receipt\": null,\n \"reflector_progress\": 0,\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"status\": \"finished\",\n \"stopped\": true,\n \"stream_hash\": \"fe07a066484c5b68ed890991ddd802b86ab5e5b7974015b42c9e5f504c62c32476949dbeb4238265a859f98e84ac8e57\",\n \"stream_name\": \"tmprrtf_b1x\",\n \"streaming_url\": \"http://localhost:5280/stream/7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"suggested_file_name\": \"tmprrtf_b1x\",\n \"timestamp\": 1614617542,\n \"total_bytes\": 16,\n \"total_bytes_lower_bound\": 0,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"uploading_to_reflector\": false,\n \"written_bytes\": 11\n }\n}" + "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}" } ] }, @@ -3434,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/lex/.local/share/lbry/lbrynet/daemon_settings.yml\",\n \"data_dir\": \"/tmp/tmpvmqj47sc\",\n \"download_dir\": \"/tmp/tmpvmqj47sc\",\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/tmpvmqj47sc\",\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/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}" } ] }, @@ -3509,10 +3531,10 @@ "examples": [ { "title": "Abandon a stream claim", - "curl": "curl -d'{\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream abandon 341a9096806b69ab5904087fefb8e0709afa42c7", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_abandon\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"01000000015c5062ab22b0a8ab3e85d5a49ec6b9df373fbedfce426e093ed1ff839384b3e5000000006b483045022100fde9a141e52ecfa67b0d8946818bc04ff91fb7d82527edbafc951cc5154e91c60220077dead4cead23e90582c11655a12851546ad0ac90409599fa21e1fa1b63232d0121035c6111d7cb945938d8723d18784600e4e2e3a3465f649e46ad952784b1415d0bffffffff0134b7f505000000001976a91429b5b215165592781699d0dbd80db1fff5e336a288ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"claim_op\": \"update\",\n \"confirmations\": 3,\n \"height\": 214,\n \"meta\": {},\n \"name\": \"astream\",\n \"normalized_name\": \"astream\",\n \"nout\": 0,\n \"permanent_url\": \"lbry://astream#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"timestamp\": 1614617542,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mjKVfMRwZAHrPeBX99sMCBi1WZuMFSuqop\",\n \"amount\": \"0.999893\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 0,\n \"timestamp\": null,\n \"txid\": \"a25181256747f0b6920e75e24a36f75f3f7b618a06a031b6560fe530c65246c8\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000107\",\n \"total_input\": \"1.0\",\n \"total_output\": \"0.999893\",\n \"txid\": \"a25181256747f0b6920e75e24a36f75f3f7b618a06a031b6560fe530c65246c8\"\n }\n}" + "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}" } ] }, @@ -3725,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/tmprrtf_b1x\", \"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/tmprrtf_b1x", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"astream\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmprrtf_b1x\", \"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\": \"0100000001202513f2ee02055335b657541abd405fec24116ad35282b321037f2bce0e7ecb010000006b48304502210084330f2a6499a1000bb9180d6febf39c06930bcfaa06eaee6a7b551c67cd05940220544ed53fbbb8d66c2c98736227b72c93b4b833b2249a2209f404cf5bee9aa653012103c87713796392383cf70ff6f803c360f5210e535250038b45c91c78f10191dc85ffffffff0200e1f50500000000bab5076173747265616d4c94000a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70727274665f623178180b22186170706c69636174696f6e2f6f637465742d73747265616d32307f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba296d7576a91418e1f74585d0ababa6a9900e68abbaae775f9f8388ac38fb9423000000001976a914dbcde34ee35c461cbbbd9e271a003e33ad090df188ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mfreDPojuipR176hD2AURDizEw9VjPPRqw\",\n \"amount\": \"6.983769\",\n \"confirmations\": 4,\n \"height\": 209,\n \"nout\": 1,\n \"timestamp\": 1614617541,\n \"txid\": \"cb7e0ece2b7f0321b38252d36a1124ec5f40bd1a5457b635530502eef2132520\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"timestamp\": null,\n \"txid\": \"d2ffad07ae11be047dbaf1d2cf3b043e20da5ecb2119b44ab4bca770726ae0e2\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"n1ZAvQeY9v6s3d7ZM1JjJoc99cSgEGKXBA\",\n \"amount\": \"5.969662\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"d2ffad07ae11be047dbaf1d2cf3b043e20da5ecb2119b44ab4bca770726ae0e2\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.014107\",\n \"total_input\": \"6.983769\",\n \"total_output\": \"6.969662\",\n \"txid\": \"d2ffad07ae11be047dbaf1d2cf3b043e20da5ecb2119b44ab4bca770726ae0e2\"\n }\n}" + "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}" }, { "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/tmpxh499vmj.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\": 1614617520, \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream create blank-image 1.0 /tmp/tmpxh499vmj.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=1614617520 --channel_id=\"332562d354dc89c0a205efccbc3ad570f2ede826\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_create\", \"params\": {\"name\": \"blank-image\", \"bid\": \"1.0\", \"file_path\": \"/tmp/tmpxh499vmj.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\": 1614617520, \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\", \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false}}).json()", - "output": "{\n \"jsonrpc\": \"2.0\",\n \"result\": {\n \"height\": -2,\n \"hex\": \"0100000001e2e06a7270a7bcb44ab41921cb5eda203e043bcfd2f1ba7d04be11ae07adffd2010000006b483045022100d9c5636a7ebb63384d3df1a203684d520055d9a2d8a89bef191f63ff3e8dd72402203ace6f0dd1bc36d16c1f0979b163ddf9a2487ff1a872517eff4ecf848eb7aa30012102ff6c2fd1fe9a8aca899f423076be784b971de6bb4430dc8908178f23e6d50609ffffffff0200e1f50500000000fddc01b50b626c616e6b2d696d6167654db1010126e8edf270d53abcccef05a2c089dc54d362253389ecfc6a60564d434e16e71b722cf031862cbc326a2adc6137adaa6f4ac89099fcd88a5563f97ce23554ae79d69c95e46b155e079af3aba36fd5a2bf3fd4fe130ae6010a82010a306c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545120f746d707868343939766d6a2e706e6718632209696d6167652f706e673230467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c120650696361736f1a0d5075626c696320446f6d61696e2218687474703a2f2f7075626c69632d646f6d61696e2e6f726728b0b7f481063222080112196f8a08b700535c837dcff460f475af1259d206ead8edebcd96188087a70e520408051007420b426c616e6b20496d6167654a184120626c616e6b20504e472074686174206973203578372e52252a23687474703a2f2f736d616c6c6d656469612e636f6d2f7468756d626e61696c2e6a70675a05626c616e6b5a03617274620208016a1308ec0112024e481a0a4d616e636865737465726d7576a9148a08b700535c837dcff460f475af1259d206ead888acac5e7d1d000000001976a914317357f5b8cb2c307b01f7c05e496000279b3a2e88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"n1ZAvQeY9v6s3d7ZM1JjJoc99cSgEGKXBA\",\n \"amount\": \"5.969662\",\n \"confirmations\": 2,\n \"height\": 213,\n \"nout\": 1,\n \"timestamp\": 1614617542,\n \"txid\": \"d2ffad07ae11be047dbaf1d2cf3b043e20da5ecb2119b44ab4bca770726ae0e2\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mt6oz3ZNkLvXMBHN5yES4qtXU2mBSnWa7X\",\n \"amount\": \"1.0\",\n \"claim_id\": \"0c72e22f16527d3579029d3bedd0a2d83221f79c\",\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#0c72e22f16527d3579029d3bedd0a2d83221f79c\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"1a214a1195a5eef0cec6de82c3a2253d0bbde9328023ab56eb74a37eef4d1126\",\n \"type\": \"claim\",\n \"value\": {\n \"author\": \"Picaso\",\n \"description\": \"A blank PNG that is 5x7.\",\n \"fee\": {\n \"address\": \"mt6oz3ZNkLvXMBHN5yES4qtXU2mBSnWa7X\",\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\": \"1614617520\",\n \"source\": {\n \"hash\": \"6c7df435d412c603390f593ef658c199817c7830ba3f16b7eadd8f99fa50e85dbd0d2b3dc61eadc33fe096e3872d1545\",\n \"media_type\": \"image/png\",\n \"name\": \"tmpxh499vmj.png\",\n \"sd_hash\": \"467a0cb4dbc2041da81c2e0d27d92130668b544e9df9c358a2f97bf37f0be823494a06989217790c2b486733156f394c\",\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\": \"mk2RafeFkcy6u2Jtwt2ZP9nxReTHWwdoPF\",\n \"amount\": \"4.947555\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"1a214a1195a5eef0cec6de82c3a2253d0bbde9328023ab56eb74a37eef4d1126\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.022107\",\n \"total_input\": \"5.969662\",\n \"total_output\": \"5.947555\",\n \"txid\": \"1a214a1195a5eef0cec6de82c3a2253d0bbde9328023ab56eb74a37eef4d1126\"\n }\n}" + "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}" } ] }, @@ -3805,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\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614617542,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"timestamp\": 1614617542,\n \"txid\": \"d2ffad07ae11be047dbaf1d2cf3b043e20da5ecb2119b44ab4bca770726ae0e2\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\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\": \"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}" }, { "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\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": 1614617542,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"timestamp\": 1614617542,\n \"txid\": \"d2ffad07ae11be047dbaf1d2cf3b043e20da5ecb2119b44ab4bca770726ae0e2\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\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\": \"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}" } ] }, @@ -4145,10 +4167,10 @@ "examples": [ { "title": "Update a stream claim to add channel", - "curl": "curl -d'{\"method\": \"stream_update\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\", \"clear_channel\": false, \"channel_account_id\": [], \"funding_account_ids\": [], \"preview\": false, \"blocking\": false, \"replace\": false}}' http://localhost:5279/", - "lbrynet": "lbrynet stream update 341a9096806b69ab5904087fefb8e0709afa42c7 --channel_id=\"332562d354dc89c0a205efccbc3ad570f2ede826\"", - "python": "requests.post(\"http://localhost:5279\", json={\"method\": \"stream_update\", \"params\": {\"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\", \"validate_file\": false, \"optimize_file\": false, \"clear_fee\": false, \"tags\": [], \"clear_tags\": false, \"languages\": [], \"clear_languages\": false, \"locations\": [], \"clear_locations\": false, \"channel_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\", \"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\": \"0100000002e2e06a7270a7bcb44ab41921cb5eda203e043bcfd2f1ba7d04be11ae07adffd2000000006a4730440220201129be03f5df42b4be3af4a876354d1c7648c4448a9f364b884380a4985abc02201e77dff4a640b4c577ab6786a010052b56acf9e5d71f18dc8e0e7a8945a2ba300121035c6111d7cb945938d8723d18784600e4e2e3a3465f649e46ad952784b1415d0bffffffff44839a12ab72f62a6eeeb2e75768b3fd61902552dc0f0a33b9b9a8b880100ae5010000006a47304402200c1753e0ea0d81e90f6adebe88b8bf925d1554416da7f0cd9b9e467b967edda202202f1a6e878b34d4be059e7d0f68ee7048bcd22511f1ec390c269444bf61818ddc012102852fd74eec4abef333ed472a12f8aa54d9c100d3e6a0006eca7e978d5a922d6affffffff0200e1f50500000000fd2301b7076173747265616d14c742fa9a70e0b8ef7f080459ab696b8096901a344ce80126e8edf270d53abcccef05a2c089dc54d3622533abc062f1bceeb8c322c26423ded588879f34e5b62a7ead3fe139b02ff74a575746a592d87e666c0f654ef370ef921d8bd091aad5743760344f6b96f393ad406f0a90010a8d010a30fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd120b746d70727274665f623178180b22186170706c69636174696f6e2f6f637465742d73747265616d32307f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba296d6d76a91418e1f74585d0ababa6a9900e68abbaae775f9f8388ac32a0d205000000001976a91433b9b10868e6b571acf2143fac60adf68fd5fb4e88ac00000000\",\n \"inputs\": [\n {\n \"address\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"timestamp\": 1614617542,\n \"txid\": \"d2ffad07ae11be047dbaf1d2cf3b043e20da5ecb2119b44ab4bca770726ae0e2\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mpi13upmq2FsTD5BWZnf3GcEsdwKVbxNTV\",\n \"amount\": \"0.9772285\",\n \"confirmations\": 3,\n \"height\": 211,\n \"nout\": 1,\n \"timestamp\": 1614617541,\n \"txid\": \"e50a1080b8a8b9b9330a0fdc52259061fdb36857e7b2ee6e2af672ab129a8344\",\n \"type\": \"payment\"\n }\n ],\n \"outputs\": [\n {\n \"address\": \"mhnXD3X6vkY1dq6jSyHp3kKwR19i9KGskM\",\n \"amount\": \"1.0\",\n \"claim_id\": \"341a9096806b69ab5904087fefb8e0709afa42c7\",\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#341a9096806b69ab5904087fefb8e0709afa42c7\",\n \"signing_channel\": {\n \"address\": \"mqqYzSoc7WDFdrt9CZDKBBBnHCC3Yy6qnX\",\n \"amount\": \"1.0\",\n \"claim_id\": \"332562d354dc89c0a205efccbc3ad570f2ede826\",\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#332562d354dc89c0a205efccbc3ad570f2ede826\",\n \"timestamp\": 1614617541,\n \"txid\": \"a348c8052cf3e7ec4b79d4fa68aae61048a6540f825d4ec7d1c625e985ae82e6\",\n \"type\": \"claim\",\n \"value\": {\n \"public_key\": \"3056301006072a8648ce3d020106052b8104000a0342000411d2876bc6cb242ea19d92477dc47a2cd2561ff860f815f9babd8a6cfe812ce10da942e03af02a6c0a2e3d98cc5a24ad2788418aed6a76154a705c7551aceaad\",\n \"public_key_id\": \"mqcFrmD3NtEPs5AoEaDsBCH78ta6LyKpYD\",\n \"title\": \"New Channel\"\n },\n \"value_type\": \"channel\"\n },\n \"timestamp\": null,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"claim\",\n \"value\": {\n \"source\": {\n \"hash\": \"fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd\",\n \"media_type\": \"application/octet-stream\",\n \"name\": \"tmprrtf_b1x\",\n \"sd_hash\": \"7f233e541a32e773ea38913fe381f67be41031f39178a750464d9cc38cfc9c366c6f41d3c3a7e562fd4804a40229ba29\",\n \"size\": \"11\"\n },\n \"stream_type\": \"binary\"\n },\n \"value_type\": \"stream\"\n },\n {\n \"address\": \"mkETCup9SZQYbmUGDSECiVX7xRRLcjBUNu\",\n \"amount\": \"0.9768965\",\n \"confirmations\": -2,\n \"height\": -2,\n \"nout\": 1,\n \"timestamp\": null,\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\",\n \"type\": \"payment\"\n }\n ],\n \"total_fee\": \"0.000332\",\n \"total_input\": \"1.9772285\",\n \"total_output\": \"1.9768965\",\n \"txid\": \"e5b3849383ffd13e096e42cedfbe3f37dfb9c69ea4d5853eaba8b022ab62505c\"\n }\n}" + "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}" } ] } @@ -4524,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 11:52\",\n \"fee\": \"-0.000124\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1614617541,\n \"txid\": \"9570bcfb35dd97e988255385bd35c6bfe61283158994127297158f893f9e320d\",\n \"update_info\": [],\n \"value\": \"0.0\"\n },\n {\n \"abandon_info\": [],\n \"claim_info\": [],\n \"confirmations\": 7,\n \"date\": \"2021-03-01 11:52\",\n \"fee\": \"0.0\",\n \"purchase_info\": [],\n \"support_info\": [],\n \"timestamp\": 1614617540,\n \"txid\": \"873b70a558b7e6559aaafc6079ecab5b5d665cccd7522ac0d542b483ef1cd432\",\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-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}" } ] },