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
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
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.