Guest User

Using uri of resolve

a guest
Aug 28th, 2017
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.14 KB | None | 0 0
  1. curl 'http://localhost:5279/lbryapi' --data '{"method":"resolve", "params":{"uri":"lbry://@hackrush/holi"}}'
  2. {
  3.   "id": null,
  4.   "jsonrpc": "2.0",
  5.   "result": {
  6.     "lbry://@hackrush/holi": {
  7.       "certificate": {
  8.         "address": "bVKax97x96Kk8sHcJHpt5hPXgqxsZ5zWYc",
  9.         "amount": 5.0,
  10.         "claim_id": "9c25d05e03f7ee38404b9892e9e74f1ad7c3352c",
  11.         "claim_sequence": 1,
  12.         "decoded_claim": true,
  13.         "depth": 19767,
  14.         "effective_amount": 5.0,
  15.         "has_signature": false,
  16.         "height": 210858,
  17.         "hex": "08011002225e0801100322583056301006072a8648ce3d020106052b8104000a034200045894f835436b2b1573fd4f23180a21e84b21738239c370f67aae271537a00fc257282cf3ec531684d16e5cd12bf1261fa3f24439e38f462499f5af62b13ff05a",
  18.         "name": "@hackrush",
  19.         "nout": 1,
  20.         "supports": [],
  21.         "txid": "8c9cb086c230f24acfe42d3261ad36d03a2a975e3cb5dfeb28c95260ab8c01ce",
  22.         "value": {
  23.           "certificate": {
  24.             "keyType": "SECP256k1",
  25.             "publicKey": "3056301006072a8648ce3d020106052b8104000a034200045894f835436b2b1573fd4f23180a21e84b21738239c370f67aae271537a00fc257282cf3ec531684d16e5cd12bf1261fa3f24439e38f462499f5af62b13ff05a",
  26.             "version": "_0_0_1"
  27.           },
  28.           "claimType": "certificateType",
  29.           "version": "_0_0_1"
  30.         }
  31.       },
  32.       "claim": {
  33.         "absolute_channel_position": 0,
  34.         "address": "bMADBQcefs2on7Ujj1ifLm1WGtCtMCWRSr",
  35.         "amount": 0.01,
  36.         "channel_name": "@hackrush",
  37.         "claim_id": "2e821d91ffeb0cd100a3570753392d4b2116862d",
  38.         "claim_sequence": 1,
  39.         "decoded_claim": true,
  40.         "depth": 12886,
  41.         "effective_amount": 0.04,
  42.         "has_signature": true,
  43.         "height": 217739,
  44.         "hex": "080110011a760801122e080410011a0d466573746976616c20486f6c6922002a00320d5075626c696320446f6d61696e38004a0052005a001a42080110011a3070f518a0e052f5677eaf4459b8fcd67bd91ac15e4384e9ca2e8af0e800c6124ecd637b6eebc8a008384b3c847dfa6ef1220a696d6167652f6a7065672a5c080110031a402db19f4116d3e63399a37beb7d8df626cb0f4fa027b6e9008fb7d5ec9d073f742f27848c99a10c5eb301a010a0c1199b339ae7971a5bd68d8075e4175c0ff1fe22149c25d05e03f7ee38404b9892e9e74f1ad7c3352c",
  45.         "name": "holi",
  46.         "nout": 0,
  47.         "signature_is_valid": true,
  48.         "supports": [
  49.           {
  50.             "amount": 0.01,
  51.             "nout": 0,
  52.             "txid": "9cb837ef4be63ee16ad087454ef40908b0b66f4e949d388728bb37cb3cf3d586"
  53.           },
  54.           {
  55.             "amount": 0.01,
  56.             "nout": 0,
  57.             "txid": "844b9ae78b542edd38fe85ef8c5470d5e73f7fc7564fe6153453e1ff76fad27d"
  58.           },
  59.           {
  60.             "amount": 0.01,
  61.             "nout": 0,
  62.             "txid": "6492c172787ec39948874fcbfbd28de1c43c2d73bad01ffc59f48deeca85fa5a"
  63.           }
  64.         ],
  65.         "txid": "775ee1f146b37624f8d6dee6b2d5026e5e1a0f065c32229b5ec5b1d2e612b846",
  66.         "valid_at_height": 217739,
  67.         "value": {
  68.           "claimType": "streamType",
  69.           "publisherSignature": {
  70.             "certificateId": "9c25d05e03f7ee38404b9892e9e74f1ad7c3352c",
  71.             "signature": "2db19f4116d3e63399a37beb7d8df626cb0f4fa027b6e9008fb7d5ec9d073f742f27848c99a10c5eb301a010a0c1199b339ae7971a5bd68d8075e4175c0ff1fe",
  72.             "signatureType": "SECP256k1",
  73.             "version": "_0_0_1"
  74.           },
  75.           "stream": {
  76.             "metadata": {
  77.               "author": "",
  78.               "description": "",
  79.               "language": "en",
  80.               "license": "Public Domain",
  81.               "licenseUrl": "",
  82.               "nsfw": false,
  83.               "preview": "",
  84.               "thumbnail": "",
  85.               "title": "Festival Holi",
  86.               "version": "_0_1_0"
  87.             },
  88.             "source": {
  89.               "contentType": "image/jpeg",
  90.               "source": "70f518a0e052f5677eaf4459b8fcd67bd91ac15e4384e9ca2e8af0e800c6124ecd637b6eebc8a008384b3c847dfa6ef1",
  91.               "sourceType": "lbry_sd_hash",
  92.               "version": "_0_0_1"
  93.             },
  94.             "version": "_0_0_1"
  95.           },
  96.           "version": "_0_0_1"
  97.         }
  98.       },
  99.       "claims_in_channel": 0
  100.     }
  101.   }
  102. }
Add Comment
Please, Sign In to add comment