Data Flow
Creating Flows
You will have to create a flow to interact with the smart contracts. Thanks to the flow, you will be able to specify contract details and input values required for each method. API-Verse provides a variety of nodes, thanks to which you will be able to easily create flows perfectly crafted to your needs.
Nodes
Nodes are the basic building blocks of any workflow. Each node has a dedicated purpose, and combining them into a workflow will allow you to call methods on set contracts. To use a node, simply drag and drop it from the sidebar to the workspace where you want the node to be opened. To connect two nodes together, press one of the connection points on a node and, while holding down the button, drag and drop the connection onto a connection point on another node.
Contract Nodes
Contract nodes are the most important group of all the nodes. You will not be able to interact with smart contracts without them. You will need to use at least one of each contract node and connect them together to call methods.
Address node
This type of node contains a field where you can specify the address of the smart contract you want to interact with.

The address node has two connection points:
- An input point on the left
- An output point on the right You can use these points to connect the address node to other contract nodes.
The input connection point can be used to connect an address node to multiple network nodes, which will help in calling methods on contracts with the same address running on multiple networks.
An output connection point can be used to connect an address node to a network node or a method container node. Connecting a network node to an exit connection point will allow other address nodes to connect to the same network node, helping to call methods on contracts with different addresses on the same network. This will also remove the input connection point, as it will no longer be needed in this case. Connecting the method container node to the exit point will add the selected methods from the loaded ABI to the connection chain, allowing them to be called.
Network node
The network node is a node that contains a list of networks from which you can select the one to which the contract you want to interact with belongs.

The network node has two connection points:
- An input point on the left
- An output point on the right
You can use these points to connect the network node to other contract nodes.
The input connection point can be used to connect a network node to multiple address nodes, which will help in calling methods on contracts with the same network running on multiple addresses.
An output connection point can be used to connect a network node to an address node or a method container node. Connecting an address node to an output connection point will allow other network nodes to connect to the same address node, helping to call methods on contracts with the same address running on different networks. This will also remove the input connection point, as it will no longer be needed in this case. Connecting the method container node to the output point will add the selected methods from the loaded ABI to the connection chain, allowing them to be called.
Method Container node
The method container node is a node to which methods can be added from the loaded ABI. Combining it with a pair of connected address and network nodes will create a connection chain that allows you to call contract methods.

The newly opened method container node will be empty and you will have to first load the ABI to be able to add methods. Then, you can add methods to the method container node by dragging them from the sidebar and dropping them onto the node.
The methods added to the method container node will be grouped as before in the sidebar into the same two groups. Each method will have its name displayed at the top, and below it will be a list of all the input required to call the method. You can remove a method from the container at any time by pressing the "X" icon in the upper right corner of the method you want to remove. You can also collapse each method to hide the input by pressing the arrow icon to the right of the method name.
Method container nodes without open methods will have only one connection point, the input connection point labeled "Contract Data" in the lower left corner of the node. However, most method inputs added to a node will also have their own input connection point. The "Contract Data" point can be used to connect a node to any number of address and/or network nodes. This will add the methods added to the method container node to the connection string, and if the string has at least one from each contract node, it will add the result to the result bar. The input connection points on the method inputs look different from other connection points on the contract nodes and match the connection points on the input and user nodes, indicating that these types of nodes can be connected. This will cause the input text to be replaced with the value on the merged node.