Fiber LogoFiber Docs
RPC API Reference

Module `Graph`

Network graph RPC methods

Module Graph

RPC module for graph management.

Method graph_nodes

Get the list of nodes in the network graph.

Params

  • limit - Option<u64>, The maximum number of nodes to return.
  • after - Option<JsonBytes>, The cursor to start returning nodes from.

Returns

  • nodes - Vec<[NodeInfo](#type-nodeinfo)>, The list of nodes.
  • last_cursor - JsonBytes, The last cursor.

Method graph_channels

Get the list of channels in the network graph.

Params

  • limit - Option<u64>, The maximum number of channels to return.
  • after - Option<JsonBytes>, The cursor to start returning channels from.

Returns

  • channels - Vec<[ChannelInfo](#type-channelinfo)>, A list of channels.
  • last_cursor - JsonBytes, The last cursor for pagination.

Fiber AI Assistant

Ask me anything

I can answer questions about Fiber Network using our documentation.

AI answers are based on Fiber documentation