#Node-red-contrib-alexandria A node that lets you connect to the SophiaTX blockchain through alexandria nodeJS sdk
npm i node-red-contrib-alexandria --save
-setConnection (url)
-about ()
-send (
{
"appId": "123",
"from": "owner1",
"to": [
"recipient1"
],
"data": "{\"CO2\":\"350ppm\",\"CO\":\"142ppm\"}",
"privateKey": "privatekey1"
}
)
-receive ()
received response example
{
"appId": 123,
"accountName": "owner1",
"searchType": "by_sender",
"start": "2008-09-15T15:53:00",
"count": 10
}