wc_get_session
The wc_get_session
method returns details for a specific WalletConnect session.
For details on a full list of active WalletConnect sessions, use the wc_get_sessions method instead.
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. |
topic | string | An active session topic (or pairing topic) hex string. |
Structure | Type | Description |
---|---|---|
session | object | A standard WcSession object. |
POST
wc_get_session{
"method": "wc_get_session",
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"params": {
"with_pairing_topic": true,
"topic": "efe5d00ff97750d40e96f0e794cc10106245da8b98091af69d2d42faa94efcd5"
}
}