@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Interface ExitDataSource

    A source of unilateral-exit chain data for a set of VTXOs. Sources are tried in order by the resolver; a source returns null (chain) or omits keys (psbts) for data it cannot supply — a "miss" — and the resolver falls through.

    interface ExitDataSource {
        name: string;
        getVirtualTxs(txids: string[]): Promise<Map<string, string>>;
        getVtxoChain(vtxo: Outpoint): Promise<ChainTx[] | null>;
    }
    Index

    Properties

    Methods

    Properties

    name: string

    Methods

    • Base64 PSBTs this source has, keyed by (unsigned) txid. Absent key = miss.

      Parameters

      • txids: string[]

      Returns Promise<Map<string, string>>