pub fn mng_contract_name(contract_id: ContractId) -> String
Expand description

Returns the name of the contract.

§Parameters

  • contract_id: Target contract id.

§Result

The name 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_name "($CONTRACT_ID)"

§Sample response

("INT_0.1.0")