Interface RationalRate

A price: micro whole micro-dollars for every per units of unit.

interface RationalRate {
    unit: CreditUnit;
    micro: number;
    per: number;
}

Hierarchy (view full)

Properties

Properties

The unit the rate prices.

micro: number

Micro-dollars for per units: a whole number, zero or more.

per: number

How many units micro buys: a whole number, one or more.