ProjectOpenSea / stream-js

A TypeScript SDK to receive pushed updates from OpenSea over websocket.
https://docs.opensea.io/reference/stream-api-overview
MIT License
165 stars 52 forks source link

.onItemListed always listing price as 1 ETH #374

Closed Chinch-Bug closed 5 months ago

Chinch-Bug commented 5 months ago

I've got the stream SDK running, subscribed to a few different collections. I've noticed that every time an item_listed event comes through, the eth_price is always 1, even if checking the nft listed in the payload on opensea shows that this is nowhere near the actual price the nft is listed for. Is this a bug with the SDK, or is there something I should be doing to filter these out/fix this on my own end?

ryanio commented 5 months ago

eth_price is the price of the token relative to eth, so eth is always 1:1