In this quick tutorial, we will cover Working with the Retrieve Asset Info Node in Run Time Mode. Here, we will create a flow containing the Retrieve Asset Info Node in run time mode.
In this video we will cover:
Prerequisite
You are all set to move on to the other videos in this tutorial series.
After watching Working with the Retrieve Asset Info Node in Run-Time Mode, feel free to watch the next video, Working With the Retrieve Asset Info Node in Interactive Mode, 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 Clara for Blockchain of Things.
In this tutorial, we’ll create a flow containing the Retrieve Asset Info Node.
If you don’t know what a Retrieve Asset Info Node is, make sure you check out the previous video
titled “Understanding the Retrieve Asset Info Node”.
Which you can access at this link:
Let’s begin!
Drag a Retrieve Asset Info Node into your workspace.
Double-click it to display its properties, slide-out panel.
On the device drop-down field, choose your Catenis Virtual Device.
Add the node’s configuration information based on your needs to each field.
Wire this node to a Debug Node and open the Debug Sidebar.
Next, drag-and-drop an Inject Node to the Node-RED workspace.
Wire the Inject Node to the Retrieve Asset Info Node.
Then double-click the Inject Node to open its
properties slide-out panel.
Select the drop-down payload field and choose the JSON type.
An ellipse button will appear to the right of the field.
Click it 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 but using your own asset ID.
Click the done button.
Then click the done button again to exit the properties dialog box.
Click the deploy button to deploy the flow.
Now, let’s test the flow!
Click the button on the left of the Inject Node to send
the input from the Inject Node through the flow.
The debug sidebar should now display the returned JSON object
containing the API call results to the right side of the workspace.
Great work!
Now, that you know how to create a flow
using the Retrieve Asset Info Node in RunTime Mode,
it’s time to move on to our next tutorial.
Where you’ll learn how to use this node in Interactive Mode.
[Music]