token-contract icon indicating copy to clipboard operation
token-contract copied to clipboard

"TypeError: api.getContractState is not a function" during deployment of minterController

Open aekiratli opened this issue 1 year ago • 0 comments

? Choose file to use minterController                                                                                                                                                                   
? Which network do you want to use?
? Which network do you want to use? testnet                                                                                                                                                             
? Which wallet are you using?
? Which wallet are you using? Mnemonic                                                                                                                                                                  
Connected to wallet at address: EQCTal7lerfYIw6...2aTvHGKlLw2G9
? Please enter minter address: 0QCTal7l...HGKlLw4fy
TypeError: api.getContractState is not a function                                                                                                                                                       
    at Object.run (C:\Users\aek\Desktop\token-contract\scripts\minterController.ts:128:41)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async run (C:\Users\aek\Desktop\token-contract\node_modules\@ton\blueprint\dist\cli\run.js:20:5)
    at async main (C:\Users\aek\Desktop\token-contract\node_modules\@ton\blueprint\dist\cli\cli.js:94:5)

aekiratli avatar Oct 04 '24 13:10 aekiratli