wc_ping_session
The wc_ping_session
pings the bridge server to check if specific WalletConnect session is responsive.
For details on a full list of active WalletConnect sessions, use the wc_get_sessions method.
Structure | Type | Description |
---|---|---|
with_pairing_topic | bool | Defaults to false . If true , allows using the pairing_topic hex string in the topic param to fetch session details. If false , expects topic param to be the session topic hex string. |
Structure | Type | Description |
---|---|---|
session | object | A standard WcSession object. |
POST
wc_ping_session{
"method": "wc_ping_session",
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"params": {
"topic": "008bb50bc495f768d74d1a0c558fc3ca32ef35f5c507790ea27d01983421ed95"
}
}
Both of the above queries return the same result.