gatelineAPI reference

One sweep marker (sweep.yaml), the sweep's one-entry ledger.

interface SweepMarker {
    at: null | string;
    costUsd: null | number;
    engine: null | string;
    role: string;
    slug: string;
}

Properties

at: null | string
costUsd: null | number

Null while the sweep is open: dispatched and not yet metered.

engine: null | string

The engine process that opened the sweep (<hostname>:<pid>#n, as ledger entries name theirs), or null for a marker written before #502. The seed and the spend report read it to tell a dead sweep from a running one.

role: string
slug: string