Skip to main content

Module state

Module state 

Source
Expand description

State inspection endpoints.

  • GET /state - Get node state with optional JSONPath filter
  • POST /state - Get node state with JSONPath filter in body
  • GET /state/peers - Get connected peers
  • GET /state/message-progress - Get message progress

The JSONPath filter implementation is in impl mina_node::rpc_effectful::RpcService for NodeService.

Structsยง

StateQueryParams ๐Ÿ”’

Functionsยง

message_progress ๐Ÿ”’
Message progress
peers ๐Ÿ”’
Connected peers
routes
State routes
state_get ๐Ÿ”’
Node state with optional JSONPath filter (query param)
state_handler ๐Ÿ”’
Shared handler for state requests
state_post ๐Ÿ”’
Node state with JSONPath filter in body