The Manage Offer API doc states the
amount is an integer.
Really??!?! In all the SDKs, the amounts are strings.
Is the doc here wrong?
Note: It's wrong in several places in that doc including other offer APIs and payments APIs
Stellar Stack Exchange is a question and answer site for developers and users of Stellar and the Stellar Distributed Exchange. It only takes a minute to sign up.Sign up to join this community
This page documents the core API which takes integers. You must divide by 10^7 to get the actual numbers. All of the SDKs use strings which are the actual amounts.
So the doc isn't wrong, just a bit confusing to the reader.