Marketplace

Offers storage for sale

post/sales/availability

Request body

idstring

32bits identifier encoded in hex-decimal string.

totalSizestring required

Total size of availability's storage in bytes as decimal string

durationstring required

The duration of the request in seconds as decimal string

minPricestring required

Minimal price paid (in amount of tokens) for the whole hosted request's slot for the request's duration as decimal string

maxCollateralstring required

Maximum collateral user is willing to pay per filled Slot (in amount of tokens) as decimal string

Example request

{
  "id": "0x..."
}

Response

Created storage availability

idstring

32bits identifier encoded in hex-decimal string.

totalSizestring

Total size of availability's storage in bytes as decimal string

durationstring

The duration of the request in seconds as decimal string

minPricestring

Minimal price paid (in amount of tokens) for the whole hosted request's slot for the request's duration as decimal string

maxCollateralstring

Maximum collateral user is willing to pay per filled Slot (in amount of tokens) as decimal string

freeSizestring

Unused size of availability's storage in bytes as decimal string

Example response

{
  "id": "0x..."
}

Changes