[SOLVED] Calling contract entrypoints without specifying account information


Is it possible to make calls (only getters, no stateful entrypoints) through a contract instance without specifying account information(public key & secret)?


1 Like

It is possible using the newest version of the js-sdk, manually if you do a dry-run you can specify a random account with your dry run and give it some balance.

It is better to specifying account information, as even only getters, no stateful entrypoints can refer to Call.caller and thus would give incorrect results without account information.