Function coreledger_backend::mng_contract_version
pub fn mng_contract_version(contract_id: ContractId) -> String
Expand description
Returns the version of the contract.
§Parameters
contract_id
: Target contract id.
§Result
The version of the contract.
§Sample request
CONTRACT_ID=1_376_994_832_725_996_537_612_682_825_051_864_610_558_585_037_795
dfx canister call coreledger_backend mng_contract_version "($CONTRACT_ID)"
§Sample response
("0.1.0")