Network queries

Once connected to a node, there are a number of network queries that can be run via web3j-corda.

To initialise the connection to the node, refer to the section on Connecting to a Corda Node.

  • To query all the nodes connected to the current node:
  • To query nodes with given X500 name:"O=PartyB,L=New York,C=US")[0]
  • To query nodes with given host and port:"party-new-york-us:8080")[0]
  • To query all connected notaries: