# Fiber Network Node RPC The RPC module provides a set of APIs for developers to interact with FNN. Please note that APIs are not stable yet and may change in the future. Allowing arbitrary machines to access the JSON-RPC port (using the `rpc.listening_addr` configuration option) is **dangerous and strongly discouraged**. Please strictly limit the access to only trusted machines. You may refer to the e2e test cases in the `tests/bruno/e2e` directory for examples of how to use the RPC. * [RPC Methods](#rpc-methods) {% for menu in module_menus %} {%- set methods = menu["methods"] %} * [Module {{ menu["title"] }}](#module-{{ menu["name"] }}) {%- for method in methods %} * [Method `{{method}}`](#{{ menu["name"] }}-{{method}}) {%- endfor %} {%- endfor %} * [RPC Types](#rpc-types) {% for menu in type_menus %} * [Type `{{ menu["name"] }}`](#type-{{ menu["link"] }}) {%- endfor %} ## RPC Modules {% for module in modules %} {{module}} {%- endfor %} ## RPC Types {% for ty in types %} ### Type `{{ ty["name"]}}` {{ ty["desc"] }} {% if ty["type"] == "Enum" %} #### Enum with values of {%- else %} #### Fields {%- endif %} {% for field in ty["fields"] %} * `{{ field["name"] }}` - {{ field["type"]}}, {{ field["desc"] }} {%- endfor %} {% endfor %}