Skip to content

Amount

What a line item’s cost can be: an estimate, or unpriced.

kind is the stable tag, and exactly one of usd/unpriced is non-null — so a reader who checks either has handled both.

get kind(): string;

"estimated-usd" or "unpriced".

string


get unpriced(): Unpriced | null;

The unpriced half, or null when the line was priced.

Unpriced | null


get usd(): EstimatedUsd | null;

The estimate, or null when there is no published rate.

null rather than a zero — the one arithmetic this module refuses to enable.

EstimatedUsd | null

toString(): string;

string

This page is generated from bindings/microvms-js/index.d.ts by TypeDoc 0.28.20 and typedoc-plugin-markdown 4.13.1, run from site/scripts/gen-reference.mjs on every pnpm run sync, so an edit made here is overwritten by the next run.

To change the page, change the doc comment in the binding’s Rust source, then regenerate the declarations with mise run dts. mise run dts:check fails when the committed file no longer matches the source.