wc_delete_session
The wc_delete_session
method closes the specified WalletConnect session.
For details on a full list of active WalletConnect sessions, use the wc_get_sessions method.
Structure | Type | Description |
---|---|---|
topic | string | An active session topic (or pairing topic) hex string. |
Structure | Type | Description |
---|---|---|
session | object | A standard WcSession object. |
POST
wc_delete_session{
"method": "wc_delete_session",
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"params": {
"with_pairing_topic": false,
"topic": "008bb50bc495f768d74d1a0c558fc3ca32ef35f5c507790ea27d01983421ed95"
}
}
Both of the above queries return the same result.