parseLots
parseLots(
spec):bigint[]
Offer-sized lots for bootstrapWallet (LOTS): "200x4,500" is four 200-NIGHT lots and
one of 500, in base units; at most 1000. Anything else throws (a bad count would
otherwise be NaN, which is no lot at all, or a huge one, which is out of memory).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
spec |
string |
Returns
Section titled “Returns”bigint[]