You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should include a new formatted key on the Order which should be set to false by default.
Base Units by Default:
// Native/Base UnitsconstsellOrders=awaitapi.placeOrder({'asset': {'id': 31566704,'decimals': 6,},'address': 'WYWRYK42XADLY3O62N52BOLT27DMPRA3WNBT2OBRT65N6OEZQWD4OSH6PI','price': 2370001,// Price in ALGO Base Units, 'amount': 100000,// Amount in Asset Units'execution': 'taker','type': 'sell',});
Formatted Units
// Formatted ValuesconstsellOrders=awaitapi.placeOrder({'asset': {'id': 31566704,'decimals': 6,},'address': 'WYWRYK42XADLY3O62N52BOLT27DMPRA3WNBT2OBRT65N6OEZQWD4OSH6PI','formatted': true,// Flag for using Formatted Values'price': 2.370001,// Price in ALGO Base Units, 'amount': 0.1,// Amount in Asset Units'execution': 'taker','type': 'sell',});
ℹ Overview
This should include a new
formatted
key on theOrder
which should be set tofalse
by default.Base Units by Default:
Formatted Units
📝 Related Issues
The text was updated successfully, but these errors were encountered: