Class SmartContractTransactionsFactory

Use this class to create transactions to deploy, call or upgrade a smart contract.

Constructors

Methods

  • Parameters

    • options: {
          arguments?: any[];
          bytecode: Uint8Array<ArrayBufferLike>;
          gasLimit: bigint;
          isPayable?: boolean;
          isPayableBySmartContract?: boolean;
          isReadable?: boolean;
          isUpgradeable?: boolean;
          nativeTransferAmount?: bigint;
          sender: IAddress;
      }

    Returns Transaction

  • Parameters

    • options: {
          arguments?: any[];
          bytecode: Uint8Array<ArrayBufferLike>;
          contract: IAddress;
          gasLimit: bigint;
          isPayable?: boolean;
          isPayableBySmartContract?: boolean;
          isReadable?: boolean;
          isUpgradeable?: boolean;
          nativeTransferAmount?: bigint;
          sender: IAddress;
      }

    Returns Transaction