@cfxlabsinc/b2b-services
    Preparing search index...

    A Bitcoin transaction from the UTXO history or GET /v3/bitcoin/transaction/{hash}.

    type TatumUtxoTransaction = {
        block?: string;
        blockNumber?: number;
        fee: number;
        hash: string;
        hex?: string;
        index: number;
        inputs: {
            coin?: {
                address: string | null;
                coinbase?: boolean;
                height?: number;
                reqSigs?: number | null;
                script?: string;
                type?: string;
                value: number | string;
                version?: number;
            };
            prevout: { hash: string; index: number };
            script?: string;
            sequence?: number;
        }[];
        locktime?: number;
        outputs: {
            address: string
            | null;
            script?: string;
            scriptPubKey?: { reqSigs?: number | null; type: string };
            value: number | string;
        }[];
        size?: number;
        time: number;
        version?: number;
        vsize?: number;
        weight?: number;
        witnessHash?: string;
    }
    Index
    block?: string
    blockNumber?: number

    Absent while the transaction is in the mempool.

    fee: number

    Satoshis.

    hash: string
    hex?: string
    index: number
    inputs: {
        coin?: {
            address: string | null;
            coinbase?: boolean;
            height?: number;
            reqSigs?: number | null;
            script?: string;
            type?: string;
            value: number | string;
            version?: number;
        };
        prevout: { hash: string; index: number };
        script?: string;
        sequence?: number;
    }[]

    Type Declaration

    • Optionalcoin?: {
          address: string | null;
          coinbase?: boolean;
          height?: number;
          reqSigs?: number | null;
          script?: string;
          type?: string;
          value: number | string;
          version?: number;
      }

      The spent output; absent on a coinbase input.

      • address: string | null
      • Optionalcoinbase?: boolean
      • Optionalheight?: number
      • OptionalreqSigs?: number | null
      • Optionalscript?: string
      • Optionaltype?: string
      • value: number | string

        Satoshis.

      • Optionalversion?: number
    • prevout: { hash: string; index: number }
    • Optionalscript?: string
    • Optionalsequence?: number
    locktime?: number
    outputs: {
        address: string | null;
        script?: string;
        scriptPubKey?: { reqSigs?: number | null; type: string };
        value: number | string;
    }[]

    Type Declaration

    • address: string | null

      Null for an output with no address, such as OP_RETURN.

    • Optionalscript?: string
    • OptionalscriptPubKey?: { reqSigs?: number | null; type: string }
    • value: number | string

      Satoshis.

    size?: number
    time: number

    Block time, Unix seconds.

    version?: number
    vsize?: number
    weight?: number
    witnessHash?: string