Run State and Run Smart Contract Methods 🔗︎
Query Smart Contract State 🔗︎
- Open the smartcontract from the Blockchain.
- Scroll down to the
Get Current State
section, below the IDE window. - In the
Variable Name
box enter the variable or hash you want to query from the smart contract. - If this is a
Hash Variable
then you will need to supply thekey
in thekey(s)
box.- If this is a
normal Variable
then leave this box empty.
- If this is a
- Click the
RUN
button beside theGet Current State
heading.
If there is a value returned from the blockchain then it will be populated in the ... - Current State
box.
Run Smart Contract Methods 🔗︎
- Open the smartcontract from the Blockchain.
- Scroll down the the
Contract Methods
section, below the IDE window. - Find the box with the method you wish to run.
- Enter all of the
values
for the method properties.- The
type
of value required is in brackets next to the name of the argument.
- The
- Click the
RUN
button beside method name. - Select the wallet account that will run this method.
- The wallet account must have TAU to pay the transaction cost
- If a wallet with TAU was selected the
Stamp Limit
box will automatically populate. - Validate:
- Contract Name
- Function (method name)
- All argument values are correct
- Click the
CONFIRM TRANSACTION
button - Click
OK
when the Send Transaction popup appears.