Guest User

Using uris of resolve

a guest
Aug 28th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 17.82 KB | None | 0 0
  1. curl 'http://localhost:5279/lbryapi' --data '{"method":"resolve", "params":{"uris":"lbry://@hackrush/holi"}}'
  2. {
  3.   "id": null,
  4.   "jsonrpc": "2.0",
  5.   "result": {
  6.     "/": {
  7.       "error": "/ is not a valid uri"
  8.     },
  9.     ":": {
  10.       "error": ": is not a valid uri"
  11.     },
  12.     "@": {
  13.       "error": "@ is not a valid uri"
  14.     },
  15.     "a": {
  16.       "claim": {
  17.         "address": "bDMcFDwqAMSA74LQwvQSQozfS3iyJhFkn5",
  18.         "amount": 1.0,
  19.         "claim_id": "3c57274c4d979f78e9fedf987a5c10bbc24f7771",
  20.         "claim_sequence": 2,
  21.         "decoded_claim": true,
  22.         "depth": 87101,
  23.         "effective_amount": 1.0,
  24.         "has_signature": false,
  25.         "height": 143524,
  26.         "hex": "080110011ab5010801126d080410011a0348313422012e2a012e322e437265617469766520436f6d6d6f6e73204174747269627574696f6e20342e3020496e7465726e6174696f6e616c38004224080110011a195563c8fa44bbf38818179e8c24dcb5a2e11e9f137edf6e4c4e250000803f4a0052005a001a42080110011a30ebaf0b8a87c0f9fa5c127279b148fed20a980fe4c2cfd9a00e3b9b4612a0945e52e23aed5a28aeb92c9251e34707a084220a696d6167652f6a706567",
  27.         "name": "a",
  28.         "nout": 0,
  29.         "supports": [],
  30.         "txid": "a9d3e61483e8d25ccc255e505bae3588012ac2cdf236f2d40f01be3714a1698f",
  31.         "value": {
  32.           "claimType": "streamType",
  33.           "stream": {
  34.             "metadata": {
  35.               "author": ".",
  36.               "description": ".",
  37.               "fee": {
  38.                 "address": "bMptMPeFfPyWNJpkq3G4Tj8v66Qndhjz9j",
  39.                 "amount": 1.0,
  40.                 "currency": "LBC",
  41.                 "version": "_0_0_1"
  42.               },
  43.               "language": "en",
  44.               "license": "Creative Commons Attribution 4.0 International",
  45.               "licenseUrl": "",
  46.               "nsfw": false,
  47.               "preview": "",
  48.               "thumbnail": "",
  49.               "title": "H14",
  50.               "version": "_0_1_0"
  51.             },
  52.             "source": {
  53.               "contentType": "image/jpeg",
  54.               "source": "ebaf0b8a87c0f9fa5c127279b148fed20a980fe4c2cfd9a00e3b9b4612a0945e52e23aed5a28aeb92c9251e34707a084",
  55.               "sourceType": "lbry_sd_hash",
  56.               "version": "_0_0_1"
  57.             },
  58.             "version": "_0_0_1"
  59.           },
  60.           "version": "_0_0_1"
  61.         }
  62.       }
  63.     },
  64.     "b": {
  65.       "claim": {
  66.         "address": "bVadHky9W4shiBEA6NxPNnjH91wBWp3dAr",
  67.         "amount": 0.1,
  68.         "claim_id": "9240f5bdb27c7a22aa6050f9e5c0c78a33f529f7",
  69.         "claim_sequence": 1,
  70.         "decoded_claim": false,
  71.         "depth": 219829,
  72.         "effective_amount": 0.1,
  73.         "error": "Failed to decode value",
  74.         "height": 10796,
  75.         "hex": "31",
  76.         "name": "b",
  77.         "nout": 1,
  78.         "supports": [],
  79.         "txid": "6fdc1103323c9747e14cc9229d11e0c818f398d52698f98d72f981b3b3fb77f6",
  80.         "value": null
  81.       }
  82.     },
  83.     "c": {
  84.       "claim": {
  85.         "address": "bQ3ccQAhinfeuoQ3CJA47zAVsQhue13UJE",
  86.         "amount": 1.0,
  87.         "claim_id": "3b294ee7041ae8dfe3104f38b56746fcdaf08aa8",
  88.         "claim_sequence": 4,
  89.         "decoded_claim": true,
  90.         "depth": 43016,
  91.         "effective_amount": 1.0,
  92.         "has_signature": false,
  93.         "height": 187609,
  94.         "hex": "080110011ad1010801128801080410011a066361636875612237737065652e63682f6361636875612f373233623439313363623239343431643063656533613264346337393536633537626539386565642a00320038004a37737065652e63682f6361636875612f3732336234393133636232393434316430636565336132643463373935366335376265393865656452005a001a42080110011a304e61b29398ae764ef380dd3ba1fdaeeb8e9f4bd386da6d794139e5a2dc90f2f5ac4ee22429ecde8f4b1127f4d9bd53a2220a696d6167652f6a706567",
  95.         "name": "c",
  96.         "nout": 1,
  97.         "supports": [],
  98.         "txid": "2d71e38ce65f63bf7ade749c223bcbac85e70d3e7791e11bb2a6cdb5da09372a",
  99.         "value": {
  100.           "claimType": "streamType",
  101.           "stream": {
  102.             "metadata": {
  103.               "author": "",
  104.               "description": "spee.ch/cachua/723b4913cb29441d0cee3a2d4c7956c57be98eed",
  105.               "language": "en",
  106.               "license": "",
  107.               "licenseUrl": "",
  108.               "nsfw": false,
  109.               "preview": "",
  110.               "thumbnail": "spee.ch/cachua/723b4913cb29441d0cee3a2d4c7956c57be98eed",
  111.               "title": "cachua",
  112.               "version": "_0_1_0"
  113.             },
  114.             "source": {
  115.               "contentType": "image/jpeg",
  116.               "source": "4e61b29398ae764ef380dd3ba1fdaeeb8e9f4bd386da6d794139e5a2dc90f2f5ac4ee22429ecde8f4b1127f4d9bd53a2",
  117.               "sourceType": "lbry_sd_hash",
  118.               "version": "_0_0_1"
  119.             },
  120.             "version": "_0_0_1"
  121.           },
  122.           "version": "_0_0_1"
  123.         }
  124.       }
  125.     },
  126.     "h": {
  127.       "certificate": {
  128.         "address": "bU6xyr5pWEUrmwXQ7bFK5SsqpBobeYfTYP",
  129.         "amount": 10.0,
  130.         "claim_id": "d0d1427b4deb9b323240fcb92a4ff792cf93579b",
  131.         "claim_sequence": 1,
  132.         "decoded_claim": true,
  133.         "depth": 44204,
  134.         "effective_amount": 10.0,
  135.         "has_signature": false,
  136.         "height": 186421,
  137.         "hex": "08011002225e0801100322583056301006072a8648ce3d020106052b8104000a03420004c3d109eecafcbccb7d1855e282afe1cdd247ffeec98686efd60173ab94afcea64f2966db56e82e327977d91760207c87edcffb6a1f44dd671d355ca12debdc21",
  138.         "name": "@hdoa",
  139.         "nout": 1,
  140.         "supports": [],
  141.         "txid": "ea5e23ca0b3bff931406d7b8bb9ef73c158fd82d170a6e5c957ebcafece92f2e",
  142.         "valid_at_height": 186421,
  143.         "value": {
  144.           "certificate": {
  145.             "keyType": "SECP256k1",
  146.             "publicKey": "3056301006072a8648ce3d020106052b8104000a03420004c3d109eecafcbccb7d1855e282afe1cdd247ffeec98686efd60173ab94afcea64f2966db56e82e327977d91760207c87edcffb6a1f44dd671d355ca12debdc21",
  147.             "version": "_0_0_1"
  148.           },
  149.           "claimType": "certificateType",
  150.           "version": "_0_0_1"
  151.         }
  152.       },
  153.       "claim": {
  154.         "address": "bTNzxMo1J1cYa1TTH3qobyAR6GKp3jwkMi",
  155.         "amount": 5.0,
  156.         "channel_name": "@hdoa",
  157.         "claim_id": "1e890355a6660008ccd2fd60dc043b3d1fe08d06",
  158.         "claim_sequence": 2,
  159.         "decoded_claim": true,
  160.         "depth": 44199,
  161.         "effective_amount": 5.0,
  162.         "has_signature": true,
  163.         "height": 186426,
  164.         "hex": "080110011adf010801129701080410011a1048446f41202d20417363656e73696f6e2247547261636b2031352c20417363656e73696f6e2c2066726f6d20486520447265616d74206f6620417363656e73696f6e2773206e657720616c62756d204879706e61676f6769612a00320038004a2c68747470733a2f2f66342e6263626974732e636f6d2f696d672f61303635333533363436305f31302e6a706752005a001a41080110011a30baa42c4bbabbbc1c45f3ff58cd943e2afae2a54e319dbd694dc98f0ca7d998428598f7193476fb351bf19dac0b0081032209617564696f2f7761762a5c080110031a40235340dccf3ddb8f0f61c44ef47a899ad60914cc076395f24369436a74098a086ec602e34f9c13aa0aa219e86a29b88354a74999405f1504a2b89ee91fe210ec2214d0d1427b4deb9b323240fcb92a4ff792cf93579b",
  165.         "name": "h",
  166.         "nout": 1,
  167.         "signature_is_valid": true,
  168.         "supports": [],
  169.         "txid": "a3da41f1b8349a0e3aae9486a80d9595737a39e285bf732464aadbe69f68f2ec",
  170.         "value": {
  171.           "claimType": "streamType",
  172.           "publisherSignature": {
  173.             "certificateId": "d0d1427b4deb9b323240fcb92a4ff792cf93579b",
  174.             "signature": "235340dccf3ddb8f0f61c44ef47a899ad60914cc076395f24369436a74098a086ec602e34f9c13aa0aa219e86a29b88354a74999405f1504a2b89ee91fe210ec",
  175.             "signatureType": "SECP256k1",
  176.             "version": "_0_0_1"
  177.           },
  178.           "stream": {
  179.             "metadata": {
  180.               "author": "",
  181.               "description": "Track 15, Ascension, from He Dreamt of Ascension's new album Hypnagogia",
  182.               "language": "en",
  183.               "license": "",
  184.               "licenseUrl": "",
  185.               "nsfw": false,
  186.               "preview": "",
  187.               "thumbnail": "https://f4.bcbits.com/img/a0653536460_10.jpg",
  188.               "title": "HDoA - Ascension",
  189.               "version": "_0_1_0"
  190.             },
  191.             "source": {
  192.               "contentType": "audio/wav",
  193.               "source": "baa42c4bbabbbc1c45f3ff58cd943e2afae2a54e319dbd694dc98f0ca7d998428598f7193476fb351bf19dac0b008103",
  194.               "sourceType": "lbry_sd_hash",
  195.               "version": "_0_0_1"
  196.             },
  197.             "version": "_0_0_1"
  198.           },
  199.           "version": "_0_0_1"
  200.         }
  201.       },
  202.       "claims_in_channel": 0
  203.     },
  204.     "i": {
  205.       "claim": {
  206.         "address": "bRaPWCjtuZoSSuguXrQuqLe7S8KwrZKaAU",
  207.         "amount": 0.2,
  208.         "claim_id": "78f9d1a69d69165c448920872ea6f22740a9d940",
  209.         "claim_sequence": 2,
  210.         "decoded_claim": true,
  211.         "depth": 13955,
  212.         "effective_amount": 0.2,
  213.         "has_signature": false,
  214.         "height": 216670,
  215.         "hex": "080110011a6008011214080410011a0022002a00320038004a0052005a001a46080110011a3006448e0bd42f16c48c832a9a514367dcb99dc96ce5a8071e575f4e76510d30c000ac44bad202f0ceb8311c2d18e19912220e766964656f2f782d6d732d776d76",
  216.         "name": "i",
  217.         "nout": 0,
  218.         "supports": [],
  219.         "txid": "5e376fa1b683b872e634f58d0df61adfc450c75e1d0262bbe65996a477d106ea",
  220.         "value": {
  221.           "claimType": "streamType",
  222.           "stream": {
  223.             "metadata": {
  224.               "author": "",
  225.               "description": "",
  226.               "language": "en",
  227.               "license": "",
  228.               "licenseUrl": "",
  229.               "nsfw": false,
  230.               "preview": "",
  231.               "thumbnail": "",
  232.               "title": "",
  233.               "version": "_0_1_0"
  234.             },
  235.             "source": {
  236.               "contentType": "video/x-ms-wmv",
  237.               "source": "06448e0bd42f16c48c832a9a514367dcb99dc96ce5a8071e575f4e76510d30c000ac44bad202f0ceb8311c2d18e19912",
  238.               "sourceType": "lbry_sd_hash",
  239.               "version": "_0_0_1"
  240.             },
  241.             "version": "_0_0_1"
  242.           },
  243.           "version": "_0_0_1"
  244.         }
  245.       }
  246.     },
  247.     "k": {
  248.       "certificate": {
  249.         "address": "bZKKNv1TL274AtFd9v6sMkFstZ1iGFz4tZ",
  250.         "amount": 1.0,
  251.         "claim_id": "083d93b6b53cffa0950db5f487c5b4de65fadf2b",
  252.         "claim_sequence": 1,
  253.         "decoded_claim": true,
  254.         "depth": 43043,
  255.         "effective_amount": 1.0,
  256.         "has_signature": false,
  257.         "height": 187582,
  258.         "hex": "08011002225e0801100322583056301006072a8648ce3d020106052b8104000a03420004c09e2775c5cfd9031fe3b9ee791434fac92d920d5266f1c8eb776138946c80184f63e4c3111e936074ef40ec78b5323a200b6bae912ec2480936a5ef8dbc6311",
  259.         "name": "@coinsking",
  260.         "nout": 1,
  261.         "supports": [],
  262.         "txid": "acb13727527a5c2f8720ebc0cdcb33c5df8ab3aaa224bcb4b661b032783f436b",
  263.         "valid_at_height": 187582,
  264.         "value": {
  265.           "certificate": {
  266.             "keyType": "SECP256k1",
  267.             "publicKey": "3056301006072a8648ce3d020106052b8104000a03420004c09e2775c5cfd9031fe3b9ee791434fac92d920d5266f1c8eb776138946c80184f63e4c3111e936074ef40ec78b5323a200b6bae912ec2480936a5ef8dbc6311",
  268.             "version": "_0_0_1"
  269.           },
  270.           "claimType": "certificateType",
  271.           "version": "_0_0_1"
  272.         }
  273.       },
  274.       "claim": {
  275.         "address": "bZa4JXUeCvoHvkVnxWJrDwFAdv9isUcZmX",
  276.         "amount": 1.0,
  277.         "channel_name": "@coinsking",
  278.         "claim_id": "d25ef594287206fcb2e5824026f1e8002403a14c",
  279.         "claim_sequence": 2,
  280.         "decoded_claim": true,
  281.         "depth": 42952,
  282.         "effective_amount": 1.0,
  283.         "has_signature": true,
  284.         "height": 187673,
  285.         "hex": "080110011a8a0108011243080410011a0a4d656574206b6f6b616b22116c6561726e2066726f6d207573206e6f772a00320038004a1468747470733a2f2f4b6f6b616b2e636f6d2e697352005a001a41080110011a30c36971f5b5abff06b8ba01c8128eaa5529a7f59017d227958a6c49f576aa6b26b35fb2de5f1f1afe4311feffb34f7b7e2209766964656f2f6d70342a5c080110031a40a049bfc41c64aa98b3e4c2fba47f4c932ce09afacd5b0fc8da63bd85f36e712978a3c5fb8ae5b9f06426d498a666a371c25fd12c28182cdaeebffe89c4d764dd2214083d93b6b53cffa0950db5f487c5b4de65fadf2b",
  286.         "name": "k",
  287.         "nout": 0,
  288.         "signature_is_valid": true,
  289.         "supports": [],
  290.         "txid": "3ea61fc446ca076bd2d511c2aa99a6cfe5102aacb8c2c4cc38f974d47de9a424",
  291.         "value": {
  292.           "claimType": "streamType",
  293.           "publisherSignature": {
  294.             "certificateId": "083d93b6b53cffa0950db5f487c5b4de65fadf2b",
  295.             "signature": "a049bfc41c64aa98b3e4c2fba47f4c932ce09afacd5b0fc8da63bd85f36e712978a3c5fb8ae5b9f06426d498a666a371c25fd12c28182cdaeebffe89c4d764dd",
  296.             "signatureType": "SECP256k1",
  297.             "version": "_0_0_1"
  298.           },
  299.           "stream": {
  300.             "metadata": {
  301.               "author": "",
  302.               "description": "learn from us now",
  303.               "language": "en",
  304.               "license": "",
  305.               "licenseUrl": "",
  306.               "nsfw": false,
  307.               "preview": "",
  308.               "thumbnail": "https://Kokak.com.is",
  309.               "title": "Meet kokak",
  310.               "version": "_0_1_0"
  311.             },
  312.             "source": {
  313.               "contentType": "video/mp4",
  314.               "source": "c36971f5b5abff06b8ba01c8128eaa5529a7f59017d227958a6c49f576aa6b26b35fb2de5f1f1afe4311feffb34f7b7e",
  315.               "sourceType": "lbry_sd_hash",
  316.               "version": "_0_0_1"
  317.             },
  318.             "version": "_0_0_1"
  319.           },
  320.           "version": "_0_0_1"
  321.         }
  322.       },
  323.       "claims_in_channel": 0
  324.     },
  325.     "l": {
  326.       "claim": {
  327.         "address": "bHLbB3AcWzJwGyztKECmYs5difXLeQ7oCq",
  328.         "amount": 0.1,
  329.         "claim_id": "0d9f2413c74e5cda21be209760428be4da1bce41",
  330.         "claim_sequence": 1,
  331.         "decoded_claim": false,
  332.         "depth": 219830,
  333.         "effective_amount": 0.1,
  334.         "error": "Failed to decode value",
  335.         "height": 10796,
  336.         "hex": "31",
  337.         "name": "l",
  338.         "nout": 1,
  339.         "supports": [],
  340.         "txid": "bc04a22d23e5c91faf0d9fc7291ad9f72b3046a0cd30acf30cfd75fb3d728e9d",
  341.         "value": null
  342.       }
  343.     },
  344.     "o": {
  345.       "claim": {
  346.         "address": "bUeTMARVD9oMovvpGsHsiBuij61NR4NjB7",
  347.         "amount": 0.1,
  348.         "claim_id": "f3331e5677e5556a8e5a32304a7c6bfdc50becb5",
  349.         "claim_sequence": 1,
  350.         "decoded_claim": false,
  351.         "depth": 219829,
  352.         "effective_amount": 0.1,
  353.         "error": "Failed to decode value",
  354.         "height": 10797,
  355.         "hex": "31",
  356.         "name": "o",
  357.         "nout": 0,
  358.         "supports": [],
  359.         "txid": "60123bad1a6b6d0beb6864404b7e05ea0a40037a13693131cbb935e0b54e07a0",
  360.         "value": null
  361.       }
  362.     },
  363.     "r": {
  364.       "claim": {
  365.         "address": "bbb9S9vpyEg742dodBbGZuvr86VqEfdcb4",
  366.         "amount": 10.0,
  367.         "claim_id": "c17aff553830fa1a43bb52cd628fe15a9227cbdd",
  368.         "claim_sequence": 2,
  369.         "decoded_claim": true,
  370.         "depth": 38559,
  371.         "effective_amount": 10.0,
  372.         "has_signature": false,
  373.         "height": 192067,
  374.         "hex": "080110011a5b08011214080410011a0022002a00320038004a0052005a001a41080110011a30c935436dff7b8d6bcd8f5d86e740be761c419abb8ac299ef722442e316ae3ed2ed46de96e93192bd8617dca87b2bc61e2209696d6167652f706e67",
  375.         "name": "r",
  376.         "nout": 1,
  377.         "supports": [],
  378.         "txid": "73b7bded44e82e619ae815c69ac2b8e2f3fdc845568e9b745089ca0cf77ba63b",
  379.         "value": {
  380.           "claimType": "streamType",
  381.           "stream": {
  382.             "metadata": {
  383.               "author": "",
  384.               "description": "",
  385.               "language": "en",
  386.               "license": "",
  387.               "licenseUrl": "",
  388.               "nsfw": false,
  389.               "preview": "",
  390.               "thumbnail": "",
  391.               "title": "",
  392.               "version": "_0_1_0"
  393.             },
  394.             "source": {
  395.               "contentType": "image/png",
  396.               "source": "c935436dff7b8d6bcd8f5d86e740be761c419abb8ac299ef722442e316ae3ed2ed46de96e93192bd8617dca87b2bc61e",
  397.               "sourceType": "lbry_sd_hash",
  398.               "version": "_0_0_1"
  399.             },
  400.             "version": "_0_0_1"
  401.           },
  402.           "version": "_0_0_1"
  403.         }
  404.       }
  405.     },
  406.     "s": {
  407.       "claim": {
  408.         "address": "bEtJVEjfwCdVyixAFSirag1SYFXFnpkWDu",
  409.         "amount": 0.1,
  410.         "claim_id": "aabda91acb56cd20dfe649e929788bcbf758573a",
  411.         "claim_sequence": 1,
  412.         "decoded_claim": false,
  413.         "depth": 219829,
  414.         "effective_amount": 0.1,
  415.         "error": "Failed to decode value",
  416.         "height": 10797,
  417.         "hex": "31",
  418.         "name": "s",
  419.         "nout": 0,
  420.         "supports": [],
  421.         "txid": "1d7a7ca22dc3e155dfcb8a0544c612ad862da6b8f172a8d6f333fe5d13c37b8e",
  422.         "value": null
  423.       }
  424.     },
  425.     "u": {
  426.       "claim": {
  427.         "address": "bHvzCxD2UKeacabKkGFHiX5ZZEHVePEdTP",
  428.         "amount": 0.1,
  429.         "claim_id": "654c2bd62cd95838f5fb907e14c00af13acc6fb4",
  430.         "claim_sequence": 1,
  431.         "decoded_claim": false,
  432.         "depth": 219829,
  433.         "effective_amount": 0.1,
  434.         "error": "Failed to decode value",
  435.         "height": 10797,
  436.         "hex": "31",
  437.         "name": "u",
  438.         "nout": 0,
  439.         "supports": [],
  440.         "txid": "fea7dd83bace4b9130ed6a25e672a04098800c9860bd8b2f1895848050c3ee68",
  441.         "value": null
  442.       }
  443.     },
  444.     "y": {
  445.       "claim": {
  446.         "address": "bFxsDaLJEwAk4hPuH1nJESG6dDrYX79DgJ",
  447.         "amount": 0.1,
  448.         "claim_id": "464c405970428c7f495c7ae5d24930b89562ce11",
  449.         "claim_sequence": 1,
  450.         "decoded_claim": false,
  451.         "depth": 219829,
  452.         "effective_amount": 0.1,
  453.         "error": "Failed to decode value",
  454.         "height": 10797,
  455.         "hex": "31",
  456.         "name": "y",
  457.         "nout": 1,
  458.         "supports": [],
  459.         "txid": "e78960fa2dec53a555221a4d2b5434111f4895d48ba03583da220175e0ee1bb0",
  460.         "value": null
  461.       }
  462.     }
  463.   }
  464. }
Add Comment
Please, Sign In to add comment