Marketplace

Creates a new Request for storage

post/storage/request/{cid}

Path parameters

cidstring required

Content Identifier as specified at https://github.com/multiformats/cid

Example:QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N

CID of the uploaded data that should be stored

Request body

durationstring required

The duration of the request in seconds as hexadecimal string

rewardstring required

The maximum amount of tokens paid per second per slot to hosts the client is willing to pay

nodesnumber

Minimal number of nodes the content should be stored on

tolerancenumber

Additional number of nodes on top of the nodes property that can be lost before pronouncing the content lost

Response

Returns the Request ID as hexadecimal string

Changes