compile
Algorand TypeScript / index / compile
Call Signature
Section titled “Call Signature”compile(
contract,options?):CompiledContract
Defined in: compiled.ts:107
Compile a contract and return the resulting byte code for approval and clear state programs.
Parameters
Section titled “Parameters”contract
Section titled “contract”The contract class to compile
options?
Section titled “options?”Options for compiling the contract
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”compile(
logicSig,options?):CompiledLogicSig
Defined in: compiled.ts:113
Compile a logic signature and return an account ready for signing transactions.
Parameters
Section titled “Parameters”logicSig
Section titled “logicSig”The logic sig class to compile
options?
Section titled “options?”Options for compiling the logic sig