---
updatedAt: 2025-03-17T22:08:37.000Z
agentTools:
  projectIndex: https://docs.infstones.com/llms.txt
---

# getconnectioncount

Gets the current connection count of the node.

# Parameters

None

# Result

The current number of connections for the node.

# Example

**Request**

```curl
curl <your-endpoint> \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{"jsonrpc": "2.0", "method": "getconnectioncount", "params":[],"id": 1}'
```

**Return**

```
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": 37
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "neo",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://api.infstones.com/neo/mainnet"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/{project_id}": {
      "post": {
        "summary": "sendmany",
        "description": "Initiates multiple transfers to multiple addresses in a transaction.",
        "operationId": "neo-wallet-sendmany",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "schema": {
              "type": "string",
              "default": "f98d19a38a6b437ea6c77b8e68e59119"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "RAW_BODY": {
                    "type": "string",
                    "default": "{\"jsonrpc\": \"2.0\",\"id\": 1,\"method\": \"sendmany\",\"params\": [\"NSk8xEBm3FNAFDueUf21cMugkWidJn5N1n\",[{\"asset\": \"0xd2a4cff31913016155e38e474a2c06d08be276cf\",\"value\": 100,\"address\": \"NUkaNyPbML2QYfxK99WqZYpR8rR4CyUoth\"},{\"asset\": \"0xd2a4cff31913016155e38e474a2c06d08be276cf\",\"value\": 200,\"address\": \"NbEsLzt9J1eMw5mbuStYBSwMfPBuWDx9DL\"}]]}"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```