-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement an api endpoint to allow read only calls to smart contract #701
Comments
Isn't the objective of the block API? |
IDK. What is this ? |
Not a question for you @Elli610 😅 sorry. Will handle this and come back to you, no worries :) |
Nope. here we want the equivalent of the node api endpoint execute_read_only_bytecode. |
related to #1269 because we are adding a function to do the read only call. This issue can benefit from the presence of that function to just add the endpoint and plug to that function. |
Should we close this issue then ? |
no, we have now the functions to estimate gas for a callsc and execute sc, we need to add endpoints to expose those functions (if it's a need). something like:
|
we have another PR to merge |
Allowing read-only calls on smart contracts is essential. This allows users to read public values present in contracts without having to pay for a transaction since these operations do not modify the state of the blockchain.
cc @SlnPons @gregLibert
The text was updated successfully, but these errors were encountered: