Protocol Kit Reference
Safe Configuration
getContractVersion

getContractVersion

Returns the contract version of the connected Safe.

Usage


_10
import { protocolKit } from './setup.ts'
_10
_10
const contractVersion = protocolKit.getContractVersion()

Returns

SafeVersion (opens in a new tab)

The Safe contract version.

Was this page helpful?