pub fn get_public_keys(cx: FunctionContext<'_>) -> JsResult<'_, JsArray>
Expand description

Function to get public keys for user from the graph state (getPublicKeys)

Arguments

  • cx - Neon FunctionContext
  • graph_state_id - Unique identifier for the graph state
  • dsnp_user_id - DSNP user id

Returns

  • JsResult<JsArray> - Neon JsArray containing the public keys which is list of DSNPGraphEdge

Errors

  • Throws a Neon error