Sends a WebSocket JSON-RPC message to unsubscribe from a previously subscribed transaction result
using the xandeumResultUnsubscribed method (note: custom method, ensure server-side implementation matches).
This function automatically closes the WebSocket connection after sending the unsubscribe request.
Parameters
connection: Connection
The solana web3 connection with Xandeum-compatible JSON-RPC endpoint (e.g., 'https://api.devnet.solana.com').
subscriptionId: string
The ID of the active subscription you want to cancel.
Sends a WebSocket JSON-RPC message to unsubscribe from a previously subscribed transaction result using the
xandeumResultUnsubscribed
method (note: custom method, ensure server-side implementation matches).This function automatically closes the WebSocket connection after sending the unsubscribe request.