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

    Type Alias ExtendedContractVtxo

    ExtendedContractVtxo: ExtendedVirtualCoin & { contractScript: string }

    A ContractVtxo with all taproot annotation fields required.

    Mirrors the ExtendedVirtualCoin / VirtualCoin split:

    • ContractVtxo carries TapLeaves and EncodedVtxoScript as Partial<> because VTXOs fetched raw from the indexer do not yet have taproot data.
    • ExtendedContractVtxo narrows those fields to required, guaranteeing that annotateVtxos has run and the taproot leaves are present.

    Use this type (instead of ContractVtxo) wherever the compiler should enforce that annotation has happened — e.g. saveVtxos and forfeit transaction construction.