author credentials. If co-authors is not filled, this account will receive full payout
if map is not empty, payout will be split - the parameter maps co-authors to basis points split, e.g. author1:9000 (bp), author2:1000 (bp)
URI where the content can be found
list of regional prices
content expiration time
JSON formatted structure containing content information
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Create request to submit content operation.
author of the content. If co-authors is not filled, this account will receive full payout
if map is not empty, payout will be split - the parameter maps co-authors to basis points split, e.g. author1:9000 (bp), author2:1000 (bp)
URI where the content can be found
list of regional prices
content expiration time
JSON formatted structure containing content information
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Create a purchase content operation.
account credentials
uri of the content or object id of the content, 2.13.*
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
a purchase content operation
Create remove content operation. Sets expiration to head block time, so the content cannot be purchased, but remains in database.
content id or uri
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Transfers an amount of one asset to content. Amount is transferred to author and co-authors of the content, if they are specified. Fees are paid by the "from" account.
account credentials
content id
amount to send with asset type
optional unencrypted message
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
a transfer operation
Create request to update content operation. Update parameters are functions that have current values as arguments.
content id or uri
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Search for term in contents (author, title and description).
search term
content owner account name
two letter region code, defined in [Regions]
the application and content type to be filtered, use contentType method
the id of content object to start searching from
ordering field. Available options are defined in SearchContentOrder
maximum number of contents to fetch (must not exceed 100)
the contents found
Generate keys for new content submission.
list of seeder account IDs
generated key and key parts
Get content
uri of the content or object id of the content, 2.13.*
a content if found, ObjectNotFoundError otherwise
Get all content by ids
object id of the content, 2.13.*
the contents
Get a list of accounts holding publishing manager status.
the name of the first account to return. If the named account does not exist, the list will start at the account that comes after lowerbound
the maximum number of accounts to return (max: 100)
a list of publishing managers
Purchase a content.
account credentials
uri of the content or object id of the content, 2.13.*
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
a transaction confirmation
Remove content. Sets expiration to head block time, so the content cannot be purchased, but remains in database.
author credentials
content id or uri
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Transfers an amount of one asset to content. Amount is transferred to author and co-authors of the content, if they are specified. Fees are paid by the "from" account.
account credentials
content id
amount to send with asset type
optional unencrypted message
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
a transaction confirmation
Update content. Update parameters are functions that have current values as arguments.
author credentials
content id or uri
JSON formatted structure containing content information
list of regional prices
if map is not empty, payout will be split - the parameter maps co-authors to basis points split, e.g. author1:9000 (bp), author2:1000 (bp)
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Generated using TypeDoc
Add content.