Function cloneAuthenticationProgramCommon

  • Type Parameters

    Parameters

    Returns {
        inputIndex: number;
        sourceOutputs: {
            lockingBytecode: Uint8Array;
            token?: {
                amount: bigint;
                category: Uint8Array;
                nft?: {
                    capability: "none" | "mutable" | "minting";
                    commitment: Uint8Array;
                };
            };
            valueSatoshis: bigint;
        }[];
        transaction: {
            inputs: {
                outpointIndex: number;
                outpointTransactionHash: Uint8Array;
                sequenceNumber: number;
                unlockingBytecode: Uint8Array;
            }[];
            locktime: number;
            outputs: {
                lockingBytecode: Uint8Array;
                token?: {
                    amount: bigint;
                    category: Uint8Array;
                    nft?: {
                        capability: "none" | "mutable" | "minting";
                        commitment: Uint8Array;
                    };
                };
                valueSatoshis: bigint;
            }[];
            version: number;
        };
    }

    • inputIndex: number
    • sourceOutputs: {
          lockingBytecode: Uint8Array;
          token?: {
              amount: bigint;
              category: Uint8Array;
              nft?: {
                  capability: "none" | "mutable" | "minting";
                  commitment: Uint8Array;
              };
          };
          valueSatoshis: bigint;
      }[]
    • transaction: {
          inputs: {
              outpointIndex: number;
              outpointTransactionHash: Uint8Array;
              sequenceNumber: number;
              unlockingBytecode: Uint8Array;
          }[];
          locktime: number;
          outputs: {
              lockingBytecode: Uint8Array;
              token?: {
                  amount: bigint;
                  category: Uint8Array;
                  nft?: {
                      capability: "none" | "mutable" | "minting";
                      commitment: Uint8Array;
                  };
              };
              valueSatoshis: bigint;
          }[];
          version: number;
      }
      • inputs: {
            outpointIndex: number;
            outpointTransactionHash: Uint8Array;
            sequenceNumber: number;
            unlockingBytecode: Uint8Array;
        }[]
      • locktime: number
      • outputs: {
            lockingBytecode: Uint8Array;
            token?: {
                amount: bigint;
                category: Uint8Array;
                nft?: {
                    capability: "none" | "mutable" | "minting";
                    commitment: Uint8Array;
                };
            };
            valueSatoshis: bigint;
        }[]
      • version: number

    Deprecated

    use structuredClone instead

Generated using TypeDoc