Skip to content

Get price of upload

GET
/price/{bytes}

Get the current price of data upload using the Liteseed Network. It returns the price of upload in wei and the address to pay.

Parameters

Path Parameters

bytes
required
integer
>= 1 <= 2147483647

Size of Data

Responses

200

OK

object
address
string format: string
Cbj95zDZBBhmyht6iFlEf7xmSCSVZGw436V6HWmm9Ek
price
string format: string
1000000000000

400

Bad Request

object
code
integer format: integer
message
string format: string

424

Failed Dependency

object
code
integer format: integer
message
string format: string

500

Internal Server Error

object
code
integer format: integer
message
string format: string