You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method belongs to TonClient4 from ton/ton, which operates on top of the light server. In our case, instead of TonClient4, we use @ton-api/client (which this adapter is based on), which has the getAccount method that returns information about an account, including its status.
Here is an example of how you can obtain the desired value:
Thus, instead of isContractDeployed, you can use the account status check via the getAccount method. If the account status is not 'nonexist' and not 'uninit', then the contract is deployed.
If you have any additional questions or need further assistance, please let us know!
Additional Information:
Ensure you are using the latest version of @ton-api/client to have access to all current methods and improvements. We also recommend reviewing the api documentation for more detailed information on working with accounts and contracts.
provider.isContractDeployed is not a function
The text was updated successfully, but these errors were encountered: