/net_info

Get network info.

Parameters:

None

Example:

// Request
curl -X GET -H 'Content-Type: application/json'  https://cosmos.blockpi.network/rpc/v1/<your-api-key>/net_info

// Result
{
    "jsonrpc": "2.0",
    "id": -1,
    "result": {
        "listening": true,
        "listeners": [
            "Listener(@)"
        ],
        "n_peers": "10",
        "peers": [
            {
                "node_info": {
                    "protocol_version": {
                        "p2p": "8",
                        "block": "11",
                        "app": "0"
                    },
                    "id": "72829b78b38408b03793ed389b9f16596b82c306",
                    "listen_addr": "tcp://146.59.81.92:26656",
                    "network": "cosmoshub-4",
                    "version": "v0.34.24",
                    "channels": "40202122233038606100",
                    "moniker": "chorus_sentry35",
                    "other": {
                        "tx_index": "on",
                        "rpc_address": "tcp://0.0.0.0:26657"
                    }
                },
                "is_outbound": true,
                "connection_status": {
                    "Duration": "295419355069983",
                    "SendMonitor": {
                        "Start": "2023-02-18T20:51:25.5Z",
                        "Bytes": "4523001219",
                        "Samples": "873581",
                        "InstRate": "10710",
                        "CurRate": "2646",
                        "AvgRate": "15310",
                        "PeakRate": "1917500",
                        "BytesRem": "0",
                        "Duration": "295419280000000",
                        "Idle": "20000000",
                        "TimeRem": "0",
                        "Progress": 0,
                        "Active": true
                    },
                    "RecvMonitor": {
                        "Start": "2023-02-18T20:51:25.5Z",
                        "Bytes": "6327573228",
                        "Samples": "846748",
                        "InstRate": "90980",
                        "CurRate": "31557",
                        "AvgRate": "21419",
                        "PeakRate": "2966960",
                        "BytesRem": "0",
                        "Duration": "295419340000000",
                        "Idle": "20000000",
                        "TimeRem": "0",
                        "Progress": 0,
                        "Active": true
                    },
                    "Channels": [
                        {
                            "ID": 48,
                            "SendQueueCapacity": "1",
                            "SendQueueSize": "0",
                            "Priority": "5",
                            "RecentlySent": "84960"
                        },
                        {
                            "ID": 64,
                            "SendQueueCapacity": "1000",
                            "SendQueueSize": "0",
                            "Priority": "5",
                            "RecentlySent": "0"
                        },
                        {
                            "ID": 32,
                            "SendQueueCapacity": "100",
                            "SendQueueSize": "0",
                            "Priority": "6",
                            "RecentlySent": "9559"
                        },
                        {
                            "ID": 33,
                            "SendQueueCapacity": "100",
                            "SendQueueSize": "0",
                            "Priority": "10",
                            "RecentlySent": "45881"
                        },
                        {
                            "ID": 34,
                            "SendQueueCapacity": "100",
                            "SendQueueSize": "0",
                            "Priority": "7",
                            "RecentlySent": "57638"
                        },
                        {
                            "ID": 35,
                            "SendQueueCapacity": "2",
                            "SendQueueSize": "0",
                            "Priority": "1",
                            "RecentlySent": "9"
                        },
                        {
                            "ID": 56,
                            "SendQueueCapacity": "1",
                            "SendQueueSize": "0",
                            "Priority": "6",
                            "RecentlySent": "0"
                        },
                        {
                            "ID": 96,
                            "SendQueueCapacity": "10",
                            "SendQueueSize": "0",
                            "Priority": "5",
                            "RecentlySent": "0"
                        },
                        {
                            "ID": 97,
                            "SendQueueCapacity": "10",
                            "SendQueueSize": "0",
                            "Priority": "3",
                            "RecentlySent": "0"
                        },
                        {
                            "ID": 0,
                            "SendQueueCapacity": "10",
                            "SendQueueSize": "0",
                            "Priority": "1",
                            "RecentlySent": "0"
                        }
                    ]
                },
                "remote_ip": "146.59.81.92"
            },
            {
                "node_info": {
                    "protocol_version": {