ContractId for Template and Interface

wilsonhsu0102
Mon, 10 Jul 2023 15:41:39 +0000
App Development

Hi Team,

Recently discovered that via HTTP JSON API, fetch_by_contract_id on an interface ContractId without providing templateId nor interfaceId would give us the template object. Is this a deterministic behaviour that it will always give us the template object?

Does a template and its interface have the same contractId?

Thanks,

2 posts - 2 participants