import {DefaultSendArgs} from './defaultSendArgs'; /** * The argument object for [[AssetApi.placeAskOrder]] and [[AssetApi.placeBidOrder]] * * @module core */ export interface PlaceOrderArgs extends DefaultSendArgs { /** * The assets id */ assetId: string; /** * The price that is offered for bid/ask */ pricePlanck: string; /** * The amount of assets to ask/bid for */ quantity: string | number; /** * The decimals of the targeted token, as it's required to calculate the correct price for the order. * If it is not passed, the decimals will be fetched from the chain (which includes an additional request) */ decimals?: number; }