Skip to main content

Module spend

Module spend 

Source
Expand description

Shared spend line (§4 — never silently nothing): prefer the plugin’s live spend summary; fall back to the hard cap plus a dashboard pointer when the plugin doesn’t expose spend. Each substrate passes its own provider label, cap, and dashboard URL.

Functions§

fetch
Fetch structured spend for --json envelopes.
line
The line printed after up/down. provider is the substrate label, cap_usd the hard per-provider spend cap, dashboard where the operator confirms spend by hand.