Function transformTransactionCodecType

  • from Transantion defined in @ckb-lumos/base/lib/api.d.ts

    export interface Transaction {
    cellDeps: CellDep[];
    hash?: Hash;
    headerDeps: Hash[];
    inputs: Input[];
    outputs: Output[];
    outputsData: HexString[];
    version: HexNumber;
    witnesses: HexString[];
    }
    to :
    interface TransactionCodecType {
    raw: {
    version: Uint32LE;
    cellDeps: DeCellDepVec;
    headerDeps: Byte32Vec;
    inputs: CellInputVec;
    outputs: CellOutputVec;
    outputsData: BytesVec;
    };
    witnesses: BytesVec;
    }

    Parameters

    • data: Transaction

      Transantion defined in @ckb-lumos/base/lib/api.d.ts

    Returns TransactionCodecType

    TransactionCodecType

Generated using TypeDoc