Skip to Content

@cfxdevkit/compiler


@cfxdevkit/compiler / getSolcVersion

Function: getSolcVersion()

getSolcVersion(): string

Defined in: compiler/solidity-compiler.ts:143

Return the bundled solc version string.

Returns

string

Example

`"0.8.28+commit.7893614a.Emscripten.clang"`