Get the version of the API
Optional
options: APIVersionOptionalParamsThe options parameters.
Get the Api description
Optional
options: ApiOptionalParamsThe options parameters.
Compile a sophia contract from source and return byte code
contract code
Optional
options: CompileContractOptionalParamsThe options parameters.
Decode the result of contract call
Binary data in Sophia ABI format
Optional
options: DecodeCallResultOptionalParamsThe options parameters.
Decode the result of contract call from Bytecode
Call result + compiled contract
Optional
options: DecodeCallResultBytecodeOptionalParamsThe options parameters.
Identify function name and arguments in Calldata for a compiled contract
Calldata + compiled contract
Optional
options: DecodeCalldataBytecodeOptionalParamsThe options parameters.
Identify function name and arguments in Calldata for a (partial) contract
Calldata + contract (stub) code
Optional
options: DecodeCalldataSourceOptionalParamsThe options parameters.
Decode data as retuned by a contract call. - Legacy decoding
Binary data in Sophia ABI format
Optional
options: DecodeDataOptionalParamsThe options parameters.
Encode Sophia function call according to sophia ABI.
Sophia function call - contract code + function name + arguments
Optional
options: EncodeCalldataOptionalParamsThe options parameters.
Generate an Aeternity Contract Interface (ACI) for contract
contract code
Optional
options: GenerateACIOptionalParamsThe options parameters.
Extract compiler version from bytecode
contract byte array
Optional
options: GetCompilerVersionOptionalParamsThe options parameters.
Get FATE assembler code from bytecode
contract byte array
Optional
options: GetFateAssemblerCodeOptionalParamsThe options parameters.
Verify that an encoded byte array is the result of compiling a given contract
contract byte array and source code
Optional
options: ValidateByteCodeOptionalParamsThe options parameters.
Get the version of the underlying Sophia compiler version
Optional
options: VersionOptionalParamsThe options parameters.
Generated using TypeDoc
Contract Compiler
This class include api call's related to contract compiler functionality.
Example