BACK API

8.
G

Get peers: Counterparty nodes (read)- Data source API

Overview

This API is used to fetch all the peer nodes.

Input

No input values

Output

List of Data Sources and Last Updated value in the following format:

"DataSources" :
"Id": ID value
"Rows": List of rows
"NewRows": List of new rows
"DeletedRows": List of deleted rows
"LastUpdated": Last updated string value

Example Response

{
"dataSources" : [ {
"newRows" : [ ],
"rows" : [ [ "Node1", "Bank2" ], [ "Node2", "Regulator" ], [ "Node3", "Party2" ] ],
"deletedRows" : [ ],
"id" : "BankTokenId"
} ],
"lastUpdated" : "2019-01-29T03:42:14.746Z"
}