public bool IsAddressOfParentChain(Address address) { if (this.IsRootChain()) { return(false); } var parentName = Nexus.GetParentChainByName(Chain.Name); var target = Nexus.GetChainByAddress(address); return(target.Name == parentName); }
public IChain GetChainByAddress(Address address) { return(Nexus.GetChainByAddress(address)); }