[SOLVED] Calling contract entrypoints without specifying account information

Hey,

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

Thanks

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.