In the Aptos Move docs, it explains how to interact with a smart contract which has exposed "entry functions".In the hello_blockchain example, set_message is used.
Move modules expose access points, also referred as entry functions. These access points can be called via transactions. The CLI allows for seamless access to these access points. The example Move module hello_blockchain exposes a set_message entry function that takes in a string. This can be called via the CLI:
However, there is no explanation on how to query the get_message function which to my understanding is akin to a read function.
Furthermore, there is no explanation of how to query read/write functions using the Python SDK.
Two questions:
- Is it possible to use the Python SDK to query read/write functions in a Move module?
- How do you define a read function in a Move module?