Function: unsubscribeResult()
3 min
xandeum web3 library v1 12 0 docid\ wxgxpnpidcz6 2b6gh786 xandeum web3 library docid\ l2rwyc57gjg6s93mcecr9 / unsubscriberesult unsubscriberesult ( connection , subscriptionid ) void defined in websocket ts 103 https //github com/xandeum/xandeum web3 js/blob/master/src/websocket ts#l103 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 returns void