> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# isConnected

Wallet Gateway

›

[Sync dApp API](https://docs.canton.network/reference/wallet-gateway-json-rpc/specs/dapp-api.md)

›

isConnected

Sync dApp API

# isConnected

JSON-RPC

[Added 0.26.0](#history-added-0-26-0)

POST

`JSON-RPC isConnected`

## Protocol Details

Protocol
JSON-RPC

Transport
HTTP POST

Method
isConnected

Parameters
0

Result
object

## Inputs

## Outputs

### result

Shape
object

Schema
ConnectResult

Required
isConnected, isNetworkConnected

`isConnected`
string

required

`isNetworkConnected`
string

required

## Related Schemas

> [accordion] ConnectResult
>
> `isConnected`
> string
>
> required
>
> `isNetworkConnected`
> string
>
> required

## History

Added
`0.26.0`

cURL

```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl \
  <JSON_RPC_URL> \
  -H 'content-type: application/json' \
  --data @- <<'EOF'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "isConnected"
}
EOF
```

Result

application/json

```json Result theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "isConnected": "<boolean>",
  "isNetworkConnected": "<boolean>"
}
```
