Skip to content

What unit is "current_price" in the order response? #1276

Answered by dangarbri
dangarbri asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out, the unit is Wei, but this is not unit price, it's the full listing price. That was my bad (though some docs on the Order struct would have helped...)
I get 0.0008 when I divide current_price by remaining_quantity

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dangarbri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant