Submit content to blockchain Need to supply control checksum 'ripemdHash' and 'key' generated by seeders in getContentKeys
Request buy content.
Id of content to be bought, example: '1.2.123'
Account id of user buying content, example: '1.2.123'
ElGammal public key which will be used to identify users bought content
Obtains content key with key parts of each seeder to encrypt content to be uploaded.
Array of seeders ids example: ['1.2.12', '1.4.13']
Fetch content object from blockchain for given content id
example: '1.2.345'
Return all purchased content for account id.
example: '1.2.345'
example: '1.2.345'
example: '1.2.345'
example: '1.2.345'
Number of results default = 100
List available seeders ordered by price.
Number of results per request. Default 100(max)
Cancel submitted content record from blockchain.
example: '2.13.1234'
example: '1.2.532'
Restores key to decrypt downloaded content.
ElGamalPrivate contains keys used to identify if user have bought content. May contains older keys, if elGamal keys pair were changed, to restore content bought before keys have been changed. Otherwise content keys would not be restored.
example: '1.2.453'
example: '1.2.453'
Searches content submitted to dcore_js network and is not expired.
Generated using TypeDoc
ContentApi provide methods to communication with content stored in dcore_js network.