deprecated
[2022-11-04][V1] Change response field types to string
about 2 years ago by Perry
IMPORTANT
Starting from November 19 (2 weeks from now), we will change some of the properties field types from number to string in the response object.
Please action any change required as soon as possible.
What are the changes?
In an effort to standardize the data format in LooksRare API, we made the decision to change some of the properties field types in the response object from number to string, as shown below.
You should review and action any required change as soon as possible.
Affected endpoints and properties (type change from number to string):
-
[GET] /tokens
Affected fields:data.attributes[].count
data.attributes[].floorOrder.amount
-
[GET] /collections/stats
Affected fieldsdata.countOwners
data.totalSupply
data.floorChange24h
data.floorChange7d
data.floorChange30d
data.count24h
data.change24h
data.count7d
data.change7d
data.count1m
data.change1m
data.count3m
data.change3m
data.count6m
data.change6m
data.count1y
data.change1y
data.countAll
-
data.amount
-
[GET] /events
Affected fields:data.order.amount
Example
Check out the response difference for [GET] /collection/stats
endpoint