Open npomfret opened 4 years ago
@martin-nginio
Hi @npomfret
Many thanks for spending time to upgrade BTC Markets' API version in ccxt project.
Please note our API v3 will always return amounts in String format and so no scaling will be applied to amounts (e.g. deposit amount, order volume, etc) . However API v2/v1 scale numbers with 10^8 so I'd encourage to use the latest API version (v3) for consistency.
Thanks.
Regards, Martin
It seems that sometimes amounts in transfers are scaled (eg ETH & BTC), and sometimes they are not (eg XRP). Is there any metadata available that I can use to determine if amounts need to be scaled or not?
See: https://github.com/ccxt/ccxt/issues/7413