In this quick tutorial, we will cover Working with the List Exported Assets Node. In this tutorial, we will create a flow containing the List Exported Assets Node. Here, we will cover how this node works both in run-time mode and interactive mode.
In interactive mode, the end user clicks on the action button attached to the node, and the Catenis API method is called using the default settings. You are not required to provide any input for nodes that support interactive mode.
In this video we will cover:
Prerequisite
After watching Working with the List Exported Assets Node, feel free to watch the next video, Understanding the List Asset Migrations Node, to further expand your knowledge.
Subscribe to our channel for more Bitcoin Blockchain building videos! https://www.youtube.com/c/BlockchainofThings
Links from this video for easy access:
To sign up for your free account, head to our website www.blockchainofthings.com.
Join our community forum for the quickest response time to all your questions and concerns. This forum is our customer support. https://forum.blockchainofthings.com/
[Music]
Hi, this is Claire for Blockchain of Things.
In this tutorial, we’ll create a flow containing the List Exported Assets Node.
If you don’t know what a List Exported Assets Node is, make sure you check out the previous tutorial,
titled, “Understanding the List Exported Assets Node”.
Okay, let’s start!
Drag-and-drop the List Exported Assets Node into your workspace
and double-click on the node to display the properties slide-out panel.
Select your virtual device and add the node’s configuration information
to each field of the properties slide-out panel.
Then, wire this node, to a Debug Node.
Next, drag-and-drop an Inject Node to the Node-RED workspace.
Wire the Inject Node to the List Exported Assets Node
and double-click the Inject Node
to open its properties slide-out panel.
Select the drop-down payload field.
Choose the JSON type, and select the ellipse button to display a JSON edit box.
Enter the JSON information you wish to pass as input to the Catenis Node.
For example, something like this:
Click the done button.
Then, click the done button again.
Then, click deploy.
Now, let’s test the flow!
Click the button attached to the Inject Node to send
the input from the Inject Node through the flow.
The Debug Sidebar should display the returned JSON object
containing the API call results to the right side of the workspace.
Great job!
Now, clear your workspace, so we can learn how to use this node in Interactive Mode.
First, drag-and-drop the List Exported Assets Node into your workspace.
Double-click it to display its properties slide-out panel.
Select your Catenis Virtual Device and add the node’s configuration
information to each field of the property slide-out panel.
Then wire this node, to a Debug Node.
Click deploy.
Now, let’s test the flow!
Click the button attached to this node to send the default property panel setting
to the Catenis APIs and through the flow.
The Debug Sidebar, should display the returned JSON object
containing the results to the right side of the workspace.
Great work!
Now, you should understand how to use this node in both RunTime Mode and Interactive Mode
[Music]