Interface AssetOrder

Asset Order

interface AssetOrder {
    account: string;
    accountRS: string;
    asset: string;
    height: number;
    order: string;
    price: string;
    priceNQT: string;
    quantityQNT: string;
    type: "bid" | "ask";
}

Properties

account: string
accountRS: string
asset: string
height: number
order: string
price: string

The price per integral token, i.e. if a token has 2 (two) decimals, then this amount is per 100 QNT (Quantity). The amount is always returned in Planck, that is Signa multiplied by 10E8

priceNQT: string

The price in planck per one token quantity. To get the right Planck expression use either price field or this formula: (priceNQT * 10^8) * 10^(decimals-8)

quantityQNT: string
type: "bid" | "ask"