ドキュメント
料金GitHubダッシュボード

Ethereum Classic

eth_unsubscribe0クレジット

WebSocket サブスクリプションをキャンセルします。

ネットワーク: etc

パラメータ

名前型説明
subscriptionIdstringeth_subscribe が返したサブスクリプションID。

戻り値

型

boolean

サブスクリプションをキャンセルできた場合は true。

コード例

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