Getting Contract Id inside the contract
App Development2 posts195 views3 likesLast activity Jun 2022
FR
FrankieOP
Jun 2022Hi there, Just curious if contract Id can be accessed inside the contract, e.g. I’m writing a choice which creates a new contract. I want to pass the contract Id to the create contract so that the new one can fetch and access the data inside this contract. Is it possible?
CO
cocreature
Jun 2022You can use self to get access to the contract id of the contract.