<p>After looking into the code and running some tests I think I've found the answers:</p>

<ul>
<li><strong>avg_out_degree</strong> is the average channels per node. In other words, total channels / total nodes = avg_out_degree. <a href="https://github.com/lightningnetwork/lnd/blob/4f91b66c51d0c8e06d3a74579b9c8d26c512ea8e/rpcserver.go#L2677" rel="nofollow noreferrer">source</a></li>
<li><strong>max_out_degree</strong> is the maximum channels (sum of incoming and outgoing) found on a node in the network. This can be found by iterating through every node and summing their incoming/outgoing channels to find the maximum. <a href="https://github.com/lightningnetwork/lnd/blob/4f91b66c51d0c8e06d3a74579b9c8d26c512ea8e/rpcserver.go#L2677" rel="nofollow noreferrer">source</a></li>
<li><strong>time_lock_delta</strong>: the required timelock delta for HTLCs forwarded over the channel. <a href="https://github.com/lightningnetwork/lnd/blob/e7530787412fb7ffc40bf43e464f3936a9f3c24f/lnrpc/rpc.swagger.json#L1832" rel="nofollow noreferrer">source</a></li>
<li><strong>min_htlc</strong>: the minimum value in millisatoshi required for incoming HTLCs on the channel. <a href="https://github.com/lightningnetwork/lnd/blob/e7530787412fb7ffc40bf43e464f3936a9f3c24f/lnrpc/rpc.swagger.json#L1596" rel="nofollow noreferrer">source</a></li>
<li><strong>fee_base_msat</strong>: the base fee charged regardless of the number of milli-satoshis sent. <a href="https://github.com/lightningnetwork/lnd/blob/e7530787412fb7ffc40bf43e464f3936a9f3c24f/lnrpc/rpc.swagger.json#L1822" rel="nofollow noreferrer">source</a></li>
<li><strong>fee_rate_milli_msat</strong>: the effective fee rate in milli-satoshis. The precision of this value goes up to 6 decimal places, so 1e-6. <a href="https://github.com/lightningnetwork/lnd/blob/e7530787412fb7ffc40bf43e464f3936a9f3c24f/lnrpc/rpc.swagger.json#L1827" rel="nofollow noreferrer">source</a></li>
</ul>

CC BY-SA 3.0
2018-01-26T19:49:59.233Z
2018-01-26T19:49:59.233Z
Edward Kerstein
<p>The LND API documentation is <a href="http://api.lightning.community" rel="nofollow noreferrer">here</a>, but doesn't contain much information about what the responses to various calls mean. Can anyone explain what these responses are describing?</p>

<p><strong>describegraph['edges']</strong></p>

<p><em>I understand this to be channel data, but not sure exactly what it's describing.</em></p>

<ul>
<li>"time_lock_delta": 14,</li>
<li>"min_htlc": "0",</li>
<li>"fee_base_msat": "546000"</li>
<li>"fee_rate_milli_msat": "10"</li>
</ul>

<p><strong>getnetworkinfo</strong></p>

<ul>
<li>"avg_out_degree": 2.841628959276018</li>
<li>"max_out_degree": 102</li>
</ul>

<json-rpc><lightning-network><lightning-network-daemon>
LND describegraph and getnetworkinfo RPC response
Edward Kerstein
# LND describegraph and getnetworkinfo RPC response

(Asked by: username_0 on 2018-01-25)

The LND API documentation is [here](http://api.lightning.community), but doesn't contain much information about what the responses to various calls mean. Can anyone explain what these responses are describing?

**describegraph['edges']**

*I understand this to be channel data, but not sure exactly what it's describing.*

* "time\_lock\_delta": 14,
* "min\_htlc": "0",
* "fee\_base\_msat": "546000"
* "fee\_rate\_milli\_msat": "10"

**getnetworkinfo**

* "avg\_out\_degree": 2.841628959276018
* "max\_out\_degree": 102

**Tags:** json-rpc, lightning-network, lightning-network-daemon


---

## 1 answers

### Answer by username_0 on 2018-01-26. Score: 0

After looking into the code and running some tests I think I've found the answers:

* **avg\_out\_degree** is the average channels per node. In other words, total channels / total nodes = avg\_out\_degree. [source](https://github.com/lightningnetwork/lnd/blob/4f91b66c51d0c8e06d3a74579b9c8d26c512ea8e/rpcserver.go#L2677)
* **max\_out\_degree** is the maximum channels (sum of incoming and outgoing) found on a node in the network. This can be found by iterating through every node and summing their incoming/outgoing channels to find the maximum. [source](https://github.com/lightningnetwork/lnd/blob/4f91b66c51d0c8e06d3a74579b9c8d26c512ea8e/rpcserver.go#L2677)
* **time\_lock\_delta**: the required timelock delta for HTLCs forwarded over the channel. [source](https://github.com/lightningnetwork/lnd/blob/e7530787412fb7ffc40bf43e464f3936a9f3c24f/lnrpc/rpc.swagger.json#L1832)
* **min\_htlc**: the minimum value in millisatoshi required for incoming HTLCs on the channel. [source](https://github.com/lightningnetwork/lnd/blob/e7530787412fb7ffc40bf43e464f3936a9f3c24f/lnrpc/rpc.swagger.json#L1596)
* **fee\_base\_msat**: the base fee charged regardless of the number of milli-satoshis sent. [source](https://github.com/lightningnetwork/lnd/blob/e7530787412fb7ffc40bf43e464f3936a9f3c24f/lnrpc/rpc.swagger.json#L1822)
* **fee\_rate\_milli\_msat**: the effective fee rate in milli-satoshis. The precision of this value goes up to 6 decimal places, so 1e-6. [source](https://github.com/lightningnetwork/lnd/blob/e7530787412fb7ffc40bf43e464f3936a9f3c24f/lnrpc/rpc.swagger.json#L1827)


---

