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

    Interface VirtualCoin

    Virtual output data.

    • Coin
    • VirtualStatus
    interface VirtualCoin {
        arkTxId?: string;
        assets?: Asset[];
        createdAt: Date;
        isSpent?: boolean;
        isUnrolled: boolean;
        script: string;
        settledBy?: string;
        spentBy?: string;
        status: Status;
        txid: string;
        value: number;
        virtualStatus: VirtualStatus;
        vout: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    arkTxId?: string

    Arkade transaction id that created or spent this virtual output, when known.

    assets?: Asset[]

    Assets carried by this virtual output, if any.

    createdAt: Date

    Creation time of the virtual output.

    isSpent?: boolean

    Whether this virtual output is already spent.

    isUnrolled: boolean

    Whether this virtual output has been unrolled to onchain outputs.

    script: string

    The scriptPubKey (hex) locking this virtual output, as returned by the indexer.

    settledBy?: string

    Settlement transaction associated with this virtual output, when known.

    spentBy?: string

    Transaction id that spent this virtual output, when known.

    status: Status

    Onchain output status

    txid: string

    Transaction ID where the output was created

    value: number

    Value of the output in satoshis

    virtualStatus: VirtualStatus

    Virtual output status

    vout: number

    Transaction output index for this output