> For the complete documentation index, see [llms.txt](/llms.txt).

# `getNetwork`

Returns the network this node serves, including the passphrase required to sign transactions. This method uses [160 credits](/get-started/pricing/) from your daily balance.

## Parameters[​](#parameters "Direct link to Parameters")

None

## Returns[​](#returns "Direct link to Returns")

`result`: (object) - Network configuration.

- `passphrase`: (string) - Network passphrase configured for this node.
- `protocolVersion`: (integer) - Stellar Core protocol version of the latest ledger.
- `friendbotUrl`: (string) _[optional]_ - URL of this network's Friendbot faucet. Present on Testnet. Mainnet does not provide Friendbot.

### Request[​](#request "Direct link to Request")

- curl

```
curl https://stellar-mainnet.infura.io/v3/<YOUR-API-KEY> \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "getNetwork"}'

```

### Response[​](#response "Direct link to Response")

- JSON

```
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "passphrase": "Public Global Stellar Network ; September 2015",
    "protocolVersion": 29
  }
}

```
