Skip to main content

Connections

Connections

To call contract methods, you must first create a connection chain consisting of at least one node of each type. After creating such a chain, a new result will appear in the result bar, and with each new unique combination added to the chain, another result will appear. For example, combining two nodes address, network and method container will create two results, and adding another Method Container node to the end of the chain will create two new unique combinations, thus adding two new results.

You can remove a connection at any time. To remove the connection, press it and then click the “X” icon that will appear in the middle of the connection after its section.

When connecting the address and network nodes, you may notice that the connecting line sometimes looks different.

If you see a gray dashed line with a charging indicator in the middle, it means that the connection is being tested to see if the entered address exists on the selected network.

If you see a red dashed line, it means that the connection created is invalid and the entered address does not exist in the selected network.

Calling methods

Once you have created the desired flow and entered all the necessary information, you can call up the contract methods from the results bar at the bottom of the screen.

Each result created will be displayed with the address of the contract and network at the top, and the methods will be grouped into "Read methods" and "Write methods," similar to the sidebar and method container node. Each method will have a name displayed along with all the input data and values entered.

At the bottom of each method is an "Execute" button that you can press to call the method. Suppose you have not connected your cryptocurrency wallet or it is currently running on a network other than the network of the contract on which you want to execute the method. In that case, you will not be able to execute the write methods, as they require gas. The "Execute" button will be grayed out and the network name at the top of the result will be orange. If the address you entered does not exist in the selected network, it will be red and you will not be able to execute any methods.

The results in the result bar are dynamically generated, so you can change the connections and assigned values at any time, which will be automatically updated in the displayed results.

After the method is executed, the results will be displayed under the "Execute" button, in the case of objects, the returned data will be available for viewing in both table and json form.