till_meter
USAGE → BILL for a white-label pilot, split by trust. The settled receipts are ON-CHAIN (each txHash re-verifiable on Base — the PROVABLE basis for receipt charges); the verdict count is SELF-REPORTED (verdicts are advisory reads, not chain artifacts) and labeled as such. The pricing plan is INJECTED (the partner brings their tiers). Pure, stateless, non-custodial (BIII holds no ledger). Returns the provable/self-reported split + itemized charges + total. WINDOW HONESTY: a receipt with no on-chain block time is excluded from a DATED window (its date cannot be proven) and counted in provable.undatedExcluded — a non-zero value means the bill is UNDER-charged by those receipts, so check it before invoicing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | optional pricing plan: {name, monthlyBaseUsd, includedVerdicts, verdictOverageUsd, includedReceipts, receiptOverageUsd}. Defaults to the pilot template ($750/mo, 5000 verdicts, $0.25/verdict, $0.03/receipt). | |
| receipts | Yes | the verified receipt objects (from till_receipt) — the provable on-chain usage | |
| toBlockTime | No | ||
| verdictCount | No | optional — operator-reported number of trust verdicts served this period (advisory, NOT chain-provable) | |
| fromBlockTime | No |