mirror of
https://github.com/corda/corda.git
synced 2025-04-25 13:29:51 +00:00
1.4 KiB
1.4 KiB
API: RPC operations
The node's owner interacts with the node solely via remote procedure
calls (RPC). The node's owner does not have access to the node's
ServiceHub
.
The key RPC operations exposed by the node are:
CordaRPCOps.vaultQueryBy
-
- Extract states from the node's vault based on a query criteria
CordaRPCOps.vaultTrackBy
-
- As above, but also returns an observable of future states matching the query
CordaRPCOps.verifiedTransactions
-
- Extract all transactions from the node's local storage, as well as an observable of all future transactions
CordaRPCOps.networkMapUpdates
-
- A list of network nodes, and an observable of changes to the network map
CordaRPCOps.registeredFlows
-
- See a list of registered flows on the node
CordaRPCOps.startFlowDynamic
-
- Start one of the node's registered flows
CordaRPCOps.startTrackedFlowDynamic
-
- As above, but also returns a progress handle for the flow
CordaRPCOps.nodeIdentity
-
- Returns the node's identity
CordaRPCOps.currentNodeTime
-
- Returns the node's current time
CordaRPCOps.partyFromKey/CordaRPCOps.wellKnownPartyFromX500Name
-
- Retrieves a party on the network based on a public key or X500 name
CordaRPCOps.uploadAttachment
/CordaRPCOps.openAttachment
/CordaRPCOps.attachmentExists
-
- Uploads, opens and checks for the existence of attachments