Peer Connection Healthcheck
API-v2peer_connection_healthcheck
The peer_connection_healthcheck
method checks if a peer is connected to the KDF network using the currently configured netid
.
Parameter | Type | Required | Description |
---|---|---|---|
peer_address | string | ✓ | The peer address to check for connectivity |
Parameter | Type | Description |
---|---|---|
result | boolean | True if peer found connected to network |
Peer Connection Healthcheck
POST
peer_connection_healthcheck{
"userpass": "RPC_UserP@SSW0RD",
"method": "peer_connection_healthcheck",
"mmrpc": "2.0",
"params": {
"peer_address": "12D3KooWCcjBQ3kG3BzjVwuZqGDL2YxXik6SCDv2YAHj4E54NiAy"
}
}