5

I wish to retrieve info from a KT1 address so I know which entrypoints are available for consuming and which are their parameters and types. How can I achieve this? Thanks in advance.

2 Answers 2

3

The SmartPy contract explorer allows you to see all the entry point of a given contract in any of the networks (main and test) along with autogenerated forms to interact with all those entrypoints.

Example:

https://smartpy.io/test2/explore.html?address=KT1APXAZKofAtPsxFKPLbjMJohe1rXaGJoYc

3

To find all the entrypoints and their types using tezos-client you can use the following command:

tezos-client get contract entrypoints for <src>

To check a specific entrypoint you can also use:

tezos-client  get contract entrypoint type of <entrypoint> for <src>

You can find more about available commands in the official documentation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.