요금GitHub대시보드

Solana

voteUnsubscribe0 크레딧

Cancels an existing voteSubscribe WebSocket subscription.

네트워크: solana

매개변수

이름타입설명
subscriptionintegerSubscription id returned by voteSubscribe.

반환값

타입

boolean

true if the subscription was removed; an error if the subscription id is unknown.

코드 예제

wscat -c wss://holy-burned-sky-solana-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7
> {"jsonrpc":"2.0","id":1,"method":"voteUnsubscribe","params":[0]}