Skip to main content

Variables

Variables are used to store a value to reuse in multiple locations while interacting with contract methods.

To add a variable, go to the Variables menu on the sidebar and click on the Add Variable text on the right.

Variables

Add your variable key and value. Then, click Add Variable.

Variables addition

You can now make use of the key while calling contract methods. Just wrap it in double curly braces {{streamId}}

Use variables